Closed Vignesh-786 closed 9 months ago
What exact type of env, conda, miniconda, miniforge?
On Tue, Feb 7, 2023, 06:26 Vignesh-786 @.***> wrote:
I'm getting this error when trying to run row.caiman.run() in the mcorr_cnmf.ipynb https://github.com/nel-lab/mesmerize-core/blob/master/notebooks/mcorr_cnmf.ipynb demo.
complete traceback below:
[image: Screenshot 2023-02-07 at 12 25 56] https://user-images.githubusercontent.com/119962761/217232397-16dfede8-55c2-4edc-9a32-a887d85ff89d.png
Thanks in advance
— Reply to this email directly, view it on GitHub https://github.com/nel-lab/mesmerize-core/issues/174, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHXXRAG5NE56MBVXMFEFITWWIWPHANCNFSM6AAAAAAUT2ZYAA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
It is Conda env
Worth mentioning the temporary fix that Cameron Smith posted for that error during the workshop.
Add these lines before row.caiman.run()
:
# small fix for CONDA_PREFIX_1 not being found in environment
import os
str_to_remove = os.path.join(' ', 'envs', 'mescore')[1:]
conda_prefix_1_str = os.environ['CONDA_PREFIX'].replace(str_to_remove, '')
os.environ['CONDA_PREFIX_1'] = conda_prefix_1_str
it did work well . Thank you so much gusys
Worth mentioning the temporary fix that Cameron Smith posted for that error during the workshop. Add these lines before
row.caiman.run()
:# small fix for CONDA_PREFIX_1 not being found in environment import os str_to_remove = os.path.join(' ', 'envs', 'mescore')[1:] conda_prefix_1_str = os.environ['CONDA_PREFIX'].replace(str_to_remove, '') os.environ['CONDA_PREFIX_1'] = conda_prefix_1_str
This is going to remain as the "fix" for now, it's in the demo notebooks too.
I'm getting this error when trying to run row.caiman.run() in the mcorr_cnmf.ipynb demo.
complete traceback below:
Thanks in advance