install pyomo.extras on Windows

333 views
Skip to first unread message

Denis Akhiyarov

unread,
Feb 4, 2015, 3:01:56 PM2/4/15
to pyomo...@googlegroups.com
I tried installing pyomo.extras on windows using pip and it failed with both vc++ for python27 and mingw from libpython (using conda).


with mingw/gcc

gcc -mno-cygwin -mdll -O -Wall -DSPT_VERSION=1.1.8 -IC:\Python\Python27\include
-IC:\Python\Python27\PC -c src/setproctitle.c -o build\temp.win32-2.7\Release\sr
c\setproctitle.o

error: command 'gcc' failed: No such file or directory

with VCForPython27:

src/spt_status.c(43) : fatal error C1083: Cannot open include file: 'unistd.h':
No such file or directory


Is there binary version available?

Siirola, John D

unread,
Feb 4, 2015, 5:07:15 PM2/4/15
to pyomo...@googlegroups.com

pyomo.extras is just a “bundle” – it is a python package that doesn’t provide any extra code.  Instead, it just lists several other potentially useful Python packages as dependencies.  The code that is being compiled is for one of those dependencies, and thus we have no control over either their build process or any binary distribution model.

 

My best suggestion is to look at what dependency is being built/installed and then to look at that package to see what distribution options they provide.

 

john

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

Reply all
Reply to author
Forward
0 new messages