Re: [Numpy-discussion] error of install numpy on linux redhat.
Dear Jack, You are starting to ask questions that should be easily answered by 5 minutes of your own time using a search engine. Speaking for myself, I'm a volunteer here, and I want to help people learn and use Python, but I also expect that you will put some of your own effort into tracking down advice that people have given you. There have been two suggestions here for you to try (Anaconda CE and EPD Free), both of them contain the libraries you are asking about, and advertise this broadly on their web pages. Install instructions have also been provided to you and are on the web pages. If you are having trouble understanding or accessing the sites, let us know, but for now I can only assume that you are not doing your own homework. -Aron On Sat, Oct 27, 2012 at 2:27 PM, Jack Bryan wrote: > Thanks for your reply. > > Do they support other python modules ? such as metplotlib, IPython ? > > Do their products expire after some time so that I have to install it from > scratch ? > > Any help will be appreciated. > > > > Date: Sat, 27 Oct 2012 10:10:28 +0200 > > From: courn...@gmail.com > > To: numpy-discussion@scipy.org > > > Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. > > > > On Sat, Oct 27, 2012 at 4:06 AM, Jack Bryan > wrote: > > > Thanks for your help. > > > > > > Why do the Anaconda and EPD can help me fix the problem ? > > > > Because they are an all-included distribution of python with > > numpy/scipy and many other packages. You don't need to compile > > anything. > > > > David > > ___ > > NumPy-Discussion mailing list > > NumPy-Discussion@scipy.org > > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Thanks for your reply. Do they support other python modules ? such as metplotlib, IPython ? Do their products expire after some time so that I have to install it from scratch ? Any help will be appreciated. > Date: Sat, 27 Oct 2012 10:10:28 +0200 > From: courn...@gmail.com > To: numpy-discussion@scipy.org > Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. > > On Sat, Oct 27, 2012 at 4:06 AM, Jack Bryan wrote: > > Thanks for your help. > > > > Why do the Anaconda and EPD can help me fix the problem ? > > Because they are an all-included distribution of python with > numpy/scipy and many other packages. You don't need to compile > anything. > > David > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
On Sat, Oct 27, 2012 at 4:06 AM, Jack Bryan wrote: > Thanks for your help. > > Why do the Anaconda and EPD can help me fix the problem ? Because they are an all-included distribution of python with numpy/scipy and many other packages. You don't need to compile anything. David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Thanks for your help. Why do the Anaconda and EPD can help me fix the problem ? Any help will be appreciated. > To: numpy-discussion@scipy.org > From: p...@iki.fi > Date: Fri, 26 Oct 2012 23:36:56 + > Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. > > Jack Bryan hotmail.com> writes: > > Hi, I cannot afford the cost of buying these products. > > The Anaconda community edition is free. > > EPD is free for academic use. > > The issue you are facing is a rare one --- I have not had similar > issues myself on different platforms, including HPC clusters. > > -- > Pauli Virtanen > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Jack Bryan hotmail.com> writes: > Hi, I cannot afford the cost of buying these products. The Anaconda community edition is free. EPD is free for academic use. The issue you are facing is a rare one --- I have not had similar issues myself on different platforms, including HPC clusters. -- Pauli Virtanen ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Hi, I cannot afford the cost of buying these products. Why does not python's website provide some FAQ help about this kind of common problems ? (such as modules missing) ? I have to work on the open source ones . Any help will be appreciated. > To: numpy-discussion@scipy.org > From: p...@iki.fi > Date: Fri, 26 Oct 2012 21:53:42 +0000 > Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. > > Jack Bryan hotmail.com> writes: > [clip] > > Is this a problem ? > > You need to ensure that > > >>> import subprocess > > works. I don't know how to fix that. > > Rather than trying to compile Python yourself and hitting errors that > you are unable to resolve, it would be more productive to grab either: > > http://continuum.io/downloads.html > > http://www.enthought.com/products/epd.php > > as suggested earlier in this thread. > > -- > Pauli Virtanen > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Jack Bryan hotmail.com> writes: [clip] > Is this a problem ? You need to ensure that >>> import subprocess works. I don't know how to fix that. Rather than trying to compile Python yourself and hitting errors that you are unable to resolve, it would be more productive to grab either: http://continuum.io/downloads.html http://www.enthought.com/products/epd.php as suggested earlier in this thread. -- Pauli Virtanen ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
During the make: I got : Failed to find the necessary bits to build these modules: _tkinter bsddb185 dl imageopsunaudiodev 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@scipy.org > From: p...@iki.fi > Date: Fri, 26 Oct 2012 13:03:41 +0000 > Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. > > Jack Bryan 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 > > import subprocess > > File "/home/user/myName/.local/lib/python2.6/subprocess.py", line 401, in > > > 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@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Hi, Th python installed by sys-adm can import subprocess and select w/o any problems. But, it does not support python-dev. So, I need to install a python that can support python-dev and install other python modules such as numpy and scipy. Any help will be appreciated. > To: numpy-discussion@scipy.org > From: p...@iki.fi > Date: Fri, 26 Oct 2012 13:03:41 + > Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. > > Jack Bryan 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 > > import subprocess > > File "/home/user/myName/.local/lib/python2.6/subprocess.py", line 401, in > > > 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@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Jack Bryan 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 > import subprocess > File "/home/user/myName/.local/lib/python2.6/subprocess.py", line 401, in > 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@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Hi, Aron, I have followed the instructions on the url, after installing python 2.6, I tried to install numpy and got : [~/numpy/numpy] $ /home/user/myName/.local/bin/python setup.py installTraceback (most recent call last): File "setup.py", line 22, in import subprocess File "/home/user/myName/.local/lib/python2.6/subprocess.py", line 401, in import selectImportError: No module named select Any help will be appreciated. Date: Thu, 25 Oct 2012 17:07:06 +0100 From: a...@ahmadia.net To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. I'm repeating myself, but did you try following the instructions here: http://stackoverflow.com/a/622810/122022? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
On Wed, Oct 24, 2012 at 9:01 PM, Jack Bryan wrote: > Hi, All, > > I am trying to install numpy from http://www.scipy.org/Download . > > by > > git clone git://github.com/numpy/numpy.git numpy > > > But, when I ran > > python setup.py install > > I got: > > SystemError: Cannot compile 'Python.h'. Perhaps you need to install > python-dev|python-devel > > Where to get python-dev ? > > I tried: > > $ easy_install python-devel > Searching for python-devel > Reading http://pypi.python.org/simple/python-devel/ > Couldn't find index page for 'python-devel' (maybe misspelled?) > Scanning index of all packages (this may take a while) > Reading http://pypi.python.org/simple/ > No local packages or download links found for python-devel > error: Could not find suitable distribution for > Requirement.parse('python-devel') > > and > > $ easy_install python-dev > Searching for python-dev > Reading http://pypi.python.org/simple/python-dev/ > Couldn't find index page for 'python-dev' (maybe misspelled?) > Scanning index of all packages (this may take a while) > Reading http://pypi.python.org/simple/ > No local packages or download links found for python-dev > error: Could not find suitable distribution for > Requirement.parse('python-dev') Jack, Since you don't have admin privileges, I'm going to emphatically recommend that you use AnacondaCE. Sine you're on RedHat, it's as simple as: $ curl http://09c8d0b2229f813c1b93-c95ac804525aac4b6dba79b00b39d1d3.r79.cf1.rackcdn.com/AnacondaCE-1.1-linux.sh > anaconda.sh $ bash anaconda.sh Follow the prompts and you're done with a lot more than just Numpy. -paul ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
I'm repeating myself, but did you try following the instructions here: http://stackoverflow.com/a/622810/122022? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Hi, Aron, I have to install in my local dir. The sys-adm cannot help me. Any help will be appreciated. > Date: Thu, 25 Oct 2012 16:00:07 +0100 > From: a...@ahmadia.net > To: numpy-discussion@scipy.org > Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. > > Hi Jack, > > >>>> import os > > Traceback (most recent call last): > > File "", line 1, in > > ImportError: No module named os > > You've got a broken local python install. Did you try following the > instructions here: http://stackoverflow.com/a/622810/122022? > > It is probably easiest to ask your system administrator to install > python-devel for you (and python-numpy while they are at it). > > A > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Hi Jack, import os > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named os You've got a broken local python install. Did you try following the instructions here: http://stackoverflow.com/a/622810/122022? It is probably easiest to ask your system administrator to install python-devel for you (and python-numpy while they are at it). A ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Hi, I have installed python2.6 in my local dir. But, when I used python setup.py install --user to install numpy , I got: $ python setup.py install --user'import site' failed; use -v for tracebackTraceback (most recent call last): File "setup.py", line 18, in import osImportError: No module named os in python2.6 I got: >>> import osTraceback (most recent call last): File "", line 1, in >>> ImportError: No module named os Any help will be appreciated. thanks From: dtustud...@hotmail.com To: numpy-discussion@scipy.org Date: Thu, 25 Oct 2012 06:32:05 -0600 Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. Thanks for your invitation. I cannot use rpm command because I am not root user and cannot get sys-adm authorization. Any help will be appreciated. Thanks Date: Thu, 25 Oct 2012 08:05:47 +0200 From: ralf.gomm...@gmail.com To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. On Thu, Oct 25, 2012 at 6:01 AM, Jack Bryan wrote: Hi, All, I am trying to install numpy from http://www.scipy.org/Download . by git clone git://github.com/numpy/numpy.git numpy But, when I ran python setup.py install I got: SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel Where to get python-dev ? If you're on OS X you have to install XCode, preferably with the optional SDKs for previous platforms. On Linux you can install python-dev or similar with your package manager. Ralf I tried: $ easy_install python-develSearching for python-develReading http://pypi.python.org/simple/python-devel/ Couldn't find index page for 'python-devel' (maybe misspelled?)Scanning index of all packages (this may take a while)Reading http://pypi.python.org/simple/ No local packages or download links found for python-develerror: Could not find suitable distribution for Requirement.parse('python-devel') and $ easy_install python-devSearching for python-devReading http://pypi.python.org/simple/python-dev/Couldn't find index page for 'python-dev' (maybe misspelled?) Scanning index of all packages (this may take a while)Reading http://pypi.python.org/simple/No local packages or download links found for python-dev error: Could not find suitable distribution for Requirement.parse('python-dev') ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
Thanks for your invitation. I cannot use rpm command because I am not root user and cannot get sys-adm authorization. Any help will be appreciated. Thanks Date: Thu, 25 Oct 2012 08:05:47 +0200 From: ralf.gomm...@gmail.com To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. On Thu, Oct 25, 2012 at 6:01 AM, Jack Bryan wrote: Hi, All, I am trying to install numpy from http://www.scipy.org/Download . by git clone git://github.com/numpy/numpy.git numpy But, when I ran python setup.py install I got: SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel Where to get python-dev ? If you're on OS X you have to install XCode, preferably with the optional SDKs for previous platforms. On Linux you can install python-dev or similar with your package manager. Ralf I tried: $ easy_install python-develSearching for python-develReading http://pypi.python.org/simple/python-devel/ Couldn't find index page for 'python-devel' (maybe misspelled?)Scanning index of all packages (this may take a while)Reading http://pypi.python.org/simple/ No local packages or download links found for python-develerror: Could not find suitable distribution for Requirement.parse('python-devel') and $ easy_install python-devSearching for python-devReading http://pypi.python.org/simple/python-dev/Couldn't find index page for 'python-dev' (maybe misspelled?) Scanning index of all packages (this may take a while)Reading http://pypi.python.org/simple/No local packages or download links found for python-dev error: Could not find suitable distribution for Requirement.parse('python-dev') ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] error of install numpy on linux redhat.
On Thu, Oct 25, 2012 at 6:01 AM, Jack Bryan wrote: > Hi, All, > > I am trying to install numpy from http://www.scipy.org/Download . > > by > > git clone git://github.com/numpy/numpy.git numpy > > > But, when I ran > > python setup.py install > > I got: > > SystemError: Cannot compile 'Python.h'. Perhaps you need to install > python-dev|python-devel > > Where to get python-dev ? > If you're on OS X you have to install XCode, preferably with the optional SDKs for previous platforms. On Linux you can install python-dev or similar with your package manager. Ralf > I tried: > > $ easy_install python-devel > Searching for python-devel > Reading http://pypi.python.org/simple/python-devel/ > Couldn't find index page for 'python-devel' (maybe misspelled?) > Scanning index of all packages (this may take a while) > Reading http://pypi.python.org/simple/ > No local packages or download links found for python-devel > error: Could not find suitable distribution for > Requirement.parse('python-devel') > > and > > $ easy_install python-dev > Searching for python-dev > Reading http://pypi.python.org/simple/python-dev/ > Couldn't find index page for 'python-dev' (maybe misspelled?) > Scanning index of all packages (this may take a while) > Reading http://pypi.python.org/simple/ > No local packages or download links found for python-dev > error: Could not find suitable distribution for > Requirement.parse('python-dev') > > > > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion