exe-from-python's People
exe-from-python's Issues
Ensure swig is installed
running build_ext
building 'M2Crypto.__m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/include -I/usr/include/openssl -includeall -modern -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
unable to execute swig: No such file or directory
error: command 'swig' failed with exit status 1
----------------------------------------
Cleaning up...
Command /Users/ian/Envs/exepyvenv/bin/python -c "import setuptools, tokenize;__file__='/Users/ian/Envs/exepyvenv/build/M2Crypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/zq/wm6wrrp54lg9knxyzrks0y3c0000gn/T/pip-xiEZeU-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ian/Envs/exepyvenv/include/site/python2.7 failed with error code 1 in /Users/ian/Envs/exepyvenv/build/M2Crypto
Storing debug log for failure in /Users/ian/.pip/pip.log
On OS X I accomplished this with "brew update ; brew install swig".
Ensure environment variables are set for clang compiler on os x
Running pip install -r requirements.txt yields:
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /Users/ian/Envs/exepyvenv/build/cython/Cython/Plex/Scanners.c -o build/temp.macosx-10.9-intel-2.7/Users/ian/Envs/exepyvenv/build/cython/Cython/Plex/Scanners.o
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: command 'cc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /Users/ian/Envs/exepyvenv/bin/python -c "import setuptools, tokenize;__file__='/Users/ian/Envs/exepyvenv/build/cython/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/zq/wm6wrrp54lg9knxyzrks0y3c0000gn/T/pip-TwBvWH-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ian/Envs/exepyvenv/include/site/python2.7 failed with error code 1 in /Users/ian/Envs/exepyvenv/build/cython
Storing debug log for failure in /Users/ian/.pip/pip.log
To fix just do:
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.