I am running Windows 10 and python 3.6.3 Python no longer has the ability to import modules to any of my codes, including codes that previously worked. I keep getting the error that no module can be found for anything.
Asked
Active
Viewed 3,842 times
1 Answers
0
please explain your question with some code so that it's easy to figure out what caused the problem. My suggestions: 1. Check if you have your main file (the file into which you import from other files) in the same directory as the imported files. 2. Check if the file name is the same as before. 3. Try reinstalling python3 4. If you are using IDEs like PyCharm, Spider, etc. Try checking the import statement in python IDLE if this works then try reinstalling the IDE. 5. Try setting the path to python.
where pythonandpython -V? What are the results ofwhere pip? Have you tried runningpy -3.6 [some script name]? How did you install Python (from https://python.org, via Anaconda, etc.?) You say that no packages will work but which have you tried specifically? Please edit your question to include as much relevant information as possible. – Anaksunaman Jun 04 '19 at 22:49