Not sure exactly what went wrong but after installing python3-devel I can no longer import subprocess. As a result I can't use pip or some important scripts I have written for my workflow. Here is the error I'm getting:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.6/subprocess.py", line 136, in <module>
import _posixsubprocess
ImportError: /usr/lib64/python3.6/lib-dynload/_posixsubprocess.cpython-
36m-x86_64-linux-gnu.so: undefined symbol: _Py_set_inheritable_async_safe
I've tried reinstall python3.6, reinstalling python3-devel, and removing python3-devel.
If it helps, I'm on OpenSUSE tumbleweed with a Lenovo Ideapad 720s Ryzen 7.
Same problem here with OpenSuse Leap while trying to create a virtual environment. I get the exact same error as you, updating the system does not fix it, neither is updating anaconda. Maybe this is related to an update of Opensuse that causes an error with subprocess?
[EDIT]: I solved this by removing and reinstalling anaconda. You have to make sure that no file is left behind during the uninstallation (the first time did not work for me because of that).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With