Closed akatav closed 3 years ago
Can you go into an ipython
shell in the mesmerize
environment and see if you can import caiman
@kushalkolar yes,i can.
although i did resolve an error earlier with oasis import before this import inside ipython could work.
alright, are you able to launch memerize
and not get the warning about caiman
now?
@kushalkolar actually, that was my initial issue as well.I could import caiman
inside ipython within the mesmerize env.But outside of ipython, when i ran memerize
, the mesmerize GUI opened up well but the warning about caiman
did not go away.
Strange, are you able to import caiman
in the mesmerize console in the welcome window
@kushalkolar thank you. actually, i could do import caiman
inside the mesmerize console but on some other modules inside source_extraction
, the oasis
package not found error occurred.
Turned out i needed to do python setup.py build_ext -i
command again. Now i am not getting the caiman not found
on mesmerize
startup.
can you make a clean environment? If you're using caiman on windows I think it's best to just use the conda package due to installation difficulties on Windows.
Follow this for Windows: http://docs.mesmerizelab.org/en/master/user_guides/installation.html#windows
@kushalkolar actually, i followed the above link for installation of mesmerize on windows. but as i had already installed caiman and was working on it in a separate virtual env, i installed caiman
inside mesmerize env again.
I do not get the warning about caiman
anymore inside mesmerize
.
python (and mesmerize is a python application) will only be able to import packages that are in the current environment
if this helps, here's an explanation of virtual environments: https://realpython.com/python-virtual-environments-a-primer/#:~:text=Remove%20ads-,What%20Is%20a%20Virtual%20Environment%3F,dependencies%20every%20other%20project%20has.
So I guess I can mark this as resolved then?
@kushalkolar yes, resolved. thanks.
Hi, I am on windows 10 with caiman installed as per instructions here: https://caiman.readthedocs.io/en/master/Installation.html#installation-on-macos-and-linux
I have followed instructions for installing mesmerize on windows. But while running
mesmerize
, the UI opens but CalmAn is not working.I checked ../mesmerize/lib/site-packages/ and caiman is installed correctly. Any pointers to resolve this will be helpful.