Anaconda distribution for python using spyder environment on MacBook Pro.
When I go to type 'import cobra' I receive 'ModuleNotFoundError: No module named 'cobra''
But when I go to command window and enter python3, in command line 'import cobra' it works fine.
I have python2 and python 3 installed, but it seems that spyder is using python2. How can I get Spyder to switch to python 3 please?
Cheers
Stephen