Unable to import python3.6 subprocess

Not sure what happened, but after installing python3-devel I can no longer import the subprocess. As a result, I cannot use pip or some important scripts that I wrote for my workflow. Here is the error I get:

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 tried reinstalling python3.6, reinstalling python3-devel and removing python3-devel.

If this helps, I am on an OpenSUSE roll-over machine with the Lenovo Ideapad 720s Ryzen 7.

Thanks for any help.

+4
source share
2 answers

All software of my system has been updated with sudo zypper up, and the problem has been fixed.

0
source

I can not post a comment, sorry

Hello,

OpenSuse Leap . , , , anaconda. , Opensuse, ?

[EDIT]: , anaconda. , ( - ).

.

0

Source: https://habr.com/ru/post/1696113/


All Articles