On Thu, Dec 24, 2009 at 4:57 PM, David Cournapeau
<cournape@gmail.com> wrote:
Don't use develop, and install numpy normally, but from scratch.
Develop mode has some quircks, and it does not worth it unless you
want to work on numpy code yourself IMHO,
OK, a clean svn check-out and python setup.py install I get another interesting import error:
[gsever@ccn ~]$ pwd
/home/gsever
[gsever@ccn ~]$ python
Python 2.6 (r26:66714, Jun 8 2009, 16:07:26)
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/gsever/Desktop/python-repo/numpy/numpy/__init__.py", line 123, in <module>
raise ImportError(msg)
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python intepreter from there.
>>>
I launch the interpreter from a different directory than where the sources located, however it still complains.
For the develop, it is one of easiest ways to catch up the bug-fixes even though I don't work on the source directly. So far besides a few glitches it was always working. I also install scipy, ipython, matplotlib, sympy and all other available packages using develop. Keep the checkouts in the directory on my desktop and if/when necessary do svn up or whichever command it corresponds to their respective vcs. I wonder how other people keep up the changes easily without using develop option.