Answer the question
In order to leave comments, you need to log in
Why is PyCharm not working properly?
For some strange and incomprehensible reason, PyCharm does not work at all. When running programs, it throws errors:
Failed to import the site module
Traceback (most recent call last):
File "my path\Python\Python\lib\site.py", line 544, in
main()
File "my path\Python \Python\lib\site.py", line 526, in main
known_paths = removeduppaths()
File "my path\Python\Python\lib\site.py", line 126, in removeduppaths
dir, dircase = makepath(dir)
File "my path\Programs\Python\Python\lib\site.py", line 91, in makepath
dir = os.path.join(*paths)
AttributeError: module 'os' has no attribute 'path'
EVERYTHING WORKS NORMALLY WHEN LAUNCHING IN THE CONSOLE! Thus the interpreter there costs one and the same. Also, when importing packages, such as from collections import deque. It highlights the deque in red, as if there is no such package, but it is. Why is that?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question