Cannot install via Pip on Ubuntu 14.04
I can't seem to install this package using Pip on Ubuntu 14.04. The version in Pypi can be installed without problems. This is the output:
rik@computer:~$ mkvirtualenv testbanaan
New python executable in testbanaan/bin/python
Installing setuptools, pip...done.
(testbanaan)rik@computer:~$ pip install -e git+https://gitlab.com/m2crypto/m2crypto.git@0.22.5#egg=M2Crypto
Obtaining M2Crypto from git+https://gitlab.com/m2crypto/m2crypto.git@0.22.5#egg=M2Crypto
Cloning https://gitlab.com/m2crypto/m2crypto.git (to 0.22.5) to ./.virtualenvs/testbanaan/src/m2crypto
Running setup.py (path:/home/rik/.virtualenvs/testbanaan/src/m2crypto/setup.py) egg_info for package M2Crypto
warning: no previously-included files found matching 'M2Crypto/_m2crypto.py'
Installing extra requirements: 'egg'
Installing collected packages: M2Crypto
Running setup.py develop for M2Crypto
warning: no previously-included files found matching 'M2Crypto/_m2crypto.py'
building 'M2Crypto.__m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -I/usr/include/python2.7 -I/usr/include -includeall -modern -builtin -outdir build/lib.linux-x86_64-2.7/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
Unable to open file build/lib.linux-x86_64-2.7/M2Crypto/_m2crypto.py: No such file or directory
error: command 'swig' failed with exit status 1
Complete output from command /home/rik/.virtualenvs/testbanaan/bin/python -c "import setuptools, tokenize; __file__='/home/rik/.virtualenvs/testbanaan/src/m2crypto/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
running develop
running egg_info
writing M2Crypto.egg-info/PKG-INFO
writing top-level names to M2Crypto.egg-info/top_level.txt
writing dependency_links to M2Crypto.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'M2Crypto.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'M2Crypto/_m2crypto.py'
writing manifest file 'M2Crypto.egg-info/SOURCES.txt'
running build_ext
building 'M2Crypto.__m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -I/usr/include/python2.7 -I/usr/include -includeall -modern -builtin -outdir build/lib.linux-x86_64-2.7/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
Unable to open file build/lib.linux-x86_64-2.7/M2Crypto/_m2crypto.py: No such file or directory
error: command 'swig' failed with exit status 1
----------------------------------------
Cleaning up...
Command /home/rik/.virtualenvs/testbanaan/bin/python -c "import setuptools, tokenize; __file__='/home/rik/.virtualenvs/testbanaan/src/m2crypto/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps failed with error code 1 in /home/rik/.virtualenvs/testbanaan/src/m2crypto
Storing debug log for failure in /home/rik/.pip/pip.log