Open Fmstrat opened 6 years ago
You're clearly missing setuptools
. Use something like pip install setuptools
or conda install setuptools
(depending on what manager you're using) and then try again.
But yes, I agree that this could use more installation documentation. I can't seem to get it to install from source (only works with pip
).
After installing from source, I get the following error. hello-world.py
is just an example. I get this error regardless of what I do.
eric@ubuntu:~/test$ pyminifier hello-world.py
Traceback (most recent call last):
File "/home/eric/miniconda3/envs/test/bin/pyminifier", line 11, in <module>
load_entry_point('pyminifier==2.2', 'console_scripts', 'pyminifier')()
File "/home/eric/miniconda3/envs/test/lib/python3.6/site-packages/pyminifier-2.2-py3.6.egg/pyminifier/__main__.py", line 171, in main
File "/home/eric/miniconda3/envs/test/lib/python3.6/site-packages/pyminifier-2.2-py3.6.egg/pyminifier/__init__.py", line 284, in pyminify
File "/home/eric/miniconda3/envs/test/lib/python3.6/site-packages/pyminifier-2.2-py3.6.egg/pyminifier/minification.py", line 417, in minify
File "/home/eric/miniconda3/envs/test/lib/python3.6/site-packages/pyminifier-2.2-py3.6.egg/pyminifier/minification.py", line 202, in reduce_operators
TypeError: 'NoneType' object is not subscriptable
Fresh Raspbian system:
As a note, despite great documentation overall, there seems to be nothing on actually installing, other than:
No mention of the setup script, etc..
Thanks!