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

Error installing irtrans #3

Open
ishaan1996 opened this issue Jan 23, 2017 · 4 comments
Open

Error installing irtrans #3

ishaan1996 opened this issue Jan 23, 2017 · 4 comments

Comments

@ishaan1996
Copy link

$ pip install git+git://github.com/irshadbhat/python-irtrans.git

ERROR:
irtrans/_decode/viterbi.c:352:31: fatal error: numpy/arrayobject.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

I have tried this Didn't work for me.

These are the versions of the required python libraries, I have:
Cython==0.25.2
numpy==1.11.1
scipy==0.18.1

@irshadbhat
Copy link
Member

can you attach the complete error log

@ishaan1996
Copy link
Author

error_log.txt

@irshadbhat
Copy link
Member

I guess the problem is in setuptools version.

See if upgrading setuptools fix the problem.

sudo apt-get remove python-setuptools
sudo pip install -U setuptools

@ishaan1996
Copy link
Author

Still the same error.
replaced setuptools from v20.7.0 to 34.1.0

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

2 participants