Open ppKrauss opened 6 years ago
The ideal is a correction at README (please NOTICE the bug there) or the source code... A workaround stackoverflow.com/a/14426553,
sudo apt-get install python3-setuptools
.
As setuptools
is used by setup.py
it should be declared as install dependency.
How about having the following statement in the setup.py:
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
@chfw ez_setup
needed be installed either, I thought of:
setup(
...
install_requires=['setuptools'],
...)
or even
setup(
...
setup_requires=['setuptools'],
...)
but setup comes from setuptools so I am afraid it does not help much. If setup is not found from ez_setup or setuptools, then the python environment itself needs additional work. Get python-pip onto it.
Using README instructions. After git clone, the
python setup.py build
showsSo, seems all fine... But
python3 setup.py build
It is a bug in the instructions or a bug at my UNUNTU...