Search code examples
ubuntuvirtualenvwindows-subsystem-for-linuxpipenv

PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version, has anyone seen this before


/home/user/.local/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version and will not be supported in a future release

What is causing this, and what can be done to fix it?


Solution

  • This error message started to pop up for me once I've updated pip through itself. All it takes is uninstalling the initial pip version that was previously installed system-wide, which in my case, was obtained through the operating system's package manager e.g. APT.