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.
Updated all of the software on my system with sudo zypper up
and the problem is fixed.