How can I direct pip to find setup.py
? My setup.py
file is located ~/setuptools-3.5.1
.
I ran
dustin@dustin:~$ python setuptools-3.5.1/setup.py egg_info
running egg_info
writing requirements to setuptools.egg-info/requires.txt
writing setuptools.egg-info/PKG-INFO
writing top-level names to setuptools.egg-info/top_level.txt
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
reading manifest file 'setuptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'setuptools.egg-info/SOURCES.txt'
dustin@dustin:~$
so it looks as everything is okay, but when I run pip, I get
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/matplotlib
Storing debug log for failure in /home/dustin/.pip/pip.log
I am under the impression that when I run pip it isn't finding setup.py
Had the same problem. This is probably because some of the dependencies may not be installed. Solved this by installing using package manager in ubuntu. Use the following command
Hope this helps.
Navigate to the directory that contains your setup.py and run:
Navigate to the directory that contains your setup.py and run:
pip install -e .
this worked for me. But still i got the massage setup.py not found when i used "pip install -e '.[all]' " in the anaconda environment terminal. Instead i used "pip install gym[all]" and it worked !
matplotlib
has many external dependencies. Some of these are required. You can see the list of required ones in the log file produced by the attemptedpip install
. In your case, it is this:also
Here, you can see that
freetype
couldn't be found. You need to install it on your system.