Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python.h issue #7

Open
infinite-Joy opened this issue Sep 13, 2016 · 0 comments
Open

python.h issue #7

infinite-Joy opened this issue Sep 13, 2016 · 0 comments

Comments

@infinite-Joy
Copy link

infinite-Joy commented Sep 13, 2016

while building simply with pip it gives

building 'metarna.pymiranda' extension
i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include/ViennaRNA -I/usr/include/python3.5m -I/home/vagrant/github/metaRNA/venv/include/python3.5m -c metarna/pymiranda/pymiranda.c -o build/temp.linux-i686-3.5/metarna/pymiranda/pymiranda.o -fopenmp
metarna/pymiranda/pymiranda.c:11:20: fatal error: Python.h: No such file or directory
 #include "Python.h"
                    ^
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1

Various stackoverflow posts suggests to install python-dev but that didnt really work for me.

So I looked at conda and then I could install it successfully.
My suggestion would be to have documentation for installing using conda as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant