[Numpy-discussion] mac os x installation

Nicola nicola.vianello at gmail.com
Thu May 13 18:07:22 EDT 2010


thank you for the information but now the error is the following
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.test('1','10')
Running unit tests for numpy
NumPy version 1.4.1
NumPy is installed in
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy
Python version 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) [GCC 4.0.1 (Apple
Inc. build 5493)]
nose version 0.11.3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/nosetester.py",
line 335, in test
    t = NumpyTestProgram(argv=argv, exit=False, plugins=plugins)
  File "nose/core.py", line 117, in __init__
    **extra_args)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/unittest.py",
line 816, in __init__
    self.parseArgs(argv)
  File "nose/core.py", line 134, in parseArgs
    self.config.configure(argv, doc=self.usage())
  File "nose/config.py", line 273, in configure
    options, args = self._parseArgs(argv, cfg_files)
  File "nose/config.py", line 261, in _parseArgs
    return parser.parseArgsAndConfigFiles(argv[1:], cfg_files)
  File "nose/config.py", line 132, in parseArgsAndConfigFiles
    self._applyConfigurationToValues(self._parser, config, values)
  File "nose/config.py", line 118, in _applyConfigurationToValues
    name=name, filename=filename)
  File "nose/config.py", line 258, in warn_sometimes
    raise ConfigError(msg)
nose.config.ConfigError: Error reading config file 'setup.cfg': no such
option 'doctest-extension'
>>>




On Thu, May 13, 2010 at 11:57 PM, Patrick Marsh <patrickmarshwx at gmail.com>wrote:

> You need to install the "nose" module to run the test suite.
>
> http://code.google.com/p/python-nose/
>
>
> <http://code.google.com/p/python-nose/>Patrick
>
> On Thu, May 13, 2010 at 4:55 PM, Nicola <nicola.vianello at gmail.com> wrote:
>
>> Hi. I've to admit that I'm quite new in python and also to numpy. I'm
>> trying to install numpy and scypy on my mac (Mac Os X 10.6.3). I've
>> installed the last version of python (Python 2.6.5 Mac OS X Installer
>> Disk Image<http://www.python.org/ftp/python/2.6.5/python-2.6.5-macosx10.3-2010-03-24.dmg>
>> ).
>> After than I've downloaded the latest version of numpy (
>> numpy-1.4.1-py2.6-python.org.dmg<http://sourceforge.net/projects/numpy/files/NumPy/1.4.1/numpy-1.4.1-py2.6-python.org.dmg/download>)
>> and finally also the latest version of scypy (
>> scipy-0.7.2-py2.6-python.org.dmg<http://sourceforge.net/projects/scipy/files/scipy/0.7.2/scipy-0.7.2-py2.6-python.org.dmg/download>
>> ).
>> When I try the test I obtain the following errors
>>
>> Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
>> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import numpy
>> >>> numpy.test('1','10')
>> Running unit tests for numpy
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/nosetester.py",
>> line 326, in test
>>     self._show_system_info()
>>   File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/nosetester.py",
>> line 187, in _show_system_info
>>     nose = import_nose()
>>   File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/nosetester.py",
>> line 69, in import_nose
>>     raise ImportError(msg)
>> ImportError: Need nose >= 0.10.0 for tests - see
>> http://somethingaboutorange.com/mrl/projects/nose
>> >>>
>>
>> any idea?
>>
>> --
>> ----------------------------------------------
>>    nicola.vianello at gmail.com
>>    skype:nicolavianello
>> ----------------------------------------------
>>
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
>>
>
>
> --
> Patrick Marsh
> Ph.D. Student / NSSL Liaison to the HWT
> School of Meteorology / University of Oklahoma
> Cooperative Institute for Mesoscale Meteorological Studies
> National Severe Storms Laboratory
> http://www.patricktmarsh.com
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>


-- 
----------------------------------------------
   nicola.vianello at gmail.com
   skype:nicolavianello
----------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100514/c387bb4a/attachment.html>


More information about the NumPy-Discussion mailing list