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

conda activate error message #4

Open
ryao-mdanderson opened this issue Jan 24, 2022 · 8 comments
Open

conda activate error message #4

ryao-mdanderson opened this issue Jan 24, 2022 · 8 comments

Comments

@ryao-mdanderson
Copy link

Dear CountCorrect author:

When do conda activate, I find the following error message, actually it happens during the installation, is this critical? Thanks!

(base) [user ~]$ conda activate countcorrect
ERROR: CONDA_BUILD_SYSROOT or SDKROOT has to be set for cross-compiling
bash: xcrun: command not found...
-bash: /meson_cross_file.txt: Permission denied
-bash: /meson_cross_file.txt: Permission denied
-bash: /meson_cross_file.txt: Permission denied
-bash: /meson_cross_file.txt: Permission denied
-bash: /meson_cross_file.txt: Permission denied

@ryao-mdanderson
Copy link
Author

@VasylVaskivskyi @AlexanderAivazidis : May you please advise? thank you.

@AlexanderAivazidis
Copy link
Collaborator

AlexanderAivazidis commented Jan 27, 2022

Hi!
Is this the first time you work with conda environments? Do you have other conda environments that you can use successfully? I basically wonder if this is an error specific to CountCorrect, or maybe more related to conda and your computing environment in general. Also can you successfully use CountCorrect despite of this error? If yes, then I think you don't have to worry about it.

@VasylVaskivskyi
Copy link
Member

Hi @ryao-mdanderson , quick search for your error bash: xcrun: command not found... showed that you may need to run this command xcode-select --install , or follow instructions in this answer https://apple.stackexchange.com/a/321875 .
Alternatively, you could have a problem with permission to access the directory in which you installed Conda. So you can try to reinstall it (create a new environment) on different machine and check again if the package works.

@ryao-mdanderson
Copy link
Author

ryao-mdanderson commented Jan 27, 2022 via email

@AlexanderAivazidis
Copy link
Collaborator

Actually I just checked and I get the same error! It never seems to have been a problem, so you don't need to worry about it.

@AlexanderAivazidis
Copy link
Collaborator

But I will still investigate more what this is about.

@ryao-mdanderson
Copy link
Author

@AlexanderAivazidis Thank you!
I was installing this on our institution HPC cluster, OS RHEL 7.9 . I experiment this in my home directory first, and seeing this. Thank you for investigating this.

@ryao-mdanderson
Copy link
Author

@VasylVaskivskyi Thank you for your reply. I am sure I have the permission to access conda contents that I installed. I did not use xcode, this command xcode-select --install is confusing to me, I will wait and see.

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

3 participants