python -c "import pylearn2"
I end up with the error prompt
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named pylearn2
I searched around online and found several different suggested methods on fixing this issue. I've tried them and combinations of them to get it fixed. As of right now my .bashrc contains this
#Add pylearn2 Path
PYLEARN2=/usr/local/lib/python2.7/dist-packages/pylearn2.0.1dev-py2.7.egg/pylearn2
PYTHONPATH=/usr/local/lib/python2.7
export PYTHONPATH=$PYLEARN2:$PYTHONPATH
Anyone have any ideas on what I'm doing wrong here?
The github clone put pylearn2 at the location /home/jake/pylearn2 and the __init__.py file is in the folder /home/jake/pylearn2/pylearn2.
When I run ls "$PYTHONPATH" it shows all the files inside that folder, so $PYTHONPATH is pointing there, yet I still get the module not found error when I run python -c "import pylearn2"
--
You received this message because you are subscribed to the Google Groups "pylearn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylearn-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Odd. I had actually tried that in one attempted. But seems to be working now. That just seems to be my luck with these types of things.
But python is importing it now so I'm good. Thanks for the help.