[Numpy-discussion] error of install numpy on linux redhat.

Jack Bryan dtustudy68 at hotmail.com
Fri Oct 26 11:33:51 EDT 2012


During the make: I got :

Failed to find the necessary bits to build these modules:
_tkinter           bsddb185           dl
imageop            sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

running build_scripts

During the make install : I got :

running install_egg_info
Removing /home/user/myname/usr/lib/python2.6/site-packages/Python-2.6.8-py2.6.egg-info
Writing /home/user/myname/usr/lib/python2.6/site-packages/Python-2.6.8-py2.6.egg-info
if test -f /home/user/myname/.local/bin/python -o -h /home/user/jding/.local/bin/python; \
        then rm -f /home/user/myname/.local/bin/python; \
        else true; \
        fi
(cd /home/user/myname/.local/bin; ln python2.6 python)
rm -f /home/user/myname/.local/bin/python-config
(cd /home/user/myname/.local/bin; ln -s python2.6-config python-config)
/usr/bin/install -c -m 644 ./Misc/python.man \
                /home/user/myname/.local/share/man/man1/python.1

When I launched python form command line,I got:

[~/python_268/Python-2.6.8] $ ~/.local/bin/python
Python 2.6.8 (unknown, Oct 26 2012, 11:18:54)
[GCC 4.3.2 20081105 (Red Hat 4.3.2-20)] on linux2

When I  make test I got:

327 tests OK.
1 test failed:
    test_site
38 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
    test_cd test_cl test_codecmaps_cn test_codecmaps_hk
    test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
    test_dl test_gl test_imageop test_imgfile test_kqueue
    test_linuxaudiodev test_macos test_macostools test_normalization
    test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages
    test_smtpnet test_socketserver test_startfile test_sunaudiodev
    test_tcl test_timeout test_unicode_file test_urllib2net
    test_urllibnet test_winreg test_winsound test_zipfile64
1 skip unexpected on linux2:
    test_tcl
make: *** [test] Error 1

Is this a problem ? 

Any help will be appreciated. 



> To: numpy-discussion at scipy.org
> From: pav at iki.fi
> Date: Fri, 26 Oct 2012 13:03:41 +0000
> Subject: Re: [Numpy-discussion] error of install numpy on linux redhat.
> 
> Jack Bryan <dtustudy68 <at> hotmail.com> writes:
> [clip]
> > [~/numpy/numpy] $ /home/user/myName/.local/bin/python setup.py install
> > Traceback (most recent call last):
> >   File "setup.py", line 22, in <module>
> >     import subprocess
> >   File "/home/user/myName/.local/lib/python2.6/subprocess.py", line 401, in
> <module>
> >     import select
> > ImportError: No module named select
> 
> This means your Python 2.6 installation is still broken,
> so it is not related to Numpy.
> 
> Start trying to install Numpy only after you get
> 
> >>> import subprocess
> 
> to work properly.
> 
> Googling reveals that also others have had problems with missing select
> module when compiling Python.
> 
> Apparently the machine you are using is not a standard Redhat installation,
> but something on it is strange.
> 
> -- 
> Pauli Virtanen
> 
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20121026/633f7ca1/attachment.html>


More information about the NumPy-Discussion mailing list