简体   繁体   中英

Python IDLE shell not opening

I am using Windows 8.1 and have installed OpenCV for Python 2.7. I was able to complete the installation. But I have not been able to open the python IDLE shell. Whenever I click on it, It opens for a second and disappears.

I did try all the steps mentioned in this link Python IDLE won´t start

Also I could not find the environment variable called TCL_LIBRARY in my system.

THIS WORKS😎:

I have installed Anaconda python,so

open python\\Lib\\idlelib

There you can find idle file of python

This will open python shell

Pin it to taskbar and work

我对ActivePython 2.7有一些问题,在安装x86版本的ActivePython时已解决(最初我尝试使用x64)

I am not sure what exactly the problem was. It might have been various versions conflict or just that my installation was not right. I removed every previously installed versions and started from scratch, and it seems to be working fine for now.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM