I am using bash shell on Mac and I've set PYTHONPATH but i am still
getting "No module named main" error. I am probably doing something
wrong.
On Apr 9, 6:43 pm, satish wrote:
> Jeff, thank you for your response. I tried "import main" but now I get
> this error
> ---
> import main
> ImportErro
Jeff, thank you for your response. I tried "import main" but now I get
this error
---
import main
ImportError: No module named main
---
>From the shell, i changed to the directory in which i have my loader
file and ran this command
bulkloader.py --config_file=aliascommand_loader.py --
filename=a
Hi satish,
In your aliascommand_loader.py, the following import looks suspicious
import __main__
Since your module is main.py, I think this should just be
import main
The __main__ module is actually a build in module and I imagine this is not
what you wanted. (see http://docs.python.org/librar
Help, please! anyone? Thanks
On Apr 7, 7:04 am, satish wrote:
> if main.py were not in the path, import would've failed. Import
> statement worked fine.
>
> On Apr 6, 6:52 pm, 秦锋 wrote:
>
> > main.py is in PYTHONPATH?
> > What's your command looks like?
>
> > On 4月7日, 上午6时28分, satish wrote:
>
if main.py were not in the path, import would've failed. Import
statement worked fine.
On Apr 6, 6:52 pm, 秦锋 wrote:
> main.py is in PYTHONPATH?
> What's your command looks like?
>
> On 4月7日, 上午6时28分, satish wrote:
>
> > I am trying to use bulkuploader for the first time using the procedure
> >
main.py is in PYTHONPATH?
What's your command looks like?
On 4月7日, 上午6时28分, satish wrote:
> I am trying to use bulkuploader for the first time using the procedure
> outlined at this page (http://code.google.com/appengine/docs/python/
> tools/uploadingdata.html) but I am receiving the following e