python 2.3.1 on HP-UX 11.22

P

prabu

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.Traceback (most recent call last):
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.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.
 
J

John Koller

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 SNIP
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.

"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?
 
P

prabu

"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?
--------------------------------
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,291
Messages
2,571,483
Members
48,146
Latest member
Dino69J579

Latest Threads

Top