淘先锋技术网

首页 1 2 3 4 5 6 7

在这里插入图片描述
之前看网上的下载twisted ,没解决,后来试一下这个就成功了
下载对应的PyHamcrest:https://www.lfd.uci.edu/~gohlke/pythonlibs/#PyHamcrest
(我下载的版本为:PyHamcrest-2.0.2-py3-none-any.whl )
通过Anaconda3的Anaconda Prompt进行安装
定位到下载PyHamcrest的目录
pip install PyHamcrest-2.0.2-py3-none-any.whl
在这里插入图片描述
导入成功后错误消失
在这里插入图片描述