mcardillo55 / cbpro-trader

Automated cryptocurrency trading on Coinbase Pro (formerly gdax-trader)
GNU General Public License v3.0
218 stars 72 forks source link

cbpro module issue #8

Closed buddha99 closed 5 years ago

buddha99 commented 5 years ago

Getting an error saying no module called 'cbpro' when I execute as:

$ python cbpro-trader.py

Traceback (most recent call last): File "cbpro-trader.py", line 7, in <module> import cbpro ImportError: No module named cbpro

Details: I followed the instructions to install the dependencies from requirements.txt. After a couple of attempts necessary due to permission related failures, I was able to get to the point where 'six' was the only dependency that seemed to have a complaint that it could not be uninstalled since it's a distutils installed project -- see below:

Found existing installation: six 1.4.1 Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

My python version is 2.7.10

Thanks in advance for any help I receive on this! 👍

EDIT: Specific output regarding cbpro from executing pip install -r ./requirements.txt

Obtaining cbpro from git+https://github.com/mcardillo55/coinbasepro-python.git@d2b8bed627339723ab214430fe93ade2331d757e#egg=cbpro (from -r ./requirements.txt (line 4)) Skipping because already up-to-date.

buddha99 commented 5 years ago

Turns out it had to do with a failed ta-lib installation from homebrew. Jumped through a few hoops and finally got past the cbpro module not found issue. On to the next issue for me.