Python Forum

Full Version: importing packages to pycharm
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am new to packages use in python. I am using pycharm and installed pandas and few other packages from the project interpreter window but i am having trouble importing those packages.[Image: open?id=1sHmN-Q9GqX3vV4oMAezaCn5tKBMpV_yj]

If anyone can help, thank you.
This is no problem, it is just a warning message to tell you that the imported module is not (yet) used in your script. It is a very handy tool really and you will notice it does same e.g. for variables.
As soon as you will add a line of code that uses sys or other modules, their highlighting colour will change and warning gone.
I will add that it is not a good idea to use a space within the file name. Even though Windows File Explorer and programs will recognize it, the command terminal will not. You will get an error such as
Error:
C:\Python>panda try.py 'panda' is not recognized as an internal or external command, operable program or batch file.
If you are going to use multiple word file names, it's better to use an underscore i.e. panda_try.py