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
A user reported seeing this error to me. To be clear, the issue isn't in nox but instead in debian/virtualenv, but I wanted to open this so others that encounter this with nox can find the breadcrumbs.
TL;DR - you can set DEB_PYTHON_INSTALL_LAYOUT and revert to the previous way and you should be unblocked.
Error: python is not installed into the virtualenv, it is located at /usr/bin/python. Pass external=True into run() to explicitly allow this.
We spent some time digging, comparing configurations. Ultimately I requested they run virtualenv outside of nox.
A user reported seeing this error to me. To be clear, the issue isn't in nox but instead in debian/virtualenv, but I wanted to open this so others that encounter this with nox can find the breadcrumbs.
TL;DR - you can set
DEB_PYTHON_INSTALL_LAYOUT
and revert to the previous way and you should be unblocked.We spent some time digging, comparing configurations. Ultimately I requested they run virtualenv outside of nox.
https://askubuntu.com/questions/1406304/virtualenv-installs-envs-into-local-bin-instead-of-bin
This var,
DEB_PYTHON_INSTALL_LAYOUT
can be set and will allow virtualenv and nox to run as expectedExpected Behavior
Expect nox to create a virtualenv and successfully find pip, python, etc.
Environment
The text was updated successfully, but these errors were encountered: