Could not find a version that satisfies the requirement typing-extensions (from torch) (from versions: none)
时间: 2023-08-28 10:17:00 浏览: 136
引用和引用的内容,当实习生在使用pip命令安装PIL时,出现了ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)的错误提示。根据维基百科链接https://www.wikiwand.com/en/Python_Imaging_Library,PIL库只支持Python 2.7的版本,并且在较高的Python版本中被Pillow所替代。所以正确的安装命令应该是pip install Pillow。 问题中的错误提示"Could not find a version that satisfies the requirement typing-extensions (from torch) (from versions: none)"与安装PIL库的错误提示类似,可能是因为typing-extensions库与当前使用的torch版本不兼容。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)解决方案](https://blog.csdn.net/weixin_43178406/article/details/130536747)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文