Question

I am trying to install cvxopt on windows, I use a 2.7 Python Enthought distribution. I followed the instructions here,

http://abel.ee.ucla.edu/cvxopt/install/

The error I run into is the follows,

./liblapack.a: could not read symbols: Archive has no index; run ranlib to add o ne collect2: ld returned 1 exit status error: command 'gcc' failed with exit status

Please help me, I am pretty lost. Thanks a lot.

Was it helpful?

Solution

The best way to get this running is by installing a pre-compiled binary.

First, download the MLK build of numpy for windows. Then, download the installer for cvxopt and run it. It is very important you pick the build that corresponds to your version of Python.

The builds I linked are for the standard Python for Windows. They should work with Enthought's distribution as well.

OTHER TIPS

I had a problem too - it was something about gcc and stuff and I saw that there was some problem because of -llapack and -lblas. I then copy/paste libblas.a and liblapack.a to cvxopt-1.1.17 directory, to src directory, to c and python directory under src and so on and then it started working.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top