Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.sh install meet some error #129

Open
qweasdf1354 opened this issue Oct 18, 2023 · 7 comments
Open

.sh install meet some error #129

qweasdf1354 opened this issue Oct 18, 2023 · 7 comments

Comments

@qweasdf1354
Copy link

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
Copy link
Author

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
Copy link

Tas-V commented Oct 18, 2023

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
Copy link
Collaborator

@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
Copy link

Tas-V commented Oct 19, 2023

@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
Copy link
Author

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

@KHBHH
Copy link

KHBHH commented Oct 25, 2023

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
Copy link
Collaborator

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants