Skip to content

python.h issue #7

@infinite-Joy

Description

@infinite-Joy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions