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 installation instructions cause "Not a directory" error #5287

Closed
iamanigeeit opened this issue Jul 7, 2023 · 1 comment · Fixed by #5291
Closed

Conda installation instructions cause "Not a directory" error #5287

iamanigeeit opened this issue Jul 7, 2023 · 1 comment · Fixed by #5291
Labels
Bug bug should be fixed

Comments

@iamanigeeit
Copy link
Contributor

${CONDA_EXE}/../.. is not a valid path as CONDA_EXE is a file. Then setup_anaconda will fail.

https://espnet.github.io/espnet/installation.html

$ cd <espnet-root>/tools
$ CONDA_ROOT=${CONDA_EXE}/../..  # CONDA_EXE is an environment variable set by ${CONDA_ROOT}/etc/profile.d/conda.sh
$ ./setup_anaconda.sh ${CONDA_ROOT} [conda-env-name] [python-version]
# e.g.
$ ./setup_anaconda.sh ${CONDA_ROOT} espnet 3.8

Fix: use ${CONDA_PREFIX} or $(dirname $(dirname ${CONDA_EXE}))

@iamanigeeit iamanigeeit added the Bug bug should be fixed label Jul 7, 2023
@kamo-naoyuki
Copy link
Collaborator

Thanks, you are right. I'll fix it

@kamo-naoyuki kamo-naoyuki linked a pull request Jul 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug bug should be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants