You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PyISAPIe
Hello All,
I am getting "ImportError: No module named pytz".
pytz module is installed as an egg and accessible from python shell.
It is not importing with IIS/PyISAPIe though. Strange thing is that
suds module is importing just fine with IIS/PyISAPIe.
Here is my setup:
Windows 7 64bit
IIS 7
Python 2.6
Trace extract:
Could not initialize interpreter
Traceback (most recent call last):
File "c:\local_path\test.py", line 14, in
import pytz
ImportError: No module named pytz
Current Directory = 'c:\local_path'
Python Home = '<Auto>'
sys.executable = 'c:\local_path\PyISAPIe.dll'
sys.exec_prefix = 'C:\Python26'
sys.prefix = 'C:\Python26'
Any help will be appreciated.
Thanks,
Nick
Randy Syring
unread,
Sep 8, 2011, 10:45:36 AM9/8/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyis...@googlegroups.com, magus
Is it in zipped form (i.e. a single file)? Try installing as a directory instead of a file. Sometimes, the web user doesn't have permission to write to a temporary location, which is needed to unzip the egg.
-------------------------------------- Randy Syring Intelicom Direct: 502-276-0459 Office: 502-212-9913
For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord (Rom 6:23)
magus
unread,
Sep 8, 2011, 10:56:17 AM9/8/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PyISAPIe
Hi Randy,
It was a good point. Both suds and pytz modules are installed as
files. But the problem was indeed with access permissions. suds has
good permissions, pytz - not.
Thanks for your quick reaction. The problem is solved.
Nick
sanja...@gmail.com
unread,
Jul 14, 2012, 2:55:53 PM7/14/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message