Questions tagged [activepython]

A CPython distribution for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX, distributed by ActiveState.

56 questions
79
votes
6 answers

Why does ActivePython exist?

What's ActivePython actually about? From what I've read it's just standard Python with OpenSSL and PyWin32 (on Windows). No big deal I guess; I could install them in matter of minutes, and most people don't need them anyway. All other mentioned…
kurczak
  • 1,521
  • 1
  • 10
  • 18
34
votes
5 answers

What is the difference between ActivePython and Python?

I am new to Python. I am supposed to launch an application and perform some tasks on the application from Python. I found Python from python.org and ActivePython from activestate.com. What is the difference between them? Which should I install?
vj85
  • 577
  • 3
  • 7
  • 12
27
votes
5 answers

is it possible to run pygame or pyglet in a browser?

I have 3 game libraries installed on my PC: pyglet, pygame and Panda3D. I would like to create a 2D game and make it a web browser game so i can put it on facebook. I know that Panda3D has a web-browser-plugin. Panda3D is for 3D games…
Lynob
  • 5,059
  • 15
  • 64
  • 114
20
votes
7 answers

Cannot establish connection to sql-server using pyodbc on Windows 7

I'm using ActivePython 2.7.2.5 on Windows 7. While trying to connect to a sql-server database with the pyodbc module using the below code, I receive the subsequent Traceback. Any ideas on what I'm doing wrong? CODE: import pyodbc driver = 'SQL…
nicholsonjf
  • 971
  • 2
  • 11
  • 21
14
votes
2 answers

Python loading old version of sklearn

I've installed version 0.18.2 of scikit-learn on my Mac using pip uninstall scikit-learn pip install scikit-learn==0.18.2 However, when I run python >>> import sklearn >>> sklearn.__version__ I get '0.17' Interestingly, this older version is…
Biennial
  • 355
  • 1
  • 2
  • 9
13
votes
3 answers

How to obtain pre-built *debug* version of Python library (e.g. Python27_d.dll) for Windows

Firstly, I should state that my current development environment is MSYS + mingw-w64 + ActivePython under Windows 7 and that on a normal day I am primarily a Linux developer. I am having no joy obtaining, or compiling, a version of the Python library…
codeasone
  • 1,953
  • 2
  • 23
  • 30
9
votes
1 answer

Getting ActivePython to work with WSH

I've installed ActivePython 2.7.2 and I'm trying to execute a .pys script via the console with wscript/cscript, [i.e. ActivePython (PythonScript with .pys extension) in Microsoft's WSH(Windows Scripting Host)] and when trying with wscript I get…
ldmvcd
  • 968
  • 3
  • 10
  • 15
8
votes
2 answers

500 Server Error for Python in ASP Script

The following asp script is giving me the error: "HTTP/1.1 500 Server Error" <%@ Language = Python%> <% def main(): Response.Write("My first ASP script!") main() %> when I run it on IIS 7.5 Windows 7 (64 bit). In the error log it simply…
Baz
  • 12,713
  • 38
  • 145
  • 268
7
votes
7 answers

Which python installation should I use?

I'm about to refresh myself in programming and I have decided on Python 2.6 for that. I have searched the net and it gave me two possible installers for download. One is from the Python site and another is from Activestate. Which one should I…
Marcus TV
  • 71
  • 3
5
votes
6 answers

Python learning environment

I'm looking to get up to speed on Python: Is it worth working locally via the ActivePython interface, then progressing to a website that supports one of the standard frameworks (Django or Pylons) OR utilize the Google Apps environment? I want to…
meade
  • 22,875
  • 12
  • 32
  • 36
4
votes
1 answer

panda 3d importing module error

I'm trying to learn panda 3d, but I'm getting this error importerror no module named direct.showbase.showbase I'm using the latest versions of panda 3d 1.7.2, python 2.7 on windows xp, how to fix the error?
Lynob
  • 5,059
  • 15
  • 64
  • 114
4
votes
1 answer

How to fix cannot find sdist pip-*.tar.gz

I was looking for some answer for this problem so I could not find anyone. But in this images you can see my problem... Cannot find sdist pip-*.tar.gz But I followed the installation guide for Windows of course and I have the same…
4
votes
4 answers

Install pyCurl in ActivePython-2.6?

I have worked with pyCurl in the past and have it working with my system default python install. However, I have a project that requires python to be more portable and I am using ActivePython-2.6. I have had no problems installing any other modules…
joshcody
  • 105
  • 3
  • 6
3
votes
2 answers

Problems running a python script as a service

I have used this question to learn install my python script as a service with ActivePython. I am able to install my script and remove it, as I would expect, but my problem is that once I start the script running, I then lose the ability to stop it…
ewok
  • 20,148
  • 51
  • 149
  • 254
3
votes
1 answer

How to install OpenCV 2.2 on OSX 10.5 32-bit for ActivePython 2.7?

The title is the whole question. I have tried homebrew with the --build32 option I have tried macports I have tried downloading the source file and compiling from scratch. All the above install perfectly with no issues. However -- after tracking…
ely
  • 74,674
  • 34
  • 147
  • 228
1
2 3 4