Hornbein
Gold Member
- 3,393
- 2,752
- TL;DR Summary
- Trying to install software to run Python code I wrote in 2021.
I have some Python code I wrote and ran in 2021. I'm trying to run it again. I have a computer I bought in 2024 running Windows 11.
I used to run under Anaconda. I downloaded that. Attempts to run Spyder, the Python IDE, failed. It wouldn't execute.
So I downloaded Spyder and Python. I was able run Spyder and see my code. But Spyder failed to "connect to the kernel", going into an infinite loop. An Internet search came up with all sorts of different solutions, from rebooting the computer to resetting variables in Anaconda. I tried a number of installs and uninstalls, which incurred some ominous error messages. In the end I was no worse off but Spyder still can't connect to the kernel and execute code. I tried starting Spyder in debug mode : it crashes immediately.
I attempted to execute Python directly from a file. One of those black shell windows would come up for an instant then disappear.
I'm able to start Python from a command line prompt. I don't know how to use it this way. Naturally it doesn't know where any of the files I'm trying to import are.
Any suggestions?
I used to run under Anaconda. I downloaded that. Attempts to run Spyder, the Python IDE, failed. It wouldn't execute.
So I downloaded Spyder and Python. I was able run Spyder and see my code. But Spyder failed to "connect to the kernel", going into an infinite loop. An Internet search came up with all sorts of different solutions, from rebooting the computer to resetting variables in Anaconda. I tried a number of installs and uninstalls, which incurred some ominous error messages. In the end I was no worse off but Spyder still can't connect to the kernel and execute code. I tried starting Spyder in debug mode : it crashes immediately.
I attempted to execute Python directly from a file. One of those black shell windows would come up for an instant then disappear.
I'm able to start Python from a command line prompt. I don't know how to use it this way. Naturally it doesn't know where any of the files I'm trying to import are.
Any suggestions?
Last edited: