Installation Support for ActivePython

Installation Problems and FAQs for ActivePython

Having a problem? Check here first:

Frequently encountered problems may have an FAQ available.

http://community.activestate.com/faq-list?tid=54

Python 'turtle' script can't locate usable init.tcl

When I try to execute a simple turtle script I get the following error: "can't find a usable init.tcl in
C:/python34/lib/tcl8.6 C:/lib/tcl8.6 C:/lib/tcl8.6 C:/library C:/library C:/tcl8.6.1/library C:/tcl8.6.1/library."

I did the default ActiveState Python install, but none of these directories exist. (There is, however, a pyhton34/tcl subdirectory) There is a copy of init.tcl in python34/tcl/tcl8.6. Can someone tell me how to re-direct python to find the init.tcl?

Cannot use Tix with ActivePython 3.4.1.0 for Mac OSX (Mavericks)

Hello,

When I tried to do the following:

from tkinter import tix
from tkinter.constants import *
root = tix.Tk()

I get the following error message:

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tkinter/tix.py", line 221, in __init__
    self.tk.eval('package require Tix')
_tkinter.TclError: can't find package Tix

Is there anyway to use Tix on MacOSX? There are no problems using Tix on WIndows 7 version.

Known Issue Workaround: Python 3.4.1 Windows 64-bit IDLE (Python GUI) to fail to run

Symptoms: IDLE (Python GUI) fails to start from START Menu

PROBLEM:
Run IDLE (Python GUI) from START menu and get Window flash but nothing else. IDLE fails to start in a ActiveState Python 3.4.1 installation.

However, the Python Interactive shell runs properly from the START menu.

BACKGROUND:

This is a Windows 7 64-bit installation.

I installed ActivePython-3.4.1.0-win64-x64.msi (community edition) that was downloaded directly from the web site.

Ultimately, I installed from an Administrator privileged command line window using the msiexec /i command.

Python 2.7 should not install to windows system directory

Would it be possible to create a version of the Python 2.7 directory that doesn't install the Python27.dll into the c:\windows\system directory. It makes it harder to have other Python distributions installed on the same machine.

Pyknon library - using with Komodo on Mac

I have installed Pyknon on my Mac using 'pip'. This all worked and I can access the extra commands by including an import statement.

However, Komodo does not find the library to import in 'from pyknon.genmidi import Midi'.

Help please!

Robust Python 3 Installation on Mac?

I am trying to achieve a robust Python 3 installation.
This is for learning and personal use only.
My starting point is a MacBook Air with OS X 10.9.2.
From the terminal window Python 2.7.5 works fine.
I installed Python 3.3.5 from python.org
IDLE sees Tcl/Tk 8.5.9 which it reports to be potentially unstable
I installed the recommended ActiveTcl 8.6.1
Python 3.3.5 still sees Tcl/Tk 8.5.9.
Finding that the binding is supposed to be dynamic upon installation I uninstalled Python 3.3.5
I reinstalled Python 3.3.5
Python 3.3.5 still sees Tcl/Tk 8.5.9.
I uninstalled Python 3.3.5 again

Traceback Error from Python2.7 and 3.3 Interactive Shell Prompt

Okay!
Just successfully activated my ActiveState Komodo 8.x and tried to write my first interactive shell program. But when I navigated to Tools -> Interactive Shell -> Start New Python3 Shell, viola! I get series of traceback something looking like:

Traceback (most recent call last):
File "/root/Komodo-IDE-8/lib/support/dbgp/bin/py3_dbgp", line 305, in
sys.exit( main(sys.argv) )
File "/root/Komodo-IDE-8/lib/support/dbgp/bin/py3_dbgp", line 169, in main
_fixencoding()
File "/root/Komodo-IDE-8/lib/support/dbgp/bin/py3_dbgp", line 151, in _fixencoding

PyScripter Installation

I am a beginner and interested in Python. I've downloaded the 3.3 version and everything seems to be OK. I would like to try PyScripter as an IDE and would like to know if there is any reason I can't download it, install it, and use it with the ActiveState version of Python.

MacOS Mavericks ActiveState Python inoperable

There seem to be multiple problems with 3.3 and 3.2 ActiveState Pythons on Mavericks.

So far I've found that

1) readline needs some low level patch in end user's computers, which end users of Python application are unlikely to have skill set or desire to do.

2) python GUI features don't draw or refresh correctly, for example pop-up tooltips in tkinter don't draw text at all, tree view open/close clicks only refresh seconds or minutes later, etc. Not sure if this is in Python or the 8.6 separate tcl install.