Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup and run Python on Wampserver?

Can anyone help me to set up Python to run on Wampserver. From what I've read so far you would need to use a combination of Wampser, Python, mod_pyhton, and adjustment to the Apache http.conf file. I've tried it but i belive i am having conflict when it comes to versions. Does anyone know of a cobination of versions that can work so that i can do some local python development using my wampserver? Links to the download would be greatly appreciated.

My current config: Wampserver 2.0c => Apache Version : 2.2.8 , PHP Version : 5.2.6 , MySQL Version : 5.0.51b

like image 455
Chris Moguel Avatar asked Jan 26 '10 03:01

Chris Moguel


People also ask

Can I use Python on WAMP?

Python support can be added to WampServer fairly easily, similar to adding any Apache module that doesn't ship with the base package. You need to take a few extra steps to make sure you can continue to use WampServer console to manage your application stack.

How do I use WampServer?

Download: Go to https://www.wampserver.com/en/ and install the version that is appropriate for your system. After installation, run the installer. During this part, you can change your default browser if you want.


2 Answers

Do not use mod_python; it does not do what most people think it does. Use mod_wsgi instead.

like image 53
Ignacio Vazquez-Abrams Avatar answered Sep 23 '22 20:09

Ignacio Vazquez-Abrams


How about using web.py (download) or django?

They have their own web server, and you can also connect MySQL server with MySQLdb extension.

like image 20
YOU Avatar answered Sep 24 '22 20:09

YOU