GithubHelp home page GithubHelp logo

exe-from-python's Introduction

exe-from-python

exe-from-python's People

Contributors

brandon-rhodes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

exe-from-python's Issues

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

As per http://stackoverflow.com/questions/22313407/clang-error-unknown-argument-mno-fused-madd-python-package-installation-fa

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".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.