简体   繁体   English

在MacOs High Sierra上出现Canopy Package Manager错误

[英]Enthought Canopy Package Manager error on MacOs High Sierra

I have a problem with installing packages via the built in Package Manager of enthought Canopy. 我通过有思想的Canopy的内置软件包管理器安装软件包时遇到问题。 I tried to use the "Upgrade all packages", but it failed. 我尝试使用“升级所有软件包”,但是失败了。

Beforehand, I tried to solve my problem according to this post , but it did not functionating. 之前,我尝试根据这篇文章解决我的问题,但是它没有起作用。

The Package Manager returns with the message: 程序包管理器返回以下消息:

Warming up...

Traceback (most recent call last):
  File "build/bdist.macosx-10.6-       x86_64/egg/canopy_dashboard/packman/package_action_worker.py", line 52,     in run
  File "build/bdist.macosx-10.6-    x86_64/egg/canopy_dashboard/packman/package_action.py", line 196, in     execute
  File "build/bdist.macosx-10.6-    x86_64/egg/canopy_dashboard/packman/packman.py", line 726, in <lambda>
  File "build/bdist.macosx-10.6-    x86_64/egg/canopy_dashboard/packman/packman.py", line 1116, in     _upgrade_all
  File "build/bdist.macosx-10.6-    x86_64/egg/canopy_platform/cpython_packages_manager.py", line 268, in     upgrade_all_packages_prompt
  File "build/bdist.macosx-10.6-    x86_64/egg/canopy_platform/cpython_packages_manager.py", line 334, in     _upgrade_all_packages_prompt
PackageUpgradeAllError: upgrading all packages failed. Details     below: 
 Traceback (most recent call last):
  File "build/bdist.macosx-10.6-    x86_64/egg/canopy_platform/edm_api.py", line 65, in wrapper
  File "build/bdist.macosx-10.6-    x86_64/egg/canopy_platform/edm_api.py", line 431, in     upgrade_all_packages_command
  File "build/bdist.macosx-10.6-    x86_64/egg/canopy_platform/edm_api.py", line 95, in wrapper
  File "build/bdist.macosx-10.6-    x86_64/egg/canopy_platform/edm_api.py", line 454, in     _upgrade_all_command
  File "build/bdist.macosx-10.6-    x86_64/egg/edm/core/packages_manager.py", line 124, in decorator
  File "build/bdist.macosx-10.6-    x86_64/egg/edm/core/packages_manager.py", line 490, in     upgrade_all_command
  File "build/bdist.macosx-10.6-    x86_64/egg/edm/core/packages_manager.py", line 505, in     _upgrade_all_command
  File "build/bdist.macosx-10.6-    x86_64/egg/edm/core/packages_manager.py", line 774, in     _actions_from_request
UnresolvableRequirements: Unable to satisfy requirements 
Conflicting requirements:
Requirements: 'qt == 5.6.2-1'
    Install command rule (+qt-5.6.2-1)
Requirements: 'pyside == 1.2.2-15' <- 'qt ^= 4.8.7' <- 'qt'
    Can only install one of: (+qt-4.8.7-7 | +qt-5.6.2-1)
Requirements: 'pyside == 1.2.2-15' <- 'shiboken ^= 1.2.2' <- 'qt ^=     4.8.7'
    shiboken-1.2.2-14 requires (+qt-4.8.7-4 | +qt-4.8.7-5 | +qt-    4.8.7-6 | +qt-4.8.7-7 | +qt-4.8.7-9 | +qt-4.8.7-10)
Requirements: 'shiboken == 1.2.2-14'
    Install command rule (+shiboken-1.2.2-14)

For me, this screen isn't informative and so I am not able to figure out how to solve this problem. 对我来说,此屏幕没有提供信息,因此我无法弄清楚如何解决此问题。

Please uninstall pyside, shiboken, and qt, then try again. 请卸载pyside,shiboken和qt,然后重试。 (Pyside is already installed using qt 4, and this cannot coexist with qt 5 in the same environment.) Alternatively, you could use Canopy's integrated EDM to create a new environment with pyqt 5, so you could still use pyside / qt 4 in your original user environment and use pyqt 5 in your new environment. (Pyside已经使用qt 4安装,并且不能在同一环境中与qt 5共存。)或者,您可以使用Canopy的集成EDM创建带有pyqt 5的新环境,因此您仍然可以在自己的环境中使用pyside / qt 4原始用户环境,并在新环境中使用pyqt 5。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM