-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoneType Error When Using rez pip
on Windows
#1024
Comments
This looks to be related to #904. |
Closed
possibly related to #1027 |
JeanChristopheMorinPerso
added
bug
rez-pip
ingesting py pkgs into rez (pip, wheels, etc)
labels
Mar 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Windows (using PowerShell or command prompt), I get a
NoneType
error when runningrez pip -i pylint
(although it doesn't matter which package I try to install).The problem appears to be that
find_python_in_context
can returnNone
which is then unhandled in the callingfind_pip_from_context
.In my case,
find_python_in_context
returnsNone
becauseshutilwhich.which
is unable to locate thepython
executable. Whilewhich
is looking forpython.exe
(among other path extensions) the python package I created withrez bind
only contains apython
executable (symlink) without an extension.I've created an additional
python.exe
symlink to work around this for the moment.The text was updated successfully, but these errors were encountered: