在env中安装wxPython时未找到Python配置
我正在尝试使用python3-m pip install wxpython安装wxpython我有一台新安装了Ubuntu18.04.3 LTS的HP x86机器。我已经安装了一个python环境,并安装了python 3.6.9。当我在环境中运行上述命令时,我得到在env中安装wxPython时未找到Python配置,wxpython,python-config,Wxpython,Python Config,我正在尝试使用python3-m pip install wxpython安装wxpython我有一台新安装了Ubuntu18.04.3 LTS的HP x86机器。我已经安装了一个python环境,并安装了python 3.6.9。当我在环境中运行上述命令时,我得到 `python-config : not found Checking for library python3.6m in LIBDIR : not found
`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
有人对这里发生的事情以及如何修复有什么建议吗?上面错误消息中的
python config
指的是安装在python开发工具包中的脚本,而不是python包。请查看以查找有关pip构建wxPython所需安装的系统包的信息