Pycharm doesn't see packet 'datetime'

  • 4
  • 6

When I write 'import datetime', pycharm underlines by red, also an autocomplite doesn't work for it.
Other modules work ok.

1) File / settings / Python interpretator / Path - contains all paths.
2) python uses this packet ok.

What can I do?
Thanks.
Hi Oleg!
hmm.. weird. If Python uses this packet normally, then please remove existing interpreter from pycharm and add it again.
Dmitry Filippov
Product Marketing Manager
Jetbrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

This didn't help me.
Pycharm used to work fine before when I updated ubuntu from 12.10 -> 13.04

are you able to import this module from pure python interpreter, launched in console? if yes, please try to launch pycharm from console... bin/pycharm.sh. Remove interpreter, add interpreter with which you managed to import the module, and see if it fix this problem.
Dmitry Filippov
Product Marketing Manager
Jetbrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"