Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
pip installing from cvxopt-1.1.3-py3.tar.gz but I am running python2.7 #310
When I run:
the wrong version of cvxopt is downloaded. I am using python2.7, but pip is downloading cvxopt-1.1.3-py3.tar.gz. For completeness, more details and a solution are included below.
What, if anything can the maintainer do to direct pip to use the correct version?
This error is not evident initially, because the setup.py file is not located where pip expects it. See LOG (1) below.
The fact that cvxopt-1.1.3-py3.tar.gz is incompatible with python2.7 becomes evident after cd'ing into the src/ directory where the setup.py file was downloaded and running the command:
This generates the error seen in LOG (2) below. I have since learned that I can specify the correct version of cvxopt on the command line, e.g.
but still encounter the problem of the misplaced setup.py file. My solution was to install manually, e.g.
IOError: [Errno 2] No such file or directory: '/Users/stu/Research/Tools/PythonVirtualEnvs/numscipy-p27-brew/build/cvxopt/setup.py'
Command python setup.py egg_info failed with error code 1
python setup.py install