问题如下:
使用
from progressbar import ProgressBar
出现
Traceback (most recent call last):
File “d:\pythonen\AAAI-2023-Code-main\synthetic-dataset-bernoulli\total-cost-varying-C-bernoulli.py”, line 14, in
from progressbar import ProgressBar
ModuleNotFoundError: No module named ‘progressbar’
可之前一直显示
pip install ProgressBar -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: ProgressBar in c:\anaconda\lib\site-packages (2.5)
删了装,装了删,用cmd的conda命令装不好,vscode的pip也不行,怎么回事。
3.9.13的python不报错,3.9.16和3.10.9的版本就报错。