Just started see this recently after running this command:
jt -t oceans16 -f roboto -fs 12 -cellw 100%
in my Docker...
pip install lesscpy
fixed this for me
@vgoklani can you try running pip install --upgrade jupyterthemes to see if the issue is fixed?
Installed from scratch today in an empty environment, using pip install --upgrade jupyterthemes. It appears the stylefix.py file has a dependency on the python LESS compiler lesscpy. Fixed by running pip install lesscpy as said by @ahmedanis03
Sure, but the dependencies should be handled directly by the pip install jupyter-themes and requirements.txt. Otherwise we could have chaos if we had to manage all the dependencies externally.
Sent from my iPhone
On Jul 18, 2017, at 7:50 PM, Maxwell Smtih notifications@github.com wrote:
Installed from scratch today in an empty environment, using pip install --upgrade jupyterthemes. It appears the stylefix.py file has a dependency on the python LESS compiler lesscpy. Fixed by running pip install lesscpy as said by @ahmedanis03
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Right... lesscpy is listed in the requirements file and added to the list
of dependencies in the setup.py file if not already installed. So not sure
why it's being neglected during the install. Any input is welcome.
On Tue, Jul 18, 2017 at 8:08 PM vg-pulsepoint notifications@github.com
wrote:
Sure, but the dependencies should be handled directly by the pip install
jupyter-themes and requirements.txt. Otherwise we could have chaos if we
had to manage all the dependencies externally.Sent from my iPhone
On Jul 18, 2017, at 7:50 PM, Maxwell Smtih notifications@github.com
wrote:Installed from scratch today in an empty environment, using pip install
--upgrade jupyterthemes. It appears the stylefix.py file has a dependency
on the python LESS compiler lesscpy. Fixed by running pip install lesscpy
as said by @ahmedanis03—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
https://github.com/dunovank/jupyter-themes/issues/149#issuecomment-316234377,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADqqzv1PN4pjr0_j-apJDb9PQHLgaXR0ks5sPUjugaJpZM4OVm1M
.>
Sent from my iPhone
Ok, so I tried again from a completely bare environment. For some reason when installing jupyterthemes the requirements file is not processed. None of the dependencies was installed or processed at all.
If I do the recommended install
pip install --upgrade jupyterthemes
Then no dependencies are processed
If I clone the master branch and run
pip install -r requirements.txt
python setup.py install
Then everything works fine.
If I clone the master branch and run
pip install -f dist jupyterthemes
then the dependencies are not processed. This last command is a local install that relies on. dist/jupyterthemes-0.16.9-py3.6.eggIt seems like the egg that is distributed on pip was not built using the requirements file or the . install_requires in setup.py somehow
FYI, I am using python 3.6 running on Windows.
Edited to reflect the fact that I had actually built that egg myself in the third case, so it was unhelpful and has been removed.

Thanks for the feedback @msmithsm . I'm hoping this has been fixed in the newest release (v0.17.0)... Anyone mind testing it out? pip install --upgrade jupyterthemes
Hello, I tried installing jupyter themes yesterday and ran into the ''lesscpy'' missing error, so had to pip install lesscpy manually. After that it worked fine.
I just did update as asked above to version 0.17, and can confirm it works fine with no error messages received. (I did not uninstall lesscpy before updating to be clear).
@dunovank I can confirm this morning that a fresh pip install --upgrade jupyterthemes installed all dependencies correctly with jt command.
Great, thanks @msmithsm . Closing this then.
Most helpful comment
pip install lesscpyfixed this for me