We don't use py.test, but nosetests. Fred
Le mar. 8 août 2017 12:12, Sara Saeed <eng.sarasa...@gmail.com> a écrit : > > I am new to Ubuntu and I tried to install Theano using Anaconda. > > After tracking some other errors and solving them. I am stuck with this > error, which I don't understand when running py.test. > > Can anyone help me to fix this. > > Thank you > > > > > > > > > =======================================1 error in 6.61 seconds > ======================== > (theanoenv) sara@sara-ubunto:-$ AC > (theano_env) sara@sara-ubunto:-$ AC > (theano_env) sara@sara-ubunto:-$ AC > (theano_env) sara@sara-ubunto:-$ AC > (theano_env) sara@sara-ubunto:-$ AC > (theano_env) sara@sara-ubunto:-$ theano-cache clear > (theano_env) sara@sara-ubunto:~$ PY.tast > ====================================test session stats > ================================= > platform linux2 -- Python 2.7.13, pytest-3.1.,r py-1.4 4, pluggy-0.4.0 > rootdir: /home/sara, inifile: > collected 0 items / 1 errors > > > =======================================ERRORS > =========================================== > __________________________________EROR collecting > ______________________________________ > anaconda3/envs/theano_env/lib/python2.7/site-package/py/_path/common.py: > 372: In > visit > for x in Visitor(fil, rec, ignore, bf, sort).gen(self): > anaconda3/envs/theano_env/lib/python2.7/site-packages/py/_path/common.py: > 421: in > gen > for p in self.gen(subdir): > anaconda3/envs/theano_env/lib/python2.7/site-packages/py/_path/common.py: > 421: in > gen > for p in self.gen(subdir): > anaconda3/envs/theano_env/lib/python2.7/site-packages/py/_path/common.py: > 421: in > gen > for p in self.gen(subdir): > anaconda3/envs/theano_env/lib/python2.7/site-packages/py/_path/common.py : > 421: in > gen > for p in self.gen(subdir): > anaconda3/envs/theano_env/lib/python2.7/site-packages/py/_path/common.py: > 411: in > gen > if p.check(dir=1) and (rec is None or rec(p))]) > anaconda3/envs/theano_env/lib/python2.7/site-packages/_pytest/main.py:686: > in > recurse > ihook = self.gethookproxy(path) > anaconda3/envs/theano_env/lib/python2.7/site-packages/_pytest/main.py:590: > in ge > thookproxy > my_conftestodules = pm._getconftestmodules(fspath) > anaconda3/envs/theano_env/lib/python2.7/site-packages/_pytest/config.py: > 350: in > _getconftestmodules > mod = self.importconftest(conftestpath) > anaconda3/envs/theano_env/lib/python2.7/site-packages/_pytest/config.py: > 375: in > _importconftest > raise ConftestImportFailure(conftestpath, sys.exc_info()) > onftestImportrailure: ImportflismatchErroR('pandas.conftest', '/home/sara/an > > aconda3/envs/theano_env/lib/python2.7/site-packages/pandas/conftest.py', > local(' > /home/sara/anaconda3/lib/python3.6/site-packages/pandas/conftest.py')) > !!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection > !!!!!!!!!!!!!!!!!!!!! > ======================================1error in 11.59 seconds > ==================== > (theano_env) sara@sara-ubunto:~$ > > > > > > <https://lh3.googleusercontent.com/-mkAFICmPWj4/WYnirgOlgMI/AAAAAAAAByI/wivjrOJVwZQIvPX6KkazeTF19-KyuUiggCLcBGAs/s1600/pytest_error.png> > > > -- > > --- > 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. > -- --- 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.