提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档
使用anaconda创建python环境时,报错
ModuleNotFoundError: No module named 'tqdm'
。
。
。
An unexpected error has occurred. Conda has prepared the above report.
conda create --name paddle2.5 python=3.8,提示
(base) C:\Users\xxxxxxxxxx>conda create --name paddle2.5 python=3.9
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "D:\Anaconda3\lib\site-packages\conda\exceptions.py", line 1079, in __call__
return func(*args, **kwargs)
File "D:\Anaconda3\lib\site-packages\conda\cli\main.py", line 84, in _main
exit_code = do_call(args, p)
File "D:\Anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 83, in do_call
return getattr(module, func_name)(args, parser)
File "D:\Anaconda3\lib\site-packages\conda\cli\main_create.py", line 41, in execute
install(args, parser, 'create')
File "D:\Anaconda3\lib\site-packages\conda\cli\install.py", line 116, in install
if context.use_only_tar_bz2:
File "D:\Anaconda3\lib\site-packages\conda\base\context.py", line 714, in use_only_tar_bz2
import conda_package_handling.api
File "D:\Anaconda3\lib\site-packages\conda_package_handling\api.py", line 7, in <module>
import tqdm as _tqdm
ModuleNotFoundError: No module named 'tqdm'
.
.
.
.
.
..
.
.
.
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : D:\Anaconda3\pkgs
C:\Users\xxxxx\.conda\pkgs
C:\Users\xxxxxx\AppData\Local\conda\conda\pkgs
envs directories : D:\Anaconda3\envs
C:\Users\xx\.conda\envs
C:\Users\xx\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Windows/10 Windows/10.0.19041
administrator : False
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
[y/N]: y
Upload successful.
Thank you for helping to improve conda.
Opt-in to always sending reports (and not see this message again)
by running
$ conda config --set report_errors true
提示:以下是本篇文章正文内容,下面案例可供参考
这是由于conda环境中缺少了tqdm包,需要使用conda或者pip命令进行安装
代码如下(示例):
1、pip install tqdm
或者
2、conda install tqdm