0

Okay so I have just started to learn python. I use pycharm to currently write the code. I just dont understand how I install modules. For example I wish to load in excel files. I have seen that either pandas or openpyxl can be used, but I dont get how I get access to these modules. All videos I have seen online just type either install openpyxl or pip install pandas. 'install' does not come up as a valid function on my window. Other functions come up highlighted before I complete them and install seems to be like its not recognized and once executed I get a syntax error for install. Do I have to download these modules before installing?

1 Answers1

1
pip install <package>

needs to be written in terminal, not in code window. In the bottom left corner you have "terminal" button, press it, and in new window type pip install whatever you want.

kuba1302
  • 26
  • 4