Problems installing cvxopt

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

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

The error I encountered is the following:

./liblapack.a: could not read characters: the archive has no index; run runlib to add o Nebraska collect2: ld returned 1 exit status Error: 'gcc' command failed with exit status

Please help me, I'm pretty lost. Thank you very much.

0
source share
2 answers

The best way to get this is to install a precompiled binary.

Download MLK first to create numpy for Windows . Then download the installer for cvxopt and run it. It is very important to choose the assembly that matches your version of Python.

The connections I linked are for standard Python for Windows. They should also work with Enthought distribution.

+7
source

I also had a problem - it was something like gcc and stuff, and I saw that there was some kind of problem due to -llapack and -lblas . Then I copy / paste libblas.a and liblapack.a into the cvxopt-1.1.17 directory, into the src directory, into the c and python directory under src, etc., after which it starts to work.

+1
source

Source: https://habr.com/ru/post/1433794/


All Articles