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

Can not install stellar-base #50

Closed
u4596730 opened this issue Jun 27, 2017 · 8 comments
Closed

Can not install stellar-base #50

u4596730 opened this issue Jun 27, 2017 · 8 comments

Comments

@u4596730
Copy link

Hello
I use the pip install stellar-base but it does not work. Since I have Anaconda already, I tried conda install stellar-base but still it did not work. Plz help me if anyone knows why. Thanks

@antb123
Copy link

antb123 commented Jun 27, 2017 via email

@u4596730
Copy link
Author

u4596730 commented Jun 28, 2017 via email

@manran
Copy link
Member

manran commented Oct 30, 2017

@u4596730 any more info can you provide? it works for me both python2 and python3

@overcat overcat closed this as completed Jan 11, 2018
@samueltuyizere
Copy link

i'm using Python 3.6.8 and can't intall it.
here is the error `x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/sam/PycharmProjects/stellamomo/venv/include -I/usr/include/python3.6m -c src/_crc16module.c -o build/temp.linux-x86_64-3.6/src/_crc16module.o
src/_crc16module.c:22:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/home/sam/PycharmProjects/stellamomo/venv/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-onsbk3g_/crc16/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-r5kwjf1o/install-record.txt --single-version-externally-managed --compile --install-headers /home/sam/PycharmProjects/stellamomo/venv/include/site/python3.6/crc16" failed with error code 1 in /tmp/pip-install-onsbk3g_/crc16/
`

@antb123
Copy link

antb123 commented Apr 22, 2019 via email

@samueltuyizere
Copy link

i did both pip and the git repo but none of them works.
FYI i'm using Pycharm and Django 2.2

@samueltuyizere
Copy link

i changed and installed on python 2.7 and it worked!

@manran
Copy link
Member

manran commented Apr 22, 2019

Try this: sudo apt-get install python3-dev

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

5 participants