我正在尝试使用OIDv4(https://github.com/EscVM/OIDv4_ToolKit)从开放图像数据集下载花卉数据集,但程序可以运行,但最终结果是一个巨大的CSV文件,其中包含整个开放图像数据集和零图像< / p>
我正在anaconda虚拟环境上运行该程序,并且已经安装了所需的库。以下是我收到的错误消息
File "C:\ProgramData\Anaconda3\Scripts\aws.cmd", line 50, in <module>
File association not found for extension .py
import awscli.clidriver
File "C:\Users\xlim027\AppData\Roaming\Python\Python36\site-packages\awscli\clidriver.py", line 17, in <module>
import botocore.session
File "C:\Users\xlim027\AppData\Roaming\Python\Python36\site-packages\botocore\session.py", line 31, in <module>
import botocore.client
File "C:\Users\xlim027\AppData\Roaming\Python\Python36\site-packages\botocore\client.py", line 16, in <module>
from botocore import waiter, xform_name
File "C:\Users\xlim027\AppData\Roaming\Python\Python36\site-packages\botocore\waiter.py", line 13, in <module>
Traceback (most recent call last):
import jmespath
ModuleNotFoundError: No module named 'jmespath'
答案 0 :(得分:0)
尝试手动安装软件包:
pip3 install jmespath
https://www.reddit.com/r/aws/comments/7qhp7y/importerror_no_module_named_jmespath/
答案 1 :(得分:0)
尚未安装pip3时-这对我有所帮助
sudo apt-get install python3-jmespath