Search code examples
pythonubuntuethereum

Can't install pyethereum module


I'm new in Ethereum, so probably that's a silly question.

Now I'm trying to install serpent and pyethereum according to this tutorial. Everything works well, but when I'm launching Python's code:

import serpent
import pyethereum

There is an error: No module named pyethereum

How can I solve it?


Solution

  • The module's name is ethereum, not pyethereum. Using the following:

    import serpent
    import ethereum
    

    should work just fine.