I am having some issues and would like some feedback re the best setup.
Main issue
The main issue is Spyder is not seeing theano as I have out lined here.
The message in the console is "ImportError: No module named theano"
Locations of Python and Theano on my Mac.
I have the invisible .theano in /usr/bob/theano
I have theano in /usr/local/lib/python2.7/site-packages
I also have theano in /usr/lib/python3.5/site-packages
When I am in Terminal Python2/3 and do an import of theano to check if its installed properly it is there.
When I do pip2/3 install theano I already have it as expected.
I have tried copying the theano module folder to the 'Spyder.app/Contents/Resources/lib/python2.7. (new error saying I was missing python.h)
I have tried the PYTHONPATH manager then updating the module names list.
I have tried using a different interpreter (which only produces further errors.)
I have tried using theano in a venv and still got the same error message.
My instances of python exist in the following locations.
/usr/local/bin contains aliases to python2, python2.7, python3, python3.5
/usr/bin contains aliases to python2.6, python2.7
/system/library/frameworks/Python.framework/Versions/ (2.3, 2.5, 2.6, 2.7 and Current which is pointing to 2.7)
/usr/local/Cellar/python/2.712/Frameworks/Python.Framework/Versions/2.7, Current
Secondary issue
It seems I have a lot of instances of Python and modules in various locations. I know I should be using venv so I have started doing that. But for quick tests of super small scripts it seems like such a waste of time to set up a venv every time. Is there a solution to this?
I only want python 2.7 and 3.5. What should I do about the default Mac install of python 2?
I also noticed that my default version of Python from the Terminal is Python 3.5.2 |Anaconda 4.1.1. Not sure if this makes a difference. Also I have the same issue with the theano module when using PyCharm.
Maybe the zshrc or bash_profile need a more proper set up?
Main issue
The main issue is Spyder is not seeing theano as I have out lined here.
The message in the console is "ImportError: No module named theano"
Locations of Python and Theano on my Mac.
I have the invisible .theano in /usr/bob/theano
I have theano in /usr/local/lib/python2.7/site-packages
I also have theano in /usr/lib/python3.5/site-packages
When I am in Terminal Python2/3 and do an import of theano to check if its installed properly it is there.
When I do pip2/3 install theano I already have it as expected.
I have tried copying the theano module folder to the 'Spyder.app/Contents/Resources/lib/python2.7. (new error saying I was missing python.h)
I have tried the PYTHONPATH manager then updating the module names list.
I have tried using a different interpreter (which only produces further errors.)
I have tried using theano in a venv and still got the same error message.
My instances of python exist in the following locations.
/usr/local/bin contains aliases to python2, python2.7, python3, python3.5
/usr/bin contains aliases to python2.6, python2.7
/system/library/frameworks/Python.framework/Versions/ (2.3, 2.5, 2.6, 2.7 and Current which is pointing to 2.7)
/usr/local/Cellar/python/2.712/Frameworks/Python.Framework/Versions/2.7, Current
Secondary issue
It seems I have a lot of instances of Python and modules in various locations. I know I should be using venv so I have started doing that. But for quick tests of super small scripts it seems like such a waste of time to set up a venv every time. Is there a solution to this?
I only want python 2.7 and 3.5. What should I do about the default Mac install of python 2?
I also noticed that my default version of Python from the Terminal is Python 3.5.2 |Anaconda 4.1.1. Not sure if this makes a difference. Also I have the same issue with the theano module when using PyCharm.
Maybe the zshrc or bash_profile need a more proper set up?
Last edited: