I have two versions of python ( 2.7 and 3.6.4) installed on ubuntu 16.04
. Now I only want to work on 3.6.
I want to install few packages like pandas
and psycopg2
.
I tried to install it with pip3 install pandas
and it shows successfully installed. However, when I am trying to import from python 3.6 it is throwing me this error:
ModuleNotFoundError: No module named 'pandas'.
Now the question is how to tell installer (pip/pip3
) to install all packages under python3.6 so that I can import the installed packages?