|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
python questionHi everybody,
I installed package python on my SlugOS 5.3 slug. started a python program: Received: "ImportError: No module named platform" I have absolutely no clue as how python works. May be this is a basic configuration thing that I have to do first ... The python program has the task to go to web-address, download a bunch of xml pages and convert them to http. Any ideas? Rigas |
|
|
Re: python questionThis is more a python question than an NSLU2 question.
I think whatever script you're running probably has an "import platform" statement in it somewhere. Its looking to load a module that doesn't seem to be on your system - either the search path for the standard modules is messed up or your installation is faulty. cheers, H --- On Sun, 16/8/09, beerman_wendel <beerman_wendel@...> wrote: From: beerman_wendel <beerman_wendel@...> Subject: [nslu2-general] python question To: nslu2-general@... Date: Sunday, 16 August, 2009, 2:04 PM Hi everybody, I installed package python on my SlugOS 5.3 slug. started a python program: Received: "ImportError: No module named platform" I have absolutely no clue as how python works. May be this is a basic configuration thing that I have to do first ... The python program has the task to go to web-address, download a bunch of xml pages and convert them to http. Any ideas? Rigas See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/ [Non-text portions of this message have been removed] |
|
|
Re: python question--- In nslu2-general@..., "beerman_wendel" <beerman_wendel@...> wrote:
> > Hi everybody, > I installed package python on my SlugOS 5.3 slug. > started a python program: > > Received: > > "ImportError: No module named platform" > > I have absolutely no clue as how python works. May be this is a basic configuration thing that I have to do first ... > > The python program has the task to go to web-address, download a bunch of xml pages and convert them to http. > > Any ideas? > > Rigas > Platform is a standard module for a Python installation. Try doing a "find" to locate the file "platform.py." If it's not there, try re-installing Python. You might also check the PYTHONPATH variable for the user attempting to run the script. Try setting it to the location of your python libs (the directory where you found the platform.py file). Something like: export PYTHONPATH="/some/path/lib/python" |
| Free embeddable forum powered by Nabble | Forum Help |