I'm trying to build slycot, a python wrapper around the fortran library SLICOT.
I'm using the anaconda python distribution Anaconda-2.0.1-Windows-x86_64
on a 64-bit windows 7.
The first naive python setup.py build
command resulted in
NotImplementedError("Only MS compiler supported with gfortran on win64")
So far so good. After googling for a while, someone recommended simply commenting out the line in numpy. This seems to work. gfortran is called and all the libraries are compiled, but then it fails at linking with the following message
The command line is too long
It seems that listing all the *.o files generates a huge command string which can not be processed.
Any suggestions?
If you are still having this problem, try upgrading to Anaconda-2.1.0. If that still fails and you are not tied to Python2, then install a Python3 environment using the Anaconda3-2.1.0-Windows-x86_64 distribution. Once I did that and a manual package install (steps below) I didn't get the "command line too long" error. I have Anaconda installed in C:\Anaconda - can't tell if that helped or not.
To manually install a package:
gnu.py
in the distutils\fcompiler
subdirectory per instructions here.activate
the correct one.python setup.py install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With