Windows wheels for python 3.4 on PyPI

79 views
Skip to first unread message

Chris Gowen

unread,
Mar 31, 2016, 8:32:31 AM3/31/16
to cobra pie
Hello, 

I don't know how the wheel files are supplied to PyPI, so I'm sorry if this is the wrong forum for this. 

When I updated to cobra 0.4.1 using pip (on WinPython 3.4, Windows 7 x64), the cglpk binding included with cobra was broken. After much searching, I think this may be related to what pip is pulling from PyPI. When I install an older version, everything goes smoothly because it is using the win_amd64 whl:

> pip install cobra==0.4.0
Collecting cobra==0.4.0
  Using cached cobra-0.4.0-cp34-cp34m-win_amd64.whl
Requirement already satisfied (use --upgrade to upgrade): six in c:\users\cgowen\tools\python\winpyt
on-64bit-3.4.3.7\python-3.4.3.amd64\lib\site-packages (from cobra==0.4.0)
Installing collected packages: cobra
Successfully installed cobra-0.4.0

The new version (0.4.1) on PyPI does not have this binary available (only binaries for macosx exist for python 3.4). Cobra installs without producing any errors or warnings, but upon importing cobra in python, it is unable to find any LP solvers. 

I realize that pip should still be able to install using the source files, but I can't get this approach to work for me because the cgplk binding is not compiled. I am unable to install PyGLPK using this approach because its setup.py tries to use the system command "which glpsol" to find the glpk install directory, and "which" doesn't exist on Windows. have tried unsuccessfully to troubleshoot this, although I am admittedly a novice at dealing with compiled software, so any advice would be appreciated. In the meantime, are there plans to add additional wheels to PyPI for this and future versions?

Thanks,
Chris Gowen

Ali Ebrahim

unread,
Mar 31, 2016, 12:05:38 PM3/31/16
to Chris Gowen, cobra pie
Hello Chris,

Sorry about that. I had some trouble uploading them, but I it's resolved now. There should now be binary wheels available for windows.

-Ali

--
You received this message because you are subscribed to the Google Groups "cobra pie" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-pie+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris Gowen

unread,
Mar 31, 2016, 2:15:06 PM3/31/16
to cobra pie, chris....@gmail.com
Thanks for the quick response and all the great work, Ali! Peter, the new summary method is a great addition. 

Cheers,
Chris
Reply all
Reply to author
Forward
0 new messages