我不能在ubuntu上安装mu编辑器。下面我会照搬上面写的。我尝试了很多事情,也许我把一切都搞砸了
-PC:~$ pip3 install mu-editor
Defaulting to user installation because normal site-packages is not writeable
Collecting mu-editor
Using cached mu_editor-1.0.3-py3-none-any.whl (2.0 MB)
Collecting qtconsole==4.3.1
Using cached qtconsole-4.3.1-py2.py3-none-any.whl (108 kB)
Collecting semver>=2.8.0
Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting pycodestyle==2.4.0
Using cached pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB)
Collecting pyserial==3.4
Downloading pyserial-3.4-py2.py3-none-any.whl (193 kB)
|████████████████████████████████| 193 kB 175 kB/s
Collecting mu-editor
Using cached mu_editor-1.0.2-py3-none-any.whl (2.0 MB)
Collecting requests>=2.19.1
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting gpiozero>=1.4.1
Downloading gpiozero-1.6.2-py2.py3-none-any.whl (148 kB)
|████████████████████████████████| 148 kB 86 kB/s
Collecting pyflakes==2.0.0
Downloading pyflakes-2.0.0-py2.py3-none-any.whl (53 kB)
|████████████████████████████████| 53 kB 72 kB/s
Collecting guizero>=0.5.2
Downloading guizero-1.2.0-py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 54 kB/s
Collecting pigpio>=1.40.post1
Downloading pigpio-1.78-py2.py3-none-any.whl (39 kB)
Collecting mu-editor
Using cached mu_editor-1.0.1-py3-none-any.whl (1.9 MB)
Using cached mu_editor-1.0.0-py3-none-any.whl (1.7 MB)
ERROR: Cannot install mu-editor==1.0.0, mu-editor==1.0.1, mu-editor==1.0.2 and mu-editor==1.0.3 because these package versions have conflicting dependencies.
The conflict is caused by:
mu-editor 1.0.3 depends on qscintilla==2.11.4
mu-editor 1.0.2 depends on PyQtChart==5.11.3
mu-editor 1.0.1 depends on qscintilla==2.10.7
mu-editor 1.0.0 depends on qscintilla==2.10.7
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies发布于 2021-05-29 07:51:09
您有库版本冲突。
在我的18.04LTS系统中,所有来自官方存储库的包( Python3 3@3.6.9,pip3 3@9.0.1)都是我通过使用以下命令调整mu-editor包版本来正常安装Python3的:
pip3 install --user qscintilla==2.10 PyQtChart==5.9.2 pyqt5==5.9.2 mu-editor==1.0.3如果使用相同的python3版本,但使用升级的pip3 3@21.1.2,则可以使用下面的安装命令:
pip3 install --user qscintilla==2.11.4 mu-editor==1.0.3请注意,mu-editor deb-包只在20.04 LTS之后才在正式的Ubuntu存储库中显示。
https://askubuntu.com/questions/1341365
复制相似问题