Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.
Expected Behavior
install_ydk.sh should use currently sourced env/venv or alternatively allow the user to specify the venv location that has to be sourced.
Current Behavior
install_ydk.sh doesn't use currently sourced env/venv but rather tries to create a env unless venv folder is present in YDKGEN_HOME folder.
if [[ ! -d ${YDKGEN_HOME}/venv ]]; then
print_msg "Creating Python3 virtual environment in ${YDKGEN_HOME}/venv"
run_cmd python3 -m venv ${HOME}/venv
fi
run_cmd source ${HOME}/venv/bin/activate
Steps to Reproduce
- create a venv in
/myfolder/myvenv/
source /myfolder/myvenv/bin/activate
- run
install_ydk.sh
- verify that YDK has not been installed in
/myfolder/myvenv/
Your Script
N/A
Logs
N/A
System Information
Python 3.6.10, RHEL8.2, 16x Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz
Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.
Expected Behavior
install_ydk.sh should use currently sourced env/venv or alternatively allow the user to specify the venv location that has to be sourced.
Current Behavior
install_ydk.sh doesn't use currently sourced env/venv but rather tries to create a env unless venv folder is present in YDKGEN_HOME folder.
Steps to Reproduce
/myfolder/myvenv/source /myfolder/myvenv/bin/activateinstall_ydk.sh/myfolder/myvenv/Your Script
N/A
Logs
N/A
System Information
Python 3.6.10, RHEL8.2, 16x Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz