New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Python Apache problem

Post Reply New Thread Subscribe

Thread Tools

Member Since: Jul 12, 2010
Posts: 1
ssdesign is on a distinguished road

ssdesign is offline
I have a problem understanding how the Python installations on my Macbook are working.

When I run Python programs from Terminal window, they are using this Python:

When I type "which python" it shows:

When I run Python scripts in browser (.py scripts) the errors show that Apache is trying to use this python:

By the above, you would have realised that I have MAMP installed.
I have also installed SPMPT on top of MAMP (this installs the mod_python for MAMP and also comes with its own python)

So, my question is, whats going on here? and How can I easily tell Apache which Python to use while executing Python scripts in browser and visa versa, how can I configure Terminal and tell it to use a specific Python installation on my computer.

My ideal solution would be, terminal start using the same python that my Apache is using.

Looking forward to your answers.
QUOTE Thanks

Post Reply New Thread Subscribe

« Spotlight V100 folder | Mac Mail Keychain & Snow Leopard »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
iPhone onscreen volume control problem smuggerific iOS and Apps 1 04-19-2010 10:18 AM
Imac early 2006 core duo graphics card problem; mircomandrillo Apple Desktops 0 12-03-2009 04:03 AM
Intermittent Startup Problem (hardware) j3sp Apple Desktops 3 05-19-2008 10:50 AM
Default PHP & Apache problem MBPro Switcher Hangout 2 09-04-2007 03:22 AM
apache problem OSX 10.3.2 jon_bennett OS X - Operating System 0 12-19-2003 11:47 AM

All times are GMT -4. The time now is 02:33 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?