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

ImportError: No module named dispersy.util #1056

Closed
paladini opened this issue Dec 21, 2014 · 4 comments
Closed

ImportError: No module named dispersy.util #1056

paladini opened this issue Dec 21, 2014 · 4 comments

Comments

@paladini
Copy link

I downloaded Tribler and I'm trying to run this wonderful software in Fedora 20, but I'm having some troubles.

When I run sudo sh tribler.sh or sudo ./tribler.sh or ./tribler.sh I'm getting this error:

Traceback (most recent call last):
  File "Tribler/Main/tribler.py", line 28, in <module>
    run()
  File "Tribler/Main/tribler.py", line 24, in run
    from Tribler.Main.tribler_main import run as run_main
  File "/opt/tribler-6.4.0/Tribler/Main/tribler_main.py", line 18, in <module>
    from Tribler.Main.Utility.compat import (convertSessionConfig, convertMainConfig, convertDefaultDownloadConfig,
  File "/opt/tribler-6.4.0/Tribler/Main/Utility/compat.py", line 17, in <module>
    from Tribler.Core.SessionConfig import SessionStartupConfig
  File "/opt/tribler-6.4.0/Tribler/Core/SessionConfig.py", line 22, in <module>
    from Tribler.Core.RawServer.RawServer import autodetect_socket_style
  File "/opt/tribler-6.4.0/Tribler/Core/RawServer/RawServer.py", line 14, in <module>
    from Tribler.dispersy.util import attach_profiler
ImportError: No module named dispersy.util

What can I do to solve this problem or install / run Tribler on Fedora successfully?

@baptistapedro
Copy link

Did you try a clone of git repo? If not, try that.

@paladini
Copy link
Author

I do that and now I'm having another issue:

[paladini@pet01 tribler]$ ./tribler.sh 
Traceback (most recent call last):
  File "Tribler/Main/tribler.py", line 28, in <module>
    run()
  File "Tribler/Main/tribler.py", line 24, in run
    from Tribler.Main.tribler_main import run as run_main
  File "/home/paladini/Downloads/tribler/Tribler/Main/tribler_main.py", line 18, in <module>
    from Tribler.Main.Utility.compat import (convertSessionConfig, convertMainConfig, convertDefaultDownloadConfig,
  File "/home/paladini/Downloads/tribler/Tribler/Main/Utility/compat.py", line 17, in <module>
    from Tribler.Core.SessionConfig import SessionStartupConfig
  File "/home/paladini/Downloads/tribler/Tribler/Core/SessionConfig.py", line 23, in <module>
    from Tribler.Core.Utilities.utilities import find_prog_in_PATH
  File "/home/paladini/Downloads/tribler/Tribler/Core/Utilities/utilities.py", line 5, in <module>
    from Tribler.Core.Utilities.Crypto import sha
  File "/home/paladini/Downloads/tribler/Tribler/Core/Utilities/Crypto.py", line 6, in <module>
    from M2Crypto import BIO
ImportError: No module named M2Crypto

What can I do to solve that?

@baptistapedro
Copy link

You have to install that module like any other. Search for M2Crypto install in google.
Try install it with pip.

@whirm
Copy link

whirm commented Dec 22, 2014

For anyone trying to run Tribler on fedora, please take a look at: #616

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants