Closed cudmore closed 3 years ago
Hi,
Thanks for all the details!
If you open ipython
in the mesmerize environment are you able to import caiman
Have you ran caimanmanager
in the environment to set it up?
You can also try adding the full path to the CaImAn
dir to your PYTHONPATH
env variable if you did an inplace installation for it ( pip install -e
)
The master branch for mesmerize isn't always reliable so I'd recommend switching to a release branch to run it from source.
Sorry for the confusion in the docs, you're right, I'll change that bit. Anaconda isn't necessary nor recommend for installation in Linux.
Thanks for the speedy response and detailed troubleshooting. I was able to get it running with caiman.
No, I was not able to import caiman
in the mesmerize environments ipython
. Was failing on tensorflow
. After pip install tensorflow
I was able to import caiman in ipython and then when I ran memerize, it loaded caimen properly.
I downloaded the v0.4
branch and pip install -e .
still failed. I modified the setup.py
as follows and install went off without a hitch ...
import os
versionFilePath, myFileName = os.path.split(__file__)
versionFilePath = os.path.join(versionFilePath, 'mesmerize', 'VERSION')
print('versionFilePath:', versionFilePath)
#with open(Path(__file__).joinpath('mesmerize').joinfile('VERSION'), 'r') as vf:
with open(versionFilePath, 'r') as vf:
vesion_str = vf.read().split('\n')[0]
Thanks for your help. I will also check out the mesmerize gitter ...
Glad to hear that you got it working!
Thanks for the fix. By the way v0.4 is currently in development. I'd recommend using a tagged release.
Let me know if you have further questions or issues.
Hi all, first off thanks for making mesmerize. Looks very promising.
I have installed mesmerize without a hitch but what I really want is to integrate caimen into mesmerize and I am stuck.
After install, the mesmerize gui seems to run fine, except when I run with 'mesmerize' I get a popup telling me ...
Operating System
Ubuntu 20.0.4
Details about your Mesmerize install
Are you using the pip install? If so which version?
yes, using 'pip --version', as follows ('mesmerize-env' is my Python3.6 venv):
No, I was not able to install mesmerize from a cloned source? I installed from PyPi with
I would prefer to install mesmerize from a cloned source, any suggestions?
In the cloned mesmerize source folder the following failed:
with
I am using Python3.6 venv following your install instructions
Describe the issue, please be as explicit and detailed as possible.
When I follow your install instructions, all goes well except (for my) attempting to use caiman with mesmerize. When I run mesmerize I am warned 'Caiman not found ... The caiman package could not be found in your python environment. Caiman features will not work.'
Steps that can be followed to reproduce the problem. What exactly were you were doing that lead to the issue.
I followed your Ubuntu/Linux install instructions here and all went well.
Once I am in my Python3.6 mesmerize venv (named mesmerize-env), I install caiman from source with
Now, still, in my mesmerize-env python 3.6 environment
gives me
But when I run 'mesmerize' I get the error
Your recipe/pattern for installing caiman is unfamiliar to me?
I am confused by 'source activate caiman'. Is this assuming caiman has been previously installed with conda? That is actually the case for me, I have a conda environment named 'caimen'.
Am I supposed to activate the conda caiman environment and then install caiman? Wouldn't this deactivate my python 3.6 ven v named 'mesmerized-env'?
Anything else which you think is relevant
Thanks for making mesmerize and I look forward to using it ...