Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/311.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.5.0b3、3.5.0rc1:如何使tkinter、Idle和turtle在Windows上工作_Python_Windows_Python 3.x_Tkinter_Python Idle - Fatal编程技术网

Python 3.5.0b3、3.5.0rc1:如何使tkinter、Idle和turtle在Windows上工作

Python 3.5.0b3、3.5.0rc1:如何使tkinter、Idle和turtle在Windows上工作,python,windows,python-3.x,tkinter,python-idle,Python,Windows,Python 3.x,Tkinter,Python Idle,我在Win7 Pro上安装Python时遇到问题。 Python 3.5a2安装没有任何问题,工作正常。 Python3.5rc1安装时没有任何问题,但idle不起作用。 其中一些是3.5b3 你知道吗?这是最近3.5.0 Windows安装程序中的一个错误 症状:在未安装VS2015的Windows计算机上安装3.5.0rc1(例如)。运行交互式python并输入import tkinter,或者运行这样做的程序(Idle、Turtle、turtledemo或您自己的)。得到消息 您的Pyth

我在Win7 Pro上安装Python时遇到问题。 Python 3.5a2安装没有任何问题,工作正常。 Python3.5rc1安装时没有任何问题,但idle不起作用。 其中一些是3.5b3


你知道吗?

这是最近3.5.0 Windows安装程序中的一个错误

症状:在未安装VS2015的Windows计算机上安装3.5.0rc1(例如)。运行交互式python并输入
import tkinter
,或者运行这样做的程序(Idle、Turtle、turtledemo或您自己的)。得到消息

您的Python可能没有为Tk配置


修复:在python35安装目录中,查找子目录
/DLLs
。在该查找子目录中,找到一个文件
vcruntime140.dll
。将此文件上移到
/DLLs
(保留
/MicrosoftVC140.CRT
为空)。Tkinter现在应该可以工作了。

此解决方案解决了问题。一切正常。非常感谢。为了向未来的读者澄清:这个问题是由Python3.5.0最终版本解决的,因此除非您有意找到预发布安装程序,否则这不太可能是相关的。