1

I'm using pyhton 3.5.2 and gonna run VPython on my windows machine.

I'd just installed VPython by pip, correctly.

But as I want to run the test script, as following:

from vpython import *
box()

An error will be raised:

get_ipython().kernel.comm_manager.register_target('glow', GlowWidget) AttributeError: 'NoneType' object has no attribute 'kernel'

Does anybody have any idea about this issue?

Potential unanswered duplicate: here

After I removed all versions and installed version 3.5 again, an error has been appeared, not to find any usable init.tcl. Furthermore, the idle editor will not be started up!

3
  • Have you multiple versions of Python on your machine? Commented Nov 26, 2016 at 5:51
  • @Roboticist: Yes all 2.7, 3.2, 3.4 and 3.5, together. Commented Nov 26, 2016 at 5:52
  • 1
    You better consider the possibility of conflict between all them. Just remove two middle versions, for the sake of testing whether the problem will be resolved or not... Commented Nov 26, 2016 at 5:53

1 Answer 1

1

The conflict has changed the tcl file within your local directories. The problem with idle is, probably, the corruption of tkInter files.

Just copy C:\Python35\tcl to C:\Python35\Lib, entirely. Both issues must be resolved.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.