# This file must be used with "source bin/activate" *from bash*# you cannot run it directlydeactivate () {# reset old environment variablesif [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; thenPATH="${_OLD_VIRTUAL_PATH:-}"export PATHunset _OLD_VIRTUAL_PATHfiif [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; thenPYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"export PYTHONHOMEunset _OLD_VIRTUAL_PYTHONHOMEfi# This should detect bash and zsh, which have a hash command that must# be called to get it to forget past commands. Without forgetting# past commands the $PATH changes we made may not be respectedif [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; thenhash -r 2> /dev/nullfiif [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; thenPS1="${_OLD_VIRTUAL_PS1:-}"export PS1unset _OLD_VIRTUAL_PS1fiunset VIRTUAL_ENVunset VIRTUAL_ENV_PROMPTif [ ! "${1:-}" = "nondestructive" ] ; then# Self destruct!unset -f deactivatefi}# unset irrelevant variablesdeactivate nondestructiveVIRTUAL_ENV="C:\Users\DESKTOP\Downloads\PythonPNG\pyenv"export VIRTUAL_ENV_OLD_VIRTUAL_PATH="$PATH"PATH="$VIRTUAL_ENV/Scripts:$PATH"export PATH# unset PYTHONHOME if set# this will fail if PYTHONHOME is set to the empty string (which is bad anyway)# could use `if (set -u; : $PYTHONHOME) ;` in bashif [ -n "${PYTHONHOME:-}" ] ; then_OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"unset PYTHONHOMEfiif [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then_OLD_VIRTUAL_PS1="${PS1:-}"PS1="(pyenv) ${PS1:-}"export PS1VIRTUAL_ENV_PROMPT="(pyenv) "export VIRTUAL_ENV_PROMPTfi# This should detect bash and zsh, which have a hash command that must# be called to get it to forget past commands. Without forgetting# past commands the $PATH changes we made may not be respectedif [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; thenhash -r 2> /dev/nullfi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。