我正在尝试使用安装 wxpythonpython3 -m pip install wxpython
的 HP x86 机器安装新的 Ubuntu18.04.3 LTS。我已经设置了一个 python 环境并拥有 Python 3.6.9。当我在环境中运行上述命令时,我得到
`python-config : not found
Checking for library python3.6m in LIBDIR : not found
Checking for library python3.6m in python_LIBPL : yes
Checking for header Python.h : Distutils not installed? Broken python installation? Get python-config now!
我已经安装了python:
python3 -m pip install python-config
Requirement already satisfied: python-config in ./PrintrunEnv/lib/python3.6/site-packages
并检查了路径:
>>> import sys
>>> for p in sys.path:
... print(p)
...
/usr/lib/python36.zip
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/home/colin/Printrun/PrintrunEnv/lib/python3.6/site-packages
有没有人对这里发生的事情以及如何解决有任何建议?