我已经安装了请求模块C:\Python34\Scripts\easy_install.exe requests
我到了文件夹的位置
^{pr2}$
系统中有一个路径变量C:\Python34\Lib\site-packages
但当我运行脚本时C:\Users\beast\Desktop>update.py
我得到错误没有名为'requests'的模块Traceback (most recent call last):
File "C:\Users\beast\Desktop\plex_playlist_update.py", line 17, in
import requests
ModuleNotFoundError: No module named 'requests'
我试着用pip安装以防万一python -m pip install requests
Requirement already satisfied: requests in c:\python34\lib\site-packages\requests-2.13.0-py3.4.egg
我是python新手,在任何地方都找不到答案。在
更新:
我找到了一个命令来检查我的python搜索位置。在C:\Users\beast\Desktop>python -c "import site; print(site.getsitepackages())"
['C:\\Python34', 'C:\\Python34\\lib\\site-packages']
我想这和C:\Python34和C:\Python34有关?如何检查或修复此问题?在