nel-lab / mesmerize-core

High level pandas-based API for batch analysis of Calcium Imaging data using CaImAn
Other
61 stars 15 forks source link

Error with mescore env installation: 'caimanmanager' is not recognized as an internal or external command, operable program or batch file. #243

Closed SofiaTorchia closed 1 year ago

SofiaTorchia commented 1 year ago

Hello,

I am following the installation at https://github.com/nel-lab/mesmerize-core#conda. I installed the mescore environment and I got the following error:

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: failed
The package for tensorflow-base located at C:\Users\torchia\AppData\Local\miniconda3\pkgs\tensorflow-base-2.10.0-mkl_py0appears to be corrupted. The path 'Lib/site-packages/tensorflow/include/external/llvm-project/mlir/_virtual_includes/Bu'specified in the package manifest cannot be found.

The package for tensorflow-base located at C:\Users\torchia\AppData\Local\miniconda3\pkgs\tensorflow-base-2.10.0-mkl_py0appears to be corrupted. The path 'Lib/site-packages/tensorflow/include/external/llvm-project/mlir/_virtual_includes/Bu'specified in the package manifest cannot be found.

The package for tensorflow-base located at C:\Users\torchia\AppData\Local\miniconda3\pkgs\tensorflow-base-2.10.0-mkl_py0appears to be corrupted. The path 'Lib/site-packages/tensorflow/include/tensorflow/compiler/mlir/hlo/_virtual_includes/'specified in the package manifest cannot be found.

The package for tensorflow-base located at C:\Users\torchia\AppData\Local\miniconda3\pkgs\tensorflow-base-2.10.0-mkl_py0appears to be corrupted. The path 'Lib/site-packages/tensorflow/include/tensorflow/compiler/mlir/hlo/_virtual_includes/'specified in the package manifest cannot be found.

CondaVerificationError: The package for tensorflow-base located at C:\Users\torchia\AppData\Local\miniconda3\pkgs\tenso0appears to be corrupted. The path 'Lib/site-packages/tensorflow/include/external/llvm-project/mlir/_virtual_includes/Bu'specified in the package manifest cannot be found.

CondaVerificationError: The package for tensorflow-base located at C:\Users\torchia\AppData\Local\miniconda3\pkgs\tenso0appears to be corrupted. The path 'Lib/site-packages/tensorflow/include/external/llvm-project/mlir/_virtual_includes/Bu'specified in the package manifest cannot be found.

CondaVerificationError: The package for tensorflow-base located at C:\Users\torchia\AppData\Local\miniconda3\pkgs\tenso0appears to be corrupted. The path 'Lib/site-packages/tensorflow/include/tensorflow/compiler/mlir/hlo/_virtual_includes/'specified in the package manifest cannot be found.

CondaVerificationError: The package for tensorflow-base located at C:\Users\torchia\AppData\Local\miniconda3\pkgs\tenso0appears to be corrupted. The path 'Lib/site-packages/tensorflow/include/tensorflow/compiler/mlir/hlo/_virtual_includes/'specified in the package manifest cannot be found.

I could activate the environment anyway but then I couldn't install caimanmanager:

(base) C:\Users\torchia>mamba activate mescore

(mescore) C:\Users\torchia>caimanmanager install
'caimanmanager' is not recognized as an internal or external command,
operable program or batch file.

What should I do?

Thank you very much.

kushalkolar commented 1 year ago

It looks like tensorflow failed to install which is why it didn't install caiman. This looks like the common file path length issue in windows, can you try this: https://github.com/nel-lab/mesmerize-core/issues/237#issuecomment-1781961142

SofiaTorchia commented 1 year ago

Thank you so much, it worked!

kushalkolar commented 1 year ago

Let us know if you have other questions!