ubuntu18.04 pyqt pyqtgraph版本冲突问题问题

1.问题可能出现在于Ubuntu默认3.6 跟 pyqtgraph官方的要求冲突。

ubuntu18.04 pyqt pyqtgraph版本冲突问题问题_第1张图片

 解决方法:

#安装完ROS 换清华源,安装python虚拟环境后
安装python 3.8 

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.8


装完python 3.8
mkvirtualenv --python=/usr/bin/python3.8 pyqt5_py3.8
worken workon pyqt5_py3.8

1.sudo apt install pyqt5*
2.sudo apt install qt5-default qttools5-dev-tools
3.pip install pyqt5==5.15.2
4.pip install pyqtgraph pyOpenGL open3d


6.pip install opencv-python==4.6.0.66
6.5pip install opencv-python-headless
7pip install rospkg






导出库:pip freeze > requirements.text

留一个 目前的依赖库

addict==2.4.0
asttokens==2.1.0
attrs==22.1.0
backcall==0.2.0
catkin-pkg==0.5.2
certifi==2022.9.24
charset-normalizer==2.1.1
click==8.1.3
ConfigArgParse==1.5.3
contourpy==1.0.6
cycler==0.11.0
dash==2.7.0
dash-core-components==2.0.0
dash-html-components==2.0.0
dash-table==5.0.0
debugpy==1.6.3
decorator==5.1.1
distro==1.8.0
docopt==0.6.2
docutils==0.19
entrypoints==0.4
executing==1.2.0
fastjsonschema==2.16.2
Flask==2.2.2
fonttools==4.38.0
idna==3.4
importlib-metadata==5.0.0
importlib-resources==5.10.0
ipykernel==6.17.0
ipython==8.6.0
ipywidgets==8.0.2
itsdangerous==2.1.2
jedi==0.18.1
Jinja2==3.1.2
joblib==1.2.0
jsonschema==4.17.0
jupyter_client==7.4.4
jupyter_core==4.11.2
jupyterlab-widgets==3.0.3
kiwisolver==1.4.4
MarkupSafe==2.1.1
matplotlib==3.6.2
matplotlib-inline==0.1.6
nbformat==5.5.0
nest-asyncio==1.5.6
numpy==1.23.4
open3d==0.16.0
opencv-python==4.3.0.36
packaging==21.3
pandas==1.5.1
parso==0.8.3
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.3.0
pipreqs==0.4.11
pkg_resources==0.0.0
pkgutil_resolve_name==1.3.10
plotly==5.11.0
prompt-toolkit==3.0.32
psutil==5.9.3
ptyprocess==0.7.0
pure-eval==0.2.2
Pygments==2.13.0
PyOpenGL==3.1.6
pyparsing==3.0.9
PyQt5==5.15.0
PyQt5-sip==12.11.0
pyqtgraph==0.13.1
pyquaternion==0.9.9
pyrsistent==0.19.2
python-dateutil==2.8.2
pytz==2022.6
PyYAML==6.0
pyzmq==24.0.1
requests==2.28.1
rospkg==1.4.0
scikit-learn==1.1.3
scipy==1.9.3
six==1.16.0
stack-data==0.6.0
tenacity==8.1.0
threadpoolctl==3.1.0
tornado==6.2
tqdm==4.64.1
traitlets==5.5.0
urllib3==1.26.12
wcwidth==0.2.5
Werkzeug==2.2.2
widgetsnbextension==4.0.3
yarg==0.1.9
zipp==3.10.0

ubuntu18.04 pyqt pyqtgraph版本冲突问题问题_第2张图片

你可能感兴趣的:(ros,pyqt)