Pycharm python version in terminal

Hello, below is what I execute in Pycharm Terminal:

why is my version of python is python 3.7.7, but terminal still use python2 to import package?

 

I also set python 3.7 as the project interpreter. Can somebody advise how to solve this issue?

 

1 comment
Comment actions Permalink

Please try the following suggestions:

1. `which pip` - should show which pip executable is actually being used. Is it from correct environment? 

2. Try reproducing the issue in the terminal outside of IDE - activate the same venv and run the same command.

0

Please sign in to leave a comment.