Forums

Unable to install data science tool kill using pip

I run:

pip install dstk --user --allow-external dstk --allow-unverified dstk

And get:

dstk is potentially insecure and unverifiable. HTTP error 403 while getting http://www.datasciencetoolkit.org/dstk-0.50.tar.gz (from https://pypi.python.org/simple/dstk/) Could not install requirement dstk from http://www.datasciencetoolkit.org/dstk-0.50.tar.gz because of error 403 Client Error: Forbidden Could not install requirement dstk from http://www.datasciencetoolkit.org/dstk-0.50.tar.gz because of HTTP error 403 Client Error: Forbidden for URL http://www.datasciencetoolkit.org/dstk-0.50.tar.gz (from http s://pypi.python.org/simple/dstk/)

Note: this command did work on my paid account.

That's odd. Is this in a console that you've kept open from before you upgraded to a paid account? If so, try it in a new one. If not, what do you see if you run

wget  http://www.datasciencetoolkit.org/dstk-0.50.tar.gz

...from a new bash console?

Sorry I should have explained I have a free and paid account. I'm testing the teacher/student features. On my paid account the install works but not on the free account.

From the free account:

wget  http://www.datasciencetoolkit.org/dstk-0.50.tar.gz
--2015-07-29 12:24:49--  http://www.datasciencetoolkit.org/dstk-0.50.tar.gz
Resolving proxy.server (proxy.server)... 10.186.54.158
Connecting to proxy.server (proxy.server)|10.186.54.158|:3128... connected.
Proxy request sent, awaiting response... 403 Forbidden
2015-07-29 12:24:49 ERROR 403: Forbidden.

From the paid account:

12:28 ~$ wget http://www.datasciencetoolkit.org/dstk-0.50.tar.gz --2015-07-29 12:29:02-- http://www.datasciencetoolkit.org/dstk-0.50.tar.gz Resolving www.datasciencetoolkit.org (www.datasciencetoolkit.org)... 54.145.139.218 Connecting to www.datasciencetoolkit.org (www.datasciencetoolkit.org)|54.145.139.218|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5185 (5.1K) [application/x-gzip] Saving to: ‘dstk-0.50.tar.gz.2’ 100%[=============================================================================>] 5,185 --.-K/s in 0s 2015-07-29 12:29:02 (228 MB/s) - ‘dstk-0.50.tar.gz.2’ saved [5185/5185

I'm guessing it's because its not on the allowed list for the free account? Should I attempt to uploaded the tar and setup manually?

Let me add that site to the whitelist for free accounts, it looks like it's got some generally useful APIs hosted there.

...that's done.

Thanks...works well.

Cool. Thanks for letting us know.