New issue 2450: Can't import psutil on pypy3
https://bitbucket.org/pypy/pypy/issues/2450/cant-import-psutil-on-pypy3

thinkwelltwd:

Sorry if this issue is duplicated elsewhere. I want to try running my django 
application on pypy3.5 and I have a dependency on psutil. It installs well 
enough, but when importing, I get this traceback:

```
#!python

>>>> import psutil
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<builtin>/frozen importlib._bootstrap_external", line 672, in 
exec_module
  File "<frozen importlib._bootstrap>", line 223, in _call_with_frames_removed
  File "/home/home/pypy3.5/site-packages/psutil/__init__.py", line 78, in 
<module>
    from . import _pslinux as _psplatform
  File "<builtin>/frozen importlib._bootstrap_external", line 672, in 
exec_module
  File "<frozen importlib._bootstrap>", line 223, in _call_with_frames_removed
  File "/home/home/pypy3.5/site-packages/psutil/_pslinux.py", line 24, in 
<module>
    from . import _psutil_linux as cext
  File "<builtin>/frozen importlib._bootstrap_external", line 913, in 
create_module
  File "<frozen importlib._bootstrap>", line 223, in _call_with_frames_removed
ImportError: /home/user/pypy3.5/site-packages/psutil/_psutil_linux.pypy3-56.so: 
undefined symbol: PyModule_GetState
```

It's not the end of the world if this doesn't work, but sometime I'd like to be 
running on pypy3!



_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to