Trouble installing os module
Answered
Just started using Pycharm. I had no issues installing and using numpy, pandas, and matplotlib, but when I tried installing os it returned this error:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\PC\\AppData\\Local\\Temp\\pycharm-packaging\\os\\setup.py'
I tried running 'pip install --user os' in the command prompt but that returned 'pip is not recognized as an internal or external command, operable program, or batch file'.
Where to go from here?
Thanks!
Please sign in to leave a comment.
Hello,
Could you please clarify why do you want to install 'os' package? It should be already in your interpreter: https://docs.python.org/2/library/os.html. Do you have red highlighting of it in Editor?
Hi,
I am getting a similar error:
IOError:[Errno 2] No such file or directory: 'tmp/pycharm-packagin/os/setup.py'
Anna - you are correct - the OS module should be part of the standard Python2 library
I am still getting the same error msg - not sure why
A number of sites have suggested pointing pycharm to anaconda, whilst others have suggested downloading tensorflow etc. - I've tried the lot = no joy I'm afraid
I am using Ubunto 12.04 and Python 2.7