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

[BUG] OSX install fails with "ImportError: cannot import name urandom" #201

Closed
jonwaller opened this issue Jun 10, 2013 · 2 comments
Closed

Comments

@jonwaller
Copy link

I installed PyMessage, following the guide here:
https://bitmessage.org/wiki/Compiling_instructions#OS_X

When I try to run it, I get the following error:

$ python src/bitmessagemain.py 
Traceback (most recent call last):
  File "src/bitmessagemain.py", line 25, in <module>
    from defaultKnownNodes import *
  File "/Users/waller_jonathan/Desktop/PyBitmessage/src/defaultKnownNodes.py", line 5, in <module>
    import random
  File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/random.py", line 47, in <module>
    from os import urandom as _urandom
ImportError: cannot import name urandom

I tried @lukeorland 's suggestion and @ewheeler 's suggestion from this link. The error persisted.
python-mode/python-mode#87 (comment)

Will update if I solve it.

@Atheros1
Copy link
Contributor

@jonwaller
Copy link
Author

Thanks for the link. I re-ran the install script and it had fixed itself. (Without following your suggestion)

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

2 participants