I am trying to clone and install the keras
package from github. When I run sudo python setup.py install
, it says no module named setuptools
. I looked at some posts that were for python 3; however, this solutions did not work for me. I am working on a terminal from a windows computer. I am using python 2.7. I tried the following commands: python -m pip install -U pip setuptools
from this website: https://packaging.python.org/installing/ . However, nothing seemed to work.
If you are working on Windows then you should be typing batch
commands, not bash
(Linux, OSX), therefore, sudo ...
should not be used by you.
Firstly, I would recommend to install pip
, it will make package update and installation a lot easier. Save it as get-pip.py
and run the following in the directory the file is located python get-pip.py
. Official pip website .
Then install upgrade pip
which will also install the latest versions of setuptools
and wheel
with this python -m pip install -U pip setuptools
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.