ClearAnatomics / ClearMap

ClearMap 2 with WobblyStitcher, TubeMap and CellMap
https://clearanatomics.github.io/ClearMapDocumentation/
GNU General Public License v3.0
105 stars 44 forks source link

.sh install meet some error #129

Open qweasdf1354 opened 11 months ago

qweasdf1354 commented 11 months ago

Hi author, i wanna to seek your help when i install the clearmap2 using the install_gui.sh, i meet

Traceback (most recent call last): File "", line 1, in File "/home/z/ClearMap2/ClearMap/Utils/install_utils.py", line 224, in patch_env env_mgr = EnvFileManager(cfg_path, dest_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/z/ClearMap2/ClearMap/Utils/install_utils.py", line 29, in init with open(self.cfg_path, 'r') as in_file: ^^^^^^^^^^^^^^^^^^^^^^^^ IsADirectoryError: [Errno 21] Is a directory: '/home/z/ClearMap2/'

Could you help me?

qweasdf1354 commented 11 months ago

and i just wanna to ask if i install the ClearMapUi39.yml already, do i need to perform the .sh? and how can i activate the gui

Tas-V commented 11 months ago

Hi,

What I did was

./install_gui.sh -f ClearMapUi39.yml

In the bash terminal while in the ClearMap2.1 directory. This installs and creates the ClearMapUi39 environment correctly.

After responding yes to everything when prompted, close the terminal, reopen, activate the ClearMapUi39 env, and then type clearmap-ui to launch the GUI.

crousseau commented 11 months ago

@Tas-V That is indeed the way to go. Please let me know if you have comments on the installer. @qweasdf1354, does the issue persist with the above solution

Tas-V commented 11 months ago

@crousseau Everything seems fine with the installer; I had to change the numpy version to 1.24.4 due to an error message in my fork but am unsure if that would be necessary for the main branch.

qweasdf1354 commented 11 months ago

Thanks a lot for your reply!! i will try it soon

KHBHH commented 10 months ago

Hi all,

I was having similar issue as well, but I used the above command so that the installation starts:

./install_gui.sh -f ClearMapUi39.yml

But now I am getting error as such:

Updating CUDA dependencies for ClearMap
Creating temporary environment
usage: conda [-h] [-v] [--no-plugins] [-V] COMMAND ... conda: error: unrecognized arguments: --experimental-solver=libmamba

Any idea what might be the issue?

crousseau commented 10 months ago

@KHBHH

It seems there are some recent changes in conda making this incompatible. You can try replacing --experimental-solver=libmamba in the install_gui.sh script with --solver=libmamba

Please let me know if this works