Python pycharm项目解释器有请求,但ModuleNotFoundError:没有名为';请求';

Python pycharm项目解释器有请求,但ModuleNotFoundError:没有名为';请求';,python,pycharm,Python,Pycharm,这在Macos上 我的项目口译员位于: Pycharm>Preferences>Project解释器 Python 3.7 (Evohome) ~ /Evohome/bin/python ##### Evohome is my project name Package Version etc certifi chardet idna pip requests setuptools urllib3 如果我运行脚本: import requests 导入请求的结果是此处出现此错误

这在Macos上

我的项目口译员位于:

Pycharm>Preferences>Project解释器

Python 3.7 (Evohome) ~ /Evohome/bin/python   ##### Evohome is my project name
Package       Version etc
certifi
chardet
idna
pip
requests
setuptools
urllib3
如果我运行脚本:

import requests
导入请求的结果是此处出现此错误。

ModuleNotFoundError: No module named 'requests'
```

So, I can't get past the first bit after which I want to
import JSON


**if I run this code**
```
x = help("modules")
print(x)
exit(0)
```
**The Result from this is**
```
/Users/Jeff/venv/bin/python /Users/Jeff/Documents/Pycharm/EvoHome/Test1.py

Please wait a moment while I gather a list of all available modules...

```
*massive list of available modules*
```
Enter any module name to get more help.  Or, type "modules spam" to search
for modules whose name or summary contain the string "spam".

None

Process finished with exit code 0
```

不知道是哪一个干的 pyenv安装3.7.6

pyenv global 3.7.6

pyenv版本


echo-e'if命令-v pyenv 1>/dev/null 2>&1;然后\n评估“$(pyenv init-”\nfi'>>~/.zshrc

您是如何将解释器安装到项目目录中的?我终于解决了请求问题,因为pip3仍在更新2.7