A CPython distribution for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX, distributed by ActiveState.
Questions tagged [activepython]
56 questions
1
vote
2 answers
How to install pyobjc on activepython 2.6 for snow leopard?
I need json, pyobjc and ideally psyco as well.
I got all but pyobjc working on active python 2.6. How do I successfully install pyobjc properly?
Thank you.

Matthew Mitchell
- 5,293
- 14
- 70
- 122
1
vote
0 answers
How does PIP work with 2 Python distributions in OSX? Will I maintain 2 separate package "lists"?
I'm having a hard time understanding the way pip is supposed to work when there's 2 Python distributions in the machine.
My setup:
OSX 10.9.5
Default Python (2.7.5 (default, Mar 9 2014, 22:15:05))
ActiveState Python (2.7.8 (default, Jul 7 2014,…

JJarava
- 552
- 10
- 18
1
vote
1 answer
Python3 and Tcl/Tk 8.5 on OS X 10.5
On a 10.5 Mac (i386) I’ve install ActivePython-3.1.2.3 and ActiveTcl8.5.17.0
I’ve got a trouble with my script.py and I guess it come from Tcl/Tk invocation.
In a terminal :
Python3
import tkinter
tkinter._test()
return me 8.4 version…

Berhu
- 26
- 1
1
vote
0 answers
Pywin32 alternative or a way to cast PyIDL to PIDL
So apparently I have uncovered a bug in pywin32. Now I can't use the win32com.shell.shell.SHGetFileInfo function with win32com.shell.shellcon.SHGFI_PIDL flag.
What I want to do is to enumerate the desktop icons (all of them, including the virtual…

Ella Sharakanski
- 2,683
- 3
- 27
- 47
1
vote
2 answers
ActivePython and MySQLdb
I have installed ActivePython and am trying to import MySQLdb
>> import mySQLdb
gives me an error stating No module called MySQLdb
I have tried searching but all the resources out there explain how to set up the mySQLdb for unix, not for windows,…

Mponnada
- 263
- 5
- 18
1
vote
1 answer
BeautifulSoup / lxml: Are there problems with large elements?
import os, re, sys, urllib2
from bs4 import BeautifulSoup
import lxml
html = urllib2.urlopen("http://www.hoerzu.de/tv-programm/jetzt/")
soup = BeautifulSoup(html, "lxml")
divs = soup.find_all("div", {"class":"block"})
print…

christophrus
- 1,170
- 2
- 14
- 27
1
vote
0 answers
Where can I get the Visual Studio PDB files for ActivePython builds?
I currently have ActivePython-2.7.2.5-win32-x86.msi installed on my computer and python.exe is hanging. I won't go into all of the details of this hang, but in order to continue debugging I have decided that it is necessary to debug the C code that…

denversc
- 468
- 7
- 9
1
vote
3 answers
Global name 'debug' not defined
I'm trying to write a script that authenticates to AD. Here's my problem:
import sys
sys.stdout = open('output.csv', 'w')
def ad_dict(ldapobj,attr_dict={},recurse=0,auth=1,filter=()):
if ldapobj.find(',')==-1:…

user1681573
- 893
- 1
- 9
- 13
1
vote
1 answer
ActiveState restrictions for a company?
I recently learned about ActivePython as a convenient way of quickly getting Python up and running on a variety of platforms.
I am employed by a private software company in the US and was wondering: what are the implications of downloading and using…

Amelio Vazquez-Reina
- 91,494
- 132
- 359
- 564
1
vote
0 answers
ActivePython 2.7.2 - how to install time as a builtin package?
I have installed ActivePython 2.7.2 in my linux machine. I need time to be builtin module instead of being loaded from lib-dynload/time.so
On searching Stackoverflow archives I found that you can do this by uncommenting
time timemodule.c
in…

Anand
- 1,122
- 3
- 20
- 33
0
votes
3 answers
Python 3.2 doesn't work with python 2.7
I already have python 2.7 (installed using activepython). I'm trying to use python 3.2 just to learn more about it so i downloaded it from python.org
python 2.7 still works perfectly, but python 3.2 gives me this error when i try to open the…

Lynob
- 5,059
- 15
- 64
- 114
0
votes
1 answer
Python to run geopy via ActivePython
Trying to get a location using Python and Google Maps, so I tried to use Geopy module by installing activepython using pypm install geopy but i get a problem which is geo required business edition subscription. Can any one help me?
Thanks in…

ingy
- 19
- 1
- 3
0
votes
1 answer
Problems with installing Python os module on Python
I have recently downloaded ActivePython 3.6 and it works just fine, but when I try to install the os module I get following console output:Command prompt screenshot
Thank you for all your help in advance:)

Leo
- 45
- 1
- 5
0
votes
1 answer
How can I download and use pypm gratis?
I have the community edition of ActiveState Python installed under Linux Mint 18.1, and do not see how to access PyPM. I have also attempted to install python-pypm through Mint's package manager
There is no pypm in /opt/ActivePython-3.6'bin, and…

Christos Hayward
- 5,777
- 17
- 58
- 113
0
votes
1 answer
How to specify installdir for ActivePython 2.7.13
I don't understand why the MSI installers are gone for ActivePython, but they are, and it broke an unattended install setup on Windows. I need to have 32 and 64-bit versions installed and specifying INSTALLDIR, TARGETDIR, DEFAULTALLUSERSTARGETDIR…

thesiegs
- 13
- 3