1

Hi I am really really new to Python/Pycharm.

I am looking at a script written by my colleague and the first part is to import pandas as pd import numpy as np

Error Msg is : import pandas as pd ImportError: No module named pandas

I go to settings/Project Interpreter and see "pip". I clicked the "+" button and the error message is "Error loading package list: connect timed out"

I wonder how I can install the package.

Appreciated in advance.....

Christina
  • 63
  • 2
  • 6

1 Answers1

0

you can do it without pycharm by open a terminal (linux , mac os) or cmd (windows) and running

pip install pandas
pip install numpy 
Ron
  • 127
  • 10
  • @Christina you need to install `pip`. Look at the SO post, [here](https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows) – kstullich Nov 27 '17 at 16:59
  • @kstullich Pip comes with version 3.6. It's under C:\Python27\Scripts.. – Christina Nov 27 '17 at 17:02
  • @kstullich good catch...... i notice i have two versions of Python installed... pip are installed for both versions though. How should I run it properly through CMD? – Christina Nov 27 '17 at 17:15
  • give the full path to which python version to use – kstullich Nov 27 '17 at 17:40