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

can you install python.org python 3 alongside activepython 3 in 64-bit win 7?

I'd like to have both the python.org version of python 3 and activepython running on my 64-bit windows 7 machine. Is this possible? (currently I have 32-bit activepython installed (as the tcl interpeter is corrupt in 64-bit activepython), and before I install the python.org version I'd like to know whether its' safe. Thanks.

TkInter not working in fresh install of Python 2.7 on Windows 10

After installing ActivePython-2.7.10.12-win64-x64 on a fresh copy of Windows 10, TkInter python fails to initialise with

File "C:\Python27\lib\lib-tk\Tkinter.py", line 1814, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
C:/Python27/lib/tcl8.5 C:/lib/tcl8.5 C:/lib/tcl8.5 C:/library C:/library C:/tcl8.5.18/library C:/tcl8.5.18/library

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