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 install python setup.py #398

Closed
donkeykongz opened this issue Feb 20, 2018 · 8 comments
Closed

Unable to install python setup.py #398

donkeykongz opened this issue Feb 20, 2018 · 8 comments

Comments

@donkeykongz
Copy link

donkeykongz commented Feb 20, 2018

Unable to install python setup.py and I get this error message.

https://pastebin.com/1CWfeS3Q

@2pay
Copy link

2pay commented Feb 25, 2018

You find stratum-mining/externals/stratum/distribute_setup.py:

edit link:
DEFAULT_URL = "http://pypi.python.org/packages/source/d/distribute/"

to:
DEFAULT_URL = "https://pypi.python.org/packages/source/d/distribute/"

@donkeykongz
Copy link
Author

Tired this before and get another error message.

https://pastebin.com/9kYSuMMC

@2pay
Copy link

2pay commented Feb 25, 2018

you run:

cd ~
sudo apt-get install python-twisted python-mysqldb python-dev python-setuptools python-memcache python-simplejson python-pylibmc
sudo easy_install -U distribute

@donkeykongz
Copy link
Author

Nothing changes still getting the same error message.

@EmelyanovMax
Copy link

the same problem

@EmelyanovMax
Copy link

It works for me, please check it out:
sudo easy_install -U distribute-0.6.28.tar.gz
sudo apt-get install python-autobahn
sudo apt-get install python-ecdsa
sudo python setup.py install

@JBaczuk
Copy link

JBaczuk commented May 22, 2018

Running sudo easy_install -U distribute-0.6.28.tar.gz gives:

$ sudo easy_install -U distribute-0.6.28.tar.gz
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 9, in <module>
    load_entry_point('setuptools==20.7.0', 'console_scripts', 'easy_install')()
  File "/home/ubuntu/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/ubuntu/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point
    return ep.load()
  File "/home/ubuntu/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2318, in load
    return self.resolve()
  File "/home/ubuntu/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2324, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 50, in <module>
    from setuptools.archive_util import unpack_archive
  File "/usr/lib/python2.7/dist-packages/setuptools/archive_util.py", line 15, in <module>
    from pkg_resources import ensure_directory, ContextualZipFile
ImportError: cannot import name ContextualZipFile

@ahmedbodi
Copy link
Member

Dependency error.

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

5 participants