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

Version on PIP needs to be updated #208

Closed
CreaoticX opened this issue Dec 25, 2017 · 8 comments
Closed

Version on PIP needs to be updated #208

CreaoticX opened this issue Dec 25, 2017 · 8 comments

Comments

@CreaoticX
Copy link

CreaoticX commented Dec 25, 2017

If you install this using pip it's and old version that is out of date. I don't know all of the features that are missing, but at least one of them is the ability to subscribe to specific channels. I fixed this by just going in and copying and pasting the new files. Not sure how to get pip to get the new files. I'm pretty sure this is what's causing #205 at least.

@phil-hudson
Copy link

+1 please do

@smalbadger
Copy link

I'm sorry, I'm not familiar with installing python modules manually. Did you just clone the repository somewhere and not actually install the gdax module?

@CreaoticX
Copy link
Author

If you install with pip it installs in your Python installation folder. You can google to find the location for your operating system. I just went in and copied the files from github into that folder manually. I guess you could do a git clone too, but I haven't tried it.

@obixmt
Copy link

obixmt commented Dec 28, 2017

@CreaoticX
Thanks for pointing in the right direction, this allowed me to get the Order Book example working.

I'm on a Debian system and had to do the following as root:

pip uninstall gadx
rm -fvr /usr/local/lib/python2.7/dist-packages/gdax
rm -fvr /home/username/.local/lib/python2.7/site-packages/gdax
pip install git+https://github.com/danpaquin/gdax-python@master

the copy in my /home path was the one that I'd been missing, not sure how it got there? Hope this is helpful to someone, thanks!

@danpaquin
Copy link
Owner

This will be completed after PR #260 is finalized and tests are passed.

@uclatommy
Copy link
Contributor

@CreaoticX, you can use pip to install directly from github like so:
pip install git+https://github.com/danpaquin/gdax-python.git

@kevinkatzke
Copy link

kevinkatzke commented Jun 3, 2018

The following workaround should solve these issues on Mac:

pip uninstall gdax
pip install git+https://github.com/danpaquin/gdax-python.git

As @uclatommy suggested you can as pip to install directly from github. After you've executed these commands you might need to install further dependencies such as sortedcontainers in my case. All dependecies can be found here:

https://github.com/danpaquin/gdax-python/blob/d7dfc6f8e44158b4f1b0c3149a2f680df5dffa3c/requirements.txt

Any package can be installed with pip as usual:

pip install sortedcontainers

UPDATE:

Now that the name of the project has changed from GDax to Coinbase Pro the correct pip install is:

pip install --user --upgrade git+https://github.com/danpaquin/coinbasepro-python.git

@wileymc
Copy link

wileymc commented Aug 8, 2018

I've followed this exactly and have all the required dependencies installed and I'm still getting:

File "gdax_pull.py", line 6, in <module>
    public_client = gdax.Public_Client()
AttributeError: module 'gdax' has no attribute 'Public_Client'

Any ideas? I'm running OSX

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

8 participants