Discussion:
[theano-users] six package
Beatriz G.
2017-12-13 16:35:28 UTC
Permalink
When I execute my code I get the following error:

File "/home/bea/Desktop/bla/Primera_prueba/casia_Lenet.py", line 6, in
<module>
from layers_gaussian_init import *
File
"/home/bea/Desktop/Publicacion_Aris/Primera_prueba/layers_gaussian_init.py",
line 6, in <module>
from pylearn2.expr.normalize import CrossChannelNormalization
File "/home/bea/pylearn2/pylearn2/__init__.py", line 4, in <module>
from pylearn2.utils.logger import configure_custom
File "/home/bea/pylearn2/pylearn2/utils/__init__.py", line 11, in <module>
from theano.compat.six.moves import input, zip as izip
ImportError: No module named six.moves

I have tried to uninstall and install six package manually and with pip or
conda (I am using Anaconda), but I still get the error and I do not what to
do.

Regards.
--
---
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.
For more options, visit https://groups.google.com/d/optout.
Beatriz G.
2017-12-13 16:40:39 UTC
Permalink
If I do not use the pylearn2 package, I can run my code in CPU but with
device=cuda0 or device=cuda the execution is like is running, but if I type
"top" in Ubuntu bash, I do not have any python execution.



El miércoles, 13 de diciembre de 2017, 17:35:28 (UTC+1), Beatriz G.
Post by Beatriz G.
File "/home/bea/Desktop/bla/Primera_prueba/casia_Lenet.py", line 6, in
<module>
from layers_gaussian_init import *
File
"/home/bea/Desktop/Publicacion_Aris/Primera_prueba/layers_gaussian_init.py",
line 6, in <module>
from pylearn2.expr.normalize import CrossChannelNormalization
File "/home/bea/pylearn2/pylearn2/__init__.py", line 4, in <module>
from pylearn2.utils.logger import configure_custom
File "/home/bea/pylearn2/pylearn2/utils/__init__.py", line 11, in <module>
from theano.compat.six.moves import input, zip as izip
ImportError: No module named six.moves
I have tried to uninstall and install six package manually and with pip or
conda (I am using Anaconda), but I still get the error and I do not what to
do.
Regards.
--
---
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.
For more options, visit https://groups.google.com/d/optout.
Frédéric Bastien
2018-01-10 21:22:51 UTC
Permalink
Pylearn2 isn't supported anymore. Maybe it don't support newer Theano
versoin. So make sure to try Theano dev version and if that don't work, try
older Theano version.

Maybe you should investigate other framework. See:
https://groups.google.com/forum/#!msg/theano-users/7Poq8BZutbY/rNCIfvAEAwAJ

Frédéric
Post by Beatriz G.
If I do not use the pylearn2 package, I can run my code in CPU but with
device=cuda0 or device=cuda the execution is like is running, but if I type
"top" in Ubuntu bash, I do not have any python execution.
El miércoles, 13 de diciembre de 2017, 17:35:28 (UTC+1), Beatriz G.
Post by Beatriz G.
File "/home/bea/Desktop/bla/Primera_prueba/casia_Lenet.py", line 6, in
<module>
from layers_gaussian_init import *
File
"/home/bea/Desktop/Publicacion_Aris/Primera_prueba/layers_gaussian_init.py",
line 6, in <module>
from pylearn2.expr.normalize import CrossChannelNormalization
File "/home/bea/pylearn2/pylearn2/__init__.py", line 4, in <module>
from pylearn2.utils.logger import configure_custom
File "/home/bea/pylearn2/pylearn2/utils/__init__.py", line 11, in <module>
from theano.compat.six.moves import input, zip as izip
ImportError: No module named six.moves
I have tried to uninstall and install six package manually and with pip
or conda (I am using Anaconda), but I still get the error and I do not what
to do.
Regards.
--
---
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
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...