Updated bash script and yml env file to set up python interpreter.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Define the name and location of the environment
|
||||
ENV_NAME="PythonEnv5505"
|
||||
ENV_NAME="pyenv5505"
|
||||
ENV_PATH="./envs/$ENV_NAME" # Define a custom output folder
|
||||
|
||||
# Check if mamba is available and use it instead of conda for faster installation
|
||||
@ -19,7 +19,7 @@ $CONDA_COMMAND create -y -p "$ENV_PATH" python=3.11 \
|
||||
source activate "$ENV_PATH" || conda activate "$ENV_PATH"
|
||||
|
||||
# Install pip packages in one go to avoid repeated initializations
|
||||
pip install h5py==3.10 pybis==1.35 igor2 ipykernel
|
||||
pip install h5py==3.10 pybis==1.35 igor2 ipykernel sphinx
|
||||
|
||||
# Export the environment to a YAML file
|
||||
$CONDA_COMMAND env export --prefix "$ENV_PATH" > "$ENV_PATH/environment.yaml"
|
||||
|
Reference in New Issue
Block a user