Re: Module not found

2018-08-28 Thread Sharan Basappa
On Monday, 27 August 2018 22:45:47 UTC+5:30, Peter Otten wrote: > Sharan Basappa wrote: > > > I am running a program that I got as reference from GitHub. > > I am running on windows OS. > > > > Here is a snippet of the code (initial few lines). > > > > #!/usr/bin/env python > > # -*- coding: ut

Re: Module not found

2018-08-27 Thread Peter Otten
Sharan Basappa wrote: > I am running a program that I got as reference from GitHub. > I am running on windows OS. > > Here is a snippet of the code (initial few lines). > > #!/usr/bin/env python > # -*- coding: utf-8 -*- > __author__ = 'Shilin He' > > import sys > sys.path.insert(0, 'D:\Project

Re: Module not found

2018-08-27 Thread Larry Martell
On Mon, Aug 27, 2018 at 11:20 AM, Sharan Basappa wrote: > I am running a program that I got as reference from GitHub. > I am running on windows OS. > > Here is a snippet of the code (initial few lines). > > #!/usr/bin/env python > # -*- coding: utf-8 -*- > __author__ = 'Shilin He' > > import sys >

Re: Module not found in script that was found in command-line interpreter. Possible Path issue?

2008-04-15 Thread Jacob Davis
On Apr 3, 2008, at 10:54 AM, Trent Mick wrote: > Jacob Davis wrote: >> I just installed the MySQLdb module and I have been able to get it >> to run in my command line interpreter. I am running Mac Leopard, >> and Python 2.5. >> I have tested importing and actually connecting and using a MySQL

Re: Module not found in script that was found in command-line interpreter. Possible Path issue?

2008-04-03 Thread Trent Mick
Jacob Davis wrote: > I just installed the MySQLdb module and I have been able to get it to > run in my command line interpreter. > > I am running Mac Leopard, and Python 2.5. > > I have tested importing and actually connecting and using a MySQL > database, although it issues some warning: >

Re: module not found in IIS virtual dir

2005-08-31 Thread Peter Maas
Peter Maas schrieb: > I'm trying to call python scripts from IIS in the following tree: [...] > If I run selectFiles.py from the command line everything is ok. But > if I call it via IIS (http://localhost/vselect/selectFiles.py) there > is an error "No module named util" [...] Forget it. It was an