Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

"python setup.py install" doesn't work #167

Closed
romanman opened this issue Oct 7, 2014 · 8 comments
Closed

"python setup.py install" doesn't work #167

romanman opened this issue Oct 7, 2014 · 8 comments

Comments

@romanman
Copy link

romanman commented Oct 7, 2014

Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools
@nicksavers
Copy link
Contributor

No module named setuptools refers to a package in `python-dev``
You need to install that first.

@renewed-mind
Copy link

Hi, I have the same problem. Where can I find python-dev and the package in it? Thanks

@konradkonrad
Copy link
Contributor

@renewed-mind python-dev is a debian package. In case that applies to you, become root and do apt-get install python-dev.
Otherwise, you might want to follow the guide on pip's documentation on how to resolve that error:
http://pip.readthedocs.org/en/latest/distribute_setuptools.html#importerror-no-module-named-setuptools

Also I usually recommend using a (clean) virtualenv. Some more hints are in the developer notes: https://github.com/ethereum/pyethereum/wiki/Developer-Notes

@renewed-mind
Copy link

thank you so much @konradkonrad ! I'm really new to all this, and feel kinda lost, but I think your links will be a good place to start. To give you an idea of how lost I am, I am using Python 3.4 on Windows 7...at this point, I am pretty sure this stuff doesn't work on Windows yet? What is everyone using (in terms of hardware/OS) to be able to play with all this stuff? Thank you so much!

@konradkonrad
Copy link
Contributor

@renewed-mind oh...sorry to hear that. Unfortunately as up now (and as far as I know), Windows is a no-go, because leveldb is not yet ready for the OS.
Since you're eager to play, I recommend, you create yourself a virtualized Ubuntu (e.g. http://www.instructables.com/id/Introduction-38/?lang=en) and do everything in there.

If people are happily using pyethereum (and leveldb) on Windows, please let us know!

@renewed-mind
Copy link

@konradkonrad Awesome! Thank you! When you say leveldb is not yet ready for the OS, you mean that the Ethereum team has not modified it to work with the etherbrowser or the PyEthereum implementation within windows yet? Or pyethereum is not able to work with leveldb? Cause when I search leveldb and windows...I see there are downloads available...any insight is appreciated! thanks again!

also, is pyethereum implementation the same as serpent? sorry for the confused questions!

@konradkonrad
Copy link
Contributor

@renewed-mind
Copy link

@konradkonrad you're the best! thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants