Переустанавливал PyCharm непомогло:
Failed to import the site module
Traceback (most recent call last):
File "/usr/lib/python3.6/site.py", line 570, in <module>
main()
File "/usr/lib/python3.6/site.py", line 552, in main
known_paths = removeduppaths()
File "/usr/lib/python3.6/site.py", line 132, in removeduppaths
dir, dircase = makepath(dir)
File "/usr/lib/python3.6/site.py", line 97, in makepath
dir = os.path.join(*paths)
AttributeError: module 'os' has no attribute 'path'
Process finished with exit code 1