I clone a python project from github and a virtual environment has been set up in the project.
Then I set up this virtual environment in the python interpretor and module "urllib3" is shown in the package list.
However when I run the project, the error occurs
No module named 'urllib3'
It seems that the virtual environment does not take effects but I am really confused why.
Plus, I run this program in terminal by
pytest xxx.py
I am not sure whether this is a reason for the problem. If it is, how to fix it?