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

Unable to pip install dstk #65

Open
Chris-Larkin opened this issue Sep 13, 2016 · 4 comments
Open

Unable to pip install dstk #65

Chris-Larkin opened this issue Sep 13, 2016 · 4 comments

Comments

@Chris-Larkin
Copy link

Chris-Larkin commented Sep 13, 2016

Hello,

I've tried installing dstk using pip install dstk but it is returning an error message. I'm running on a virtualenvironment with Python3, and a regular pip install returns this error:

(py3_base) Chriss-MacBook-Pro:~ chris.larkin$ pip install dstk
Collecting dstk
  Could not find a version that satisfies the requirement dstk (from versions: )
No matching distribution found for dstk

I've also tried installing directly from github, but receive this error instead:

(py3_base) Chriss-MacBook-Pro:~ chris.larkin$ pip install https://github.com/petewarden/dstk/zipball/master
Collecting https://github.com/petewarden/dstk/zipball/master
  Downloading https://github.com/petewarden/dstk/zipball/master
     / 1.9MB 1.4MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Users/chris.larkin/.virtualenvs/py3_base/lib/python3.5/tokenize.py", line 454, in open
        buffer = _builtin_open(filename, 'rb')

I've also tried following the instructions here but receive this error when trying to run python setup.py from the correct cd:

Chriss-MacBook-Pro:~ chris.larkin$ workon py3_base
(py3_base) Chriss-MacBook-Pro:~ chris.larkin$ cd "/Users/chris.larkin/.virtualenvs/py3_base/lib/python3.5/site-packages/dstk-0.50"
(py3_base) Chriss-MacBook-Pro:dstk-0.50 chris.larkin$ python setup.py
python: can't open file 'setup.py': [Errno 2] No such file or directory
(py3_base) Chriss-MacBook-Pro:dstk-0.50 chris.larkin$ python setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

I've also tried downloading the tar file directly from PyPi, and placing it in my site-packages folder for the associated virtualenv but that does not work either.

This looks like a fantastic resource and i'd love to use it; any help would be appreciated!

@lexieheinle
Copy link

Hi,

I had this same problem and fixed it by running
python setup.py build
python setup.py install

@Sri4464
Copy link

Sri4464 commented Sep 17, 2019

Does this work for python 3.7, I simply cannot download the package using pip due to version conflict

@ghost
Copy link

ghost commented Nov 25, 2019

The code it is running when you type "python setup.py install" (dstk.py) isn't updated for python 3. You need to go into the code and put parentheses around all the "print" statements

@iUnleash
Copy link

iUnleash commented Feb 10, 2020

Just to follow up on @jds5888 's comment. The module "httplib" has been renamed to "http.client" for python 3. Should already be installed if youre using Anaconda.

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

4 participants