[SciPy-User] ImportError exits with code 0 after importing scipy.stats (WTF?!)

josef.pktd@gmai... josef.pktd@gmai...
Tue Nov 6 07:02:01 CST 2012


I can reproduce the original changed error level, with older numpy

>python -c "import scipy; print scipy.__version__; import numpy; print numpy.__version__"
0.9.0
1.5.1

python 2.6.5,  Windows 7  32bit

and also with python 2.7 and

>"C:\Programs\Python27\python.exe" -c "import scipy; print(scipy.__version__); import numpy; print(numpy.__version__")
0.11.0b1
1.6.1

Josef


On Tue, Nov 6, 2012 at 7:19 AM, klo uo <klonuo@gmail.com> wrote:
> It's also fine on XP:
>
> ========================================
>>python -c "import scipy.stats; import donkey"
>
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named donkey
>
>>echo %errorlevel%
> 1
> ========================================
>
>
> On Tue, Nov 6, 2012 at 12:17 PM, Thomas Kluyver <takowl@gmail.com> wrote:
>>
>> On 6 November 2012 10:55, Daniel Fortunov <daniel.fortunov@man.com> wrote:
>>>
>>> Can anyone reproduce this with the same (or similar) software versions
>>> below?
>>
>>
>> For reference, it appears to be working correctly on Linux (Ubuntu 12.04,
>> Python 2.7, SciPy 0.9.0):
>>
>> ~$ python -c "import scipy.stats; import woiejr"
>>
>> Traceback (most recent call last):
>>   File "<string>", line 1, in <module>
>> ImportError: No module named woiejr
>> ~$ echo $?
>> 1
>>
>> Thomas
>>
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-user
>>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-User mailing list