Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > Bugs > Topic : python configuration



Normal Mode | Print  

 python configuration (10 Replies, Read 39367 times)
Cody
Group: Member
Post Group: Newbie
Posts: 4
Status:
With a fresh install of AMPPS 1.9 I got an error when using python with mod_wsgi. (python 2.7 is also installed systemwide) A minimal wsgi app works, but when I add the line
Code
import sqlite3
I get an error 500.
I studied the configuration and the lines
Code
WSGIPythonPath "{$path}\python"
and
Code
WSGIPythonHome "
{$path}
\python\Lib;
{$path}
\python\Lib\site-packages;
{$path}
\python\DLLs"
seemed wrong to me. After exchanging the values importing the sqlite3 module worked. This also makes more sense to me with the documentation of this directives in mind.
Are these values mixed up in the default configuration?
IP: --   


Threads
 Cody   python configuration (10 Replies, Read 39367 times)
    |--  tidus   Hi, In Ampps...   on September 10, 2012, 6:12 am
    |--  Cody   Thanks for your...   on September 10, 2012, 3:17 pm
    |--  tidus   Hi, Can you...   on September 11, 2012, 7:04 am
    |--  Cody   The following Script...   on September 11, 2012, 9:07 am
    |--  Cody   sorry, small typo...   on September 11, 2012, 9:11 am
    |--  aniceman   I have managed...   on August 1, 2013, 12:13 pm
    |--  tidus   I have managed...   on August 1, 2013, 12:37 pm
    |--  aniceman   I have already...   on August 2, 2013, 9:01 am
    |--  tidus   I have already...   on August 2, 2013, 9:21 am
    |--  aniceman   My file is...   on August 2, 2013, 1:38 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 27, 2024, 10:46 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.069