I have Anaconda installed on Windows Server 2008 OS. Today, after an accidental system reboot, strange things happened. I started a CMD window and activated my anaconda python environment. Then when I typed 'python' to start the python interpreter, a new CMD window started, which is strange. Also, the 'pip list' command also started a new CMD window which disappeared immediately.
I don't know why. Could anyone give me some help?
-
You might try to use System Restore and roll back to before this happened.harrymc– harrymc2019年07月09日 11:07:50 +00:00Commented Jul 9, 2019 at 11:07
-
@harrymc Thanks. Do you know why this happens?Gödel– Gödel2019年07月09日 11:50:05 +00:00Commented Jul 9, 2019 at 11:50
2 Answers 2
For me it was caused by the executable being set to run as administrator in the compatability settings.
To fix this:
- Right-click on Python.exe
- Click Properties → Compatibility
- Uncheck Run this program as an administrator
-
1Could you edit and expand upon your answer as it's not terribly clear. You mean right clicking on the file to obtain its properties?Greenonline– Greenonline2020年08月02日 12:11:53 +00:00Commented Aug 2, 2020 at 12:11
What happens when a reboot happens through power-failure or other unplanned crashes is unpredictable and sometimes very hard to analyze.
The easiest solution is to use System Restore to roll back to before this happened, to restore Windows to its previous working condition.