slackorama

 

Python

Page history last edited by seth 2 yrs ago


IDLE Problems

Won't start on Windows XP because of TkInter errors.

This may affect other OSs but I've only seen it happen on Windows XP when you have ruby installed. I fixed it by unsetting my TCL_LIBRARY environment variable.

set TCL_LIBRARY

 

Snippets

Find where site-packages are stored

The location of the site-packages directory depends on the operating system, and the location in which Python was installed. To find out your system’s site-packages location, execute the following:

 

python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"

Comments (0)

You don't have permission to comment on this page.