ethereum / pyethapp

MIT License
1.28k stars 604 forks source link

Symbol not found: __PyCodecInfo_GetIncrementalDecoder #256

Open shuuchen opened 6 years ago

shuuchen commented 6 years ago

Hi All,

I am installing the library following https://github.com/ethereum/pyethapp/blob/develop/docs/installation_os_x.rst

While I am running

$virtualenv pyethapp

I get the following error message:


New python executable in /Users/shuchendu/pyethapp/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /Users/shuchendu/pyethapp/bin/python - setuptools pip wheel:
  Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
  File "/anaconda/lib/python2.7/tempfile.py", line 32, in <module>
    import io as _io
  File "/anaconda/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: dlopen(/Users/shuchendu/pyethapp/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder
  Referenced from: /Users/shuchendu/pyethapp/lib/python2.7/lib-dynload/_io.so
  Expected in: flat namespace
 in /Users/shuchendu/pyethapp/lib/python2.7/lib-dynload/_io.so
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File "/anaconda/bin/virtualenv", line 11, in <module>
    sys.exit(main())
  File "/anaconda/lib/python2.7/site-packages/virtualenv.py", line 713, in main
    symlink=options.symlink)
  File "/anaconda/lib/python2.7/site-packages/virtualenv.py", line 945, in create_environment
    download=download,
  File "/anaconda/lib/python2.7/site-packages/virtualenv.py", line 901, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/anaconda/lib/python2.7/site-packages/virtualenv.py", line 797, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /Users/shuchendu/pyethapp/bin/python - setuptools pip wheel failed with error code 1```

How to avoid this? Can someone help me?