Pip warning during binder

FYI: I didn’t see any issues or previous posts, but I assume folks have seen or know about this warning message that pops up in the log when starting a binder:

WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with ‘-m pip’ instead of running pip directly.

Anyway, I assume this is happening to everyone everywhere, so it may require changing the way pip is invoked sometime in the future.

2 Likes

Hi thanks for bringing this up. Indeed it has popped up a few times but as of yet no one has fixed it :slight_smile:

I think replacing the pip install command with the new way would make for a good first contribution to repo2docker for someone who is familiar with (or wants to learn about) conda and Python.

1 Like