Re: [theano-users] Theano ConftestImportFailure error after installing

2017-08-09 Thread Frédéric Bastien
We don't use py.test, but nosetests.

Fred

Le mar. 8 août 2017 12:12, Sara Saeed  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:~$
>
>
>
>
>
> 
>
>
> --
>
> ---
> 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.


[theano-users] Theano ConftestImportFailure error after installing

2017-08-08 Thread Sara Saeed



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:~$







-- 

--- 
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.