Connecting Tech Pros Worldwide Forums | Help | Site Map

python 2.3.1 on HP-UX 11.22

prabu
Guest
 
Posts: n/a
#1: Jul 18 '05
Hello all,
I am new to Python,And this is my first post.I have installed "Fsh",an Opensource Product ,very similar to SSH on
my HP-UX B.11.22 U ia64(IPF).It has Python dependency.The problem is that,when I execute Fsh at commanline
following error occurs,
# fsh
Traceback (most recent call last):
File "/usr/bin/fsh", line 6, in ?
import fsh
File "/opt/iexpress/fsh/share/fsh/fsh.py", line 22, in ?
import select
ImportError: No module named select

Later on analysing Python,I found that a module called "select" was missing.
# python
Python 2.3.1 (#3, Nov 15 2003, 09:39:56)
[GCC 3.3.2] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.[color=blue][color=green][color=darkred]
>>> import select[/color][/color][/color]
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named select[color=blue][color=green][color=darkred]
>>>[/color][/color][/color]
But I am able to execute Fsh on my another machine B.11.11 U 9000/800.So I checked there for Select module as below,
# python
Python 2.3.3 (#2, Mar 4 2004, 12:13:24) [C] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.[color=blue][color=green][color=darkred]
>>> import select
>>>[/color][/color][/color]
Here,it works,aslo I was able to find the "select" modules in the list of all modules persent in the python.

My question,is that whether "select" module is present in 3.2.1 version?.If not where can i find the select modules for python and
how to import "select" module to python?.What are all the ways.

Help me to solve this problem.

With Advance Thanks,
Prabu.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 6/27/2004

John Koller
Guest
 
Posts: n/a
#2: Jul 18 '05

re: python 2.3.1 on HP-UX 11.22


On Fri, 02 Jul 2004 09:06:35 +0530, prabu wrote:
[color=blue]
> Hello all,
> I am new to Python,And this is my first post.I have installed
> "Fsh",an Opensource Product ,very similar to SSH on
> my HP-UX B.11.22 U ia64(IPF).It has Python dependency.The problem is
> that,when I execute Fsh at commanline following error occurs,
> # fsh
> Traceback (most recent call last):
> File "/usr/bin/fsh", line 6, in ?
> import fsh
> File "/opt/iexpress/fsh/share/fsh/fsh.py", line 22, in ?
> import select
> ImportError: No module named select[/color]
SNIP[color=blue]
> My question,is that whether "select" module is present in 3.2.1
> version?.If not where can i find the select modules for python and
> how to import "select" module to python?.What are all the ways.
>
> Help me to solve this problem.
>
> With Advance Thanks,
> Prabu.[/color]

"Python Standard Library" lists select as a standard module for 2.0. You
may have a bad installation. Can you import the other modules of the
standard library?

--
John Koller http://home.earthlink.net/~johnkoller




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
prabu
Guest
 
Posts: n/a
#3: Jul 18 '05

re: python 2.3.1 on HP-UX 11.22


[color=blue]
> "Python Standard Library" lists select as a standard module for 2.0. You
> may have a bad installation. Can you import the other modules of the
> standard library?[/color]
--------------------------------
Yes,there was a problem with Python build.Now,I have rebuild it,i am able to
import select and other modules.

Thanks for ur response

Regards,
Prabu.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.713 / Virus Database: 469 - Release Date: 6/30/2004



prabu
Guest
 
Posts: n/a
#4: Jul 18 '05

re: python 2.3.1 on HP-UX 11.22


> It's fairly clear that this particular install of Python is hosed. You[color=blue]
> might want to
> get a pre-packaged version from a HP Porting site, for instance:
>
> http://hpux.cs.utah.edu/hppd/hpux/La.../python-2.3.3/[/color]

--------------------------------------

Yeah,I was looking for a pre-packaged version,thanks a lot for ur
information.

Regards,
Prabu.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.713 / Virus Database: 469 - Release Date: 6/30/2004



Anthony Baxter
Guest
 
Posts: n/a
#5: Jul 18 '05

re: python 2.3.1 on HP-UX 11.22


On Mon, 05 Jul 2004 02:02:26 -0400, John Koller
<johnkoller@earthlink.net> wrote:[color=blue]
> On Fri, 02 Jul 2004 09:06:35 +0530, prabu wrote:
>[color=green]
> > Hello all,
> > I am new to Python,And this is my first post.I have installed
> > "Fsh",an Opensource Product ,very similar to SSH on
> > my HP-UX B.11.22 U ia64(IPF).It has Python dependency.The problem is[/color][/color]
[color=blue][color=green]
> > ImportError: No module named select[/color][/color]
[color=blue]
> "Python Standard Library" lists select as a standard module for 2.0. You
> may have a bad installation. Can you import the other modules of the
> standard library?[/color]

It's fairly clear that this particular install of Python is hosed. You
might want to
get a pre-packaged version from a HP Porting site, for instance:

http://hpux.cs.utah.edu/hppd/hpux/La.../python-2.3.3/

Closed Thread