问题描述
我是django
的新手,正在使用anaconda cloud environment
.它已经运行了3个月了,但截至2018年7月24日,它只是停止启动导航器或通过cmd打开.我无法管理环境或安装软件包.在启动时使用anaconda prompt
也会给我同样的错误.它在我想安装django-Oscar
时开始,但是没有依赖关系,我被迫手动安装软件包,这又需要cytoolz
,而这些软件包也需要我也必须安装的Microsoft Visual C++
构建工具,但错误仍然存在.请帮帮我!
I'm new to django
and using the anaconda cloud environment
. Its been working well for 3 months plus but as of 7-24-2018 it is just stop to launch the navigator or open through cmd. I can't manage environments or install packages. Using the anaconda prompt
also gives me the same error upon launching. It started when I wanted to install django-Oscar
, but not having its dependencies I was forced to install the packages manually which in turn needed cytoolz
that needs Microsoft Visual C++
build tools which I got to install as well but the error persists. Please help me!
CMD跟踪的复制/粘贴:
Copy/Paste of CMD Traceback:
C:\ Users \ kaukau \ Desktop> anaconda-navigator Traceback(最近通话) 最后):文件 "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ qtpy__init __.py",行 169,在 从PySide导入版本作为PYSIDE_VERSION#分析:忽略ModuleNotFoundError:没有名为"PySide"的模块
C:\Users\kaukau\Desktop>anaconda-navigator Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\lib\site-packages\qtpy__init__.py", line 169, in from PySide import version as PYSIDE_VERSION # analysis:ignore ModuleNotFoundError: No module named 'PySide'
在处理上述异常期间,发生了另一个异常:
During handling of the above exception, another exception occurred:
回溯(最近通话最近):文件 "C:\ Users \ kaukau \ Anaconda3 \ Scripts \ anaconda-navigator-script.py",行 6,在 从anaconda_navigator.app.main导入主文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ anaconda_navigator \ app \ main.py", 第22行,在 从anaconda_navigator.utils.conda导入is_conda_available文件 "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ anaconda_navigator \ utils__init __.py", 第15行 从qtpy.QtGui导入QIcon文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ qtpy__init __.py",行 175,英寸 引发PythonQtError('找不到Qt绑定')qtpy.PythonQtError:找不到Qt绑定
Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\Scripts\anaconda-navigator-script.py", line 6, in from anaconda_navigator.app.main import main File "C:\Users\kaukau\Anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 22, in from anaconda_navigator.utils.conda import is_conda_available File "C:\Users\kaukau\Anaconda3\lib\site-packages\anaconda_navigator\utils__init__.py", line 15, in from qtpy.QtGui import QIcon File "C:\Users\kaukau\Anaconda3\lib\site-packages\qtpy__init__.py", line 175, in raise PythonQtError('No Qt bindings could be found') qtpy.PythonQtError: No Qt bindings could be found
C:\ Users \ kaukau \ Desktop> conda install qt --force追溯(大多数 最近通话结束):文件 "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ common \ configuration.py", 第42行 从cytoolz.dicttoolz导入合并文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ cytoolz__init __.py", 第1行,在 从.itertoolz导入* ModuleNotFoundError:没有名为"cytoolz.itertoolz"的模块
C:\Users\kaukau\Desktop>conda install qt --force Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\common\configuration.py", line 42, in from cytoolz.dicttoolz import merge File "C:\Users\kaukau\Anaconda3\lib\site-packages\cytoolz__init__.py", line 1, in from .itertoolz import * ModuleNotFoundError: No module named 'cytoolz.itertoolz'
在处理上述异常期间,发生了另一个异常:
During handling of the above exception, another exception occurred:
回溯(最近通话最近):文件 "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ exceptions.py", 第819行,在致电中 返回func(* args,** kwargs)文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ cli \ main.py",行 73,在_main中 从..base.context导入上下文文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ base \ context.py", 第23行,在 从..common.configuration导入(Configuration,LoadError,MapParameter,PrimitiveParameter,File "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ common \ configuration.py", 第47行,在 从.._ vendor.toolz.functoolz导入,文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda_vendor \ toolz \ functoolz.py"除外, 501行 f.名称,用于f的倒序形式((self.first,)+ self.funcs), ^ SyntaxError:生成器表达式必须加括号
Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\exceptions.py", line 819, in call return func(*args, **kwargs) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\cli\main.py", line 73, in _main from ..base.context import context File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\base\context.py", line 23, in from ..common.configuration import (Configuration, LoadError, MapParameter, PrimitiveParameter, File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\common\configuration.py", line 47, in from .._vendor.toolz.functoolz import excepts File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda_vendor\toolz\functoolz.py", line 501 f.name for f in reversed((self.first,) + self.funcs), ^ SyntaxError: Generator expression must be parenthesized
在处理上述异常期间,发生了另一个异常:
During handling of the above exception, another exception occurred:
回溯(最近通话最近):文件 "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ common \ configuration.py", 第42行 从cytoolz.dicttoolz导入合并文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ cytoolz__init __.py", 第1行,在 从.itertoolz导入* ModuleNotFoundError:没有名为"cytoolz.itertoolz"的模块
Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\common\configuration.py", line 42, in from cytoolz.dicttoolz import merge File "C:\Users\kaukau\Anaconda3\lib\site-packages\cytoolz__init__.py", line 1, in from .itertoolz import * ModuleNotFoundError: No module named 'cytoolz.itertoolz'
在处理上述异常期间,发生了另一个异常:
During handling of the above exception, another exception occurred:
回溯(最近通话最近):文件 第10行中的"C:\ Users \ kaukau \ Anaconda3 \ Scripts \ conda-script.py" sys.exit(main())文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ cli \ main.py",行 113,主要 返回conda_exception_handler(_main,* args)文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ exceptions.py", 第1112行,在conda_exception_handler中 return_value = exception_handler(func,* args,** kwargs)文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ exceptions.py", 第822行,在致电中 返回self.handle_exception(exc_val,exc_tb)文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ exceptions.py", 第864行,在handle_exception中 返回self.handle_unexpected_exception(exc_val,exc_tb)文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ exceptions.py", 第876行,在handle_unexpected_exception中 self.print_unexpected_error_report(error_report)文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ exceptions.py", 第932行,在print_unexpected_error_report中 从.base.context导入上下文文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ base \ context.py", 第23行,在 从..common.configuration导入(Configuration,LoadError,MapParameter,PrimitiveParameter,File "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ common \ configuration.py", 第47行,在 从.._ vendor.toolz.functoolz导入,文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda_vendor \ toolz \ functoolz.py"除外, 501行 f.名称,用于f的倒序形式((self.first,)+ self.funcs), ^ SyntaxError:生成器表达式必须用圆括号括起来(最近一次调用为最新):File "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ common \ configuration.py", 第42行 从cytoolz.dicttoolz导入合并文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ cytoolz__init __.py", 第1行,在 从.itertoolz导入* ModuleNotFoundError:没有名为"cytoolz.itertoolz"的模块
Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\Scripts\conda-script.py", line 10, in sys.exit(main()) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\cli\main.py", line 113, in main return conda_exception_handler(_main, *args) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\exceptions.py", line 1112, in conda_exception_handler return_value = exception_handler(func, *args, **kwargs) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\exceptions.py", line 822, in call return self.handle_exception(exc_val, exc_tb) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\exceptions.py", line 864, in handle_exception return self.handle_unexpected_exception(exc_val, exc_tb) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\exceptions.py", line 876, in handle_unexpected_exception self.print_unexpected_error_report(error_report) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\exceptions.py", line 932, in print_unexpected_error_report from .base.context import context File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\base\context.py", line 23, in from ..common.configuration import (Configuration, LoadError, MapParameter, PrimitiveParameter, File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\common\configuration.py", line 47, in from .._vendor.toolz.functoolz import excepts File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda_vendor\toolz\functoolz.py", line 501 f.name for f in reversed((self.first,) + self.funcs), ^ SyntaxError: Generator expression must be parenthesized Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\common\configuration.py", line 42, in from cytoolz.dicttoolz import merge File "C:\Users\kaukau\Anaconda3\lib\site-packages\cytoolz__init__.py", line 1, in from .itertoolz import * ModuleNotFoundError: No module named 'cytoolz.itertoolz'
在处理上述异常期间,发生了另一个异常:
During handling of the above exception, another exception occurred:
回溯(最近通话最近):文件 "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ cli \ main.py",行 97,主要 从..activate导入主文件作为activator_main文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ activate.py",行 11,在 从.base.context导入ROOT_ENV_NAME,上下文,locate_prefix_by_name文件 "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ base \ context.py", 第23行,在 从..common.configuration导入(Configuration,LoadError,MapParameter,PrimitiveParameter,File "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ common \ configuration.py", 第47行,在 从.._ vendor.toolz.functoolz导入,文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda_vendor \ toolz \ functoolz.py"除外, 501行 f.名称,用于f的倒序形式((self.first,)+ self.funcs), ^ SyntaxError:生成器表达式必须加括号
Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\cli\main.py", line 97, in main from ..activate import main as activator_main File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\activate.py", line 11, in from .base.context import ROOT_ENV_NAME, context, locate_prefix_by_name File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\base\context.py", line 23, in from ..common.configuration import (Configuration, LoadError, MapParameter, PrimitiveParameter, File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\common\configuration.py", line 47, in from .._vendor.toolz.functoolz import excepts File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda_vendor\toolz\functoolz.py", line 501 f.name for f in reversed((self.first,) + self.funcs), ^ SyntaxError: Generator expression must be parenthesized
在处理上述异常期间,发生了另一个异常:
During handling of the above exception, another exception occurred:
回溯(最近通话最近):文件 "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ common \ configuration.py", 第42行 从cytoolz.dicttoolz导入合并文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ cytoolz__init __.py", 第1行,在 从.itertoolz导入* ModuleNotFoundError:没有名为"cytoolz.itertoolz"的模块
Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\common\configuration.py", line 42, in from cytoolz.dicttoolz import merge File "C:\Users\kaukau\Anaconda3\lib\site-packages\cytoolz__init__.py", line 1, in from .itertoolz import * ModuleNotFoundError: No module named 'cytoolz.itertoolz'
在处理上述异常期间,发生了另一个异常:
During handling of the above exception, another exception occurred:
回溯(最近通话最近):文件 第10行中的"C:\ Users \ kaukau \ Anaconda3 \ Scripts \ conda-script.py" sys.exit(main())文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ cli \ main.py",行 110,主要 返回ExceptionHandler().handle_exception(exc_val,exc_tb)文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ exceptions.py", 第864行,在handle_exception中 返回self.handle_unexpected_exception(exc_val,exc_tb)文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ exceptions.py", 第876行,在handle_unexpected_exception中 self.print_unexpected_error_report(error_report)文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ exceptions.py", 第932行,在print_unexpected_error_report中 从.base.context导入上下文文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ base \ context.py", 第23行,在 从..common.configuration导入(Configuration,LoadError,MapParameter,PrimitiveParameter,File "C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda \ common \ configuration.py", 第47行,在 从.._ vendor.toolz.functoolz导入,文件"C:\ Users \ kaukau \ Anaconda3 \ lib \ site-packages \ conda_vendor \ toolz \ functoolz.py"除外, 501行 f.名称,用于f的倒序形式((self.first,)+ self.funcs), ^ SyntaxError:生成器表达式必须加括号
Traceback (most recent call last): File "C:\Users\kaukau\Anaconda3\Scripts\conda-script.py", line 10, in sys.exit(main()) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\cli\main.py", line 110, in main return ExceptionHandler().handle_exception(exc_val, exc_tb) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\exceptions.py", line 864, in handle_exception return self.handle_unexpected_exception(exc_val, exc_tb) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\exceptions.py", line 876, in handle_unexpected_exception self.print_unexpected_error_report(error_report) File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\exceptions.py", line 932, in print_unexpected_error_report from .base.context import context File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\base\context.py", line 23, in from ..common.configuration import (Configuration, LoadError, MapParameter, PrimitiveParameter, File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda\common\configuration.py", line 47, in from .._vendor.toolz.functoolz import excepts File "C:\Users\kaukau\Anaconda3\lib\site-packages\conda_vendor\toolz\functoolz.py", line 501 f.name for f in reversed((self.first,) + self.funcs), ^ SyntaxError: Generator expression must be parenthesized
我刚刚发现,除了:> conda --version<之外,我什至不能使用任何conda命令.仅命令.请帮助我解决此问题而无需卸载,然后完全重新安装anaconda
I've just found out that I cant even use any conda commands except the : >conda --version< command only.Please help me resolve this issue without uninstalling then reinstalling anaconda completely
推荐答案
很抱歉浪费您的时间,我通过完全重新安装anaconda来解决它,并且每个项目都重新开始工作.赞赏.
Sorry to waste your time, I solved it by reinstalling anaconda completely and every project started working again....thanks to those who read it, the effort is appreciated.
这篇关于anaconda导航器即使通过cmd也不会启动,也不会安装或更新或管理环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!