Hi Fred, 
I use python 2.7. I will try with python 3.X and let you know if that could 
be the problem

Ramana


Which version of Python do you use? I have the impression tha your version 
> of doctest is too old for the version of Python you use.
>
> On Wed, Feb 15, 2017 at 5:20 AM Ramana Subramanyam <vxrr...@gmail.com 
> <javascript:>> wrote:
>
>> Hi, 
>> My cron job has updated the master to the upstream master and this 
>> morning, the *theano-nose *command seems to be broken in my virtual env. 
>> Outside the virtual env, I still face this error when on Anaconda. The 
>> traceback I get is 
>>
>> (macvnev) Ramanas-MacBook-Pro:Theano Ramana$ THEANO_FLAGS=device=cuda 
>> theano-nose --nocapture theano/gpuarray/tests/test_pool.py:TestGpuRoIPool
>>
>> Traceback (most recent call last):
>>
>>   File "/Users/Ramana/projects/macvnev/bin/theano-nose", line 9, in 
>> <module>
>>
>>     load_entry_point('Theano==0.9.0b1', 'console_scripts', 
>> 'theano-nose')()
>>
>>   File 
>> "/Users/Ramana/projects/macvnev/lib/python2.7/site-packages/bin/theano_nose.py",
>>  
>> line 207, in main
>>
>>     result = main_function()
>>
>>   File 
>> "/Users/Ramana/projects/macvnev/lib/python2.7/site-packages/bin/theano_nose.py",
>>  
>> line 103, in main_function
>>
>>     from numpy.testing.noseclasses import KnownFailure
>>
>>   File 
>> "/Users/Ramana/projects/macvnev/lib/python2.7/site-packages/numpy/testing/noseclasses.py",
>>  
>> line 10, in <module>
>>
>>     import doctest
>>
>>   File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py",
>>  
>> line 355, in <module>
>>
>>     class _OutputRedirectingPdb(pdb.Pdb):
>>
>> AttributeError: 'module' object has no attribute 'Pdb'
>>
>> I have updated pdb, nose, numpy and the error still persists. The `
>> *nosetests`* and `*bin/theano-nose*` are working as expected.
>>
>> Ramana
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "theano-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to theano-users...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to