python-binance icon indicating copy to clipboard operation
python-binance copied to clipboard

Segmentation Fault (Core Dumped)

Open jayfan0 opened this issue 8 years ago • 10 comments

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))

jayfan0 avatar Dec 27 '17 11:12 jayfan0

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.

sammchardy avatar Jan 06 '18 12:01 sammchardy

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

PatNone avatar Jan 17 '18 20:01 PatNone

@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

Kato-Official avatar Jan 17 '18 22:01 Kato-Official

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

Kato-Official avatar Jan 17 '18 22:01 Kato-Official

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!

jayfan0 avatar Jan 18 '18 19:01 jayfan0

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

PatNone avatar Jan 19 '18 16:01 PatNone

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:

rafaeelaudibert avatar Jan 10 '19 11:01 rafaeelaudibert

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

mb2222 avatar May 15 '19 12:05 mb2222

I forgot to mention that I am using python 3.6.7

mb2222 avatar May 15 '19 12:05 mb2222

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

Sean-Bradley avatar Aug 04 '19 08:08 Sean-Bradley