Canopy 在更新软件包时遇到困难,"AbortedOperationDetected"
Canopy is having difficulties updating packages, "AbortedOperationDetected"
I 运行 Canopy 版本版本:Windows10 上的 2.1.3.3542(64 位)。
Canopy 无法更新任何包,所有结果都相同
numpy 更新的日志输出(例如):
Warming up...
Traceback (most recent call last):
File "build\bdist.win-amd64\egg\canopy_dashboard\packman\package_action_worker.py", line 54, in run
File "build\bdist.win-amd64\egg\canopy_dashboard\packman\package_action.py", line 196, in execute
File "build\bdist.win-amd64\egg\canopy_dashboard\packman\packman.py", line 626, in <lambda>
File "build\bdist.win-amd64\egg\canopy_dashboard\packman\packman.py", line 1051, in _install
File "build\bdist.win-amd64\egg\canopy_platform\cpython_packages_manager.py", line 152, in install_packages_prompt
File "build\bdist.win-amd64\egg\canopy_platform\cpython_packages_manager.py", line 137, in _install_packages_prompt
PackagesInstallationError: installation of packages ['numpy 1.11.3-3'] failed. Details below:
Traceback (most recent call last):
File "build\bdist.win-amd64\egg\canopy_platform\edm_api.py", line 64, in wrapper
File "build\bdist.win-amd64\egg\canopy_platform\edm_api.py", line 384, in install_command
File "build\bdist.win-amd64\egg\canopy_platform\edm_api.py", line 414, in _install_packages_command
File "build\bdist.win-amd64\egg\edm\core\packages_manager.py", line 124, in decorator
File "build\bdist.win-amd64\egg\edm\core\packages_manager.py", line 219, in install_command
File "build\bdist.win-amd64\egg\edm\core\packages_manager.py", line 223, in _install_command
File "build\bdist.win-amd64\egg\edm\core\packages_manager.py", line 549, in _compute_fix_aborted_actions
AbortedOperationDetected: Aborted operation detected in environment 'User'
此错误代码在 google 上绝对有 0 个结果,所以 stackexchange 是我最后的选择
之前的更新似乎被强制中止,可能导致环境损坏。假设您使用的是标准安装程序,那么
就足够了
- 重新启动计算机
- 如果可能,暂时禁用您的防病毒软件(或至少禁用其更具侵入性/速度较慢的功能,例如在线检查 Canopy 提供的数以万计的软件包文件中的每一个),
- 从 Canopy 工具菜单,select 疑难解答 => 重置 Python 环境
I 运行 Canopy 版本版本:Windows10 上的 2.1.3.3542(64 位)。 Canopy 无法更新任何包,所有结果都相同
numpy 更新的日志输出(例如):
Warming up...
Traceback (most recent call last):
File "build\bdist.win-amd64\egg\canopy_dashboard\packman\package_action_worker.py", line 54, in run
File "build\bdist.win-amd64\egg\canopy_dashboard\packman\package_action.py", line 196, in execute
File "build\bdist.win-amd64\egg\canopy_dashboard\packman\packman.py", line 626, in <lambda>
File "build\bdist.win-amd64\egg\canopy_dashboard\packman\packman.py", line 1051, in _install
File "build\bdist.win-amd64\egg\canopy_platform\cpython_packages_manager.py", line 152, in install_packages_prompt
File "build\bdist.win-amd64\egg\canopy_platform\cpython_packages_manager.py", line 137, in _install_packages_prompt
PackagesInstallationError: installation of packages ['numpy 1.11.3-3'] failed. Details below:
Traceback (most recent call last):
File "build\bdist.win-amd64\egg\canopy_platform\edm_api.py", line 64, in wrapper
File "build\bdist.win-amd64\egg\canopy_platform\edm_api.py", line 384, in install_command
File "build\bdist.win-amd64\egg\canopy_platform\edm_api.py", line 414, in _install_packages_command
File "build\bdist.win-amd64\egg\edm\core\packages_manager.py", line 124, in decorator
File "build\bdist.win-amd64\egg\edm\core\packages_manager.py", line 219, in install_command
File "build\bdist.win-amd64\egg\edm\core\packages_manager.py", line 223, in _install_command
File "build\bdist.win-amd64\egg\edm\core\packages_manager.py", line 549, in _compute_fix_aborted_actions
AbortedOperationDetected: Aborted operation detected in environment 'User'
此错误代码在 google 上绝对有 0 个结果,所以 stackexchange 是我最后的选择
之前的更新似乎被强制中止,可能导致环境损坏。假设您使用的是标准安装程序,那么
就足够了- 重新启动计算机
- 如果可能,暂时禁用您的防病毒软件(或至少禁用其更具侵入性/速度较慢的功能,例如在线检查 Canopy 提供的数以万计的软件包文件中的每一个),
- 从 Canopy 工具菜单,select 疑难解答 => 重置 Python 环境