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
If .python-version does not exist in the current path, the virtual environment of pyenv is not recognized.
Expected Behavior
> zappa update dev
Calling update for stage dev..
Downloading and installing dependencies..
...
Actual Behavior
# .python-version is not in that path, but pyenv works correctly.>pwd
/Users/username/Documents/GitHub/myenv/myproject
> pyenv versions
* my-env (set by /Users/username/Documents/GitHub/my-env/.python-version)
...
> zappa update dev
Calling update for stage dev..
Error: Zappa requires an active virtual environment!
Learn more about virtual environments here: http://docs.python-guide.org/en/latest/dev/virtualenvs/
Possible Fix
In addition to detecting the .python-version file in the current path, you can check the current virtual environment by using the pyenv version command.
Context
If .python-version does not exist in the current path, the virtual environment of pyenv is not recognized.
Expected Behavior
Actual Behavior
Possible Fix
In addition to detecting the .python-version file in the current path, you can check the current virtual environment by using the
pyenv version
command.Steps to Reproduce
Your Environment
pip freeze
:zappa_settings.json
: I don't think this is necessary.The text was updated successfully, but these errors were encountered: