You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the install script (Linux) creates the Enfuge environment, it errors with the following message:
To activate this environment, use
$ conda activate enfugue
To deactivate an active environment, use
$ conda deactivate
./enfugue.sh: line 357: /home/ted/miniconda3/condabin/activate: No such file or directory
Could not find or download enfugue. Exiting.
~/miniconda/condabin only contains one file named conda.
The text was updated successfully, but these errors were encountered:
You are correct, there was an issue with how the script applied paths. It should be fixed now, please re-run the curl command to download and run the latest script. That should hopefully take care of everything for you.
Looking through the script, I think this line is wrong:
source $(dirname $CONDA)/activate enfugue
if my understanding is that activate is a parameter to conda, not a separate binary, is correct.
This is a bit of an annoying complication with shell scripts and conda. There are two directories:
/home/<username>/miniconda3/condabin contains the actual conda binary.
/home/<username>/miniconda3/bin contains shell scripts that execute using sh or python. activate is a shell script in this directory containing the following code:
The reason to use this is because of how conda launches environments. If you're running bash and do something like this in a shell script:
conda activate enfugue
which python
You will NOT get an updated path to that environment's python. That is because running conda activate launches a new shell with the environment variables changed, it does not change the current one. We can skip launching the new shell and instead directly evaluate the activate script in the same environment by using source, as I did in the script.
After the install script (Linux) creates the Enfuge environment, it errors with the following message:
~/miniconda/condabin
only contains one file namedconda
.The text was updated successfully, but these errors were encountered: