Python-binance: Segmentation Fault (Core Dumped)

Created on 27 Dec 2017  路  10Comments  路  Source: sammchardy/python-binance

Hi,

I've tried installing this using pip3 (and pip) but it always ends in a "Segmentation fault (core dumped)" error. I've also searched around for the issue but there doesn't seem to be a clear or definitive solution. If anyone could please help that would be greatly appreciated.

Im using:
Ubuntu 17.04
Python 3.5.3

I'm relatively new to all of this so if you need any more info, just ask (and let me know how to get it :P))

Most helpful comment

I've already had this problems and if you track it down, you will find this.

You can easily solve the problem by running pip3 install python-binance --no-binary :all:

All 10 comments

Hi @jayjay991 are you still having this issue.

If so please post a log of the error and I may be able to help you narrow it down.

Hi, maybe I can revive this thread a bit.

Got the same problem, pic related, and already found out, that this should be an error thrown by the c-compiler. I already checked cython, but cant find another solution right now.

System ist the same:
Ubuntu 17.04
Python 3.5.3

I'm trying to install python-binance via pip3 and got some issues with the installation of Twisted not being wheeled correctly, but I could fix that in the end.

python-binance-error

add:

I ran through the dependencies and found out, that the Error occurs at 2 packages. pic2 related

pip3 install errors

I'd love to use your library and hope you can find a solution to this

Thanks in advance

@Teigwaren try this once more from beginning:
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y python3-pip
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
pip3 install python-binance

@Teigwaren if that does not work try this:
sudo aptitude install python3-setuptools
sudo easy_install3 pip
sudo pip-3.2 install python-binance

Hi all,

Thanks for the replies. The problem somehow fixed itself and unfortunately I can't say I know what I did as it was probably by accident while I was doing something else...

Maybe it was updates, upgrade and dist-upgrades or maybe it was removing all packages and installing it again ("pip3 uninstall ipython[all]" and "pip3 install ipython[all]" ).

Sorry I cant be more specific - I tried anything and everything and then gave up and did other stuff and when I came back to it, it just worked... If there is a way to show any changes I've made then I'll be happy to provide them - if you explain how!

Setting it up again from the beginning worked for me. guess I loaded too much trash before.
Thanks for the replies though :)

I've already had this problems and if you track it down, you will find this.

You can easily solve the problem by running pip3 install python-binance --no-binary :all:

Hi,
I have the same problem with xubuntu 18.04, I have tried "pip3 uninstall ipython[all]" and "pip3 install ipython[all]", it didn't help.
I have tried "pip3 install python-binance --no-binary :all:" but when I do "from binance.client import Client" in my python code, I get
Traceback (most recent call last):
File "./binance.py", line 2, in
from binance.client import Client as client
File "/home/uranus/workspace/binance.py", line 2, in
from binance.client import Client as client
ModuleNotFoundError: No module named 'binance.client'; 'binance' is not a package
Any idea ?
Thanks

I forgot to mention that I am using python 3.6.7

I was having segmentation fault with absolutely anything python,

sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y python3-pip

fixed it for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

noahwoodin picture noahwoodin  路  8Comments

Wyctus picture Wyctus  路  6Comments

ohsnapitsjojo picture ohsnapitsjojo  路  3Comments

terenceljz picture terenceljz  路  3Comments

DaniZz picture DaniZz  路  3Comments