Just started using pipx. Packages install fine, but I get always the following warning on the console:
Cache entry deserialization failed, entry ignored
This happens on Centos 6 with Python 3.6.4.
I get the same warning. I ran with --verbose and it happens when pip is being upgraded.
<virtuan env>/bin/python -m pip install --upgrade pip
Cache entry deserialization failed, entry ignored
I think this is because the version of pip that ships with Python 3 is fairly old (Python 3.6 ships with pip 9.0.1) and has a different serialization format from newer versions of pip. There is a closed issue on pip here: https://github.com/pypa/pip/issues/5250. I don't think there is anything to worry about other than not re-using the cache (more network requests?).
Perhaps someone else has more insight into what the root cause of this is and if there is any way pipx can work around/fix it?
Thanks @cs01.
How can I specify in pipx not to use the cache? Can I even put this somehow in a config file to persist it?
With the latest version, --no-cache-dir should work for you
pipx install --pip-args="--no-cache-dir" PACKAGE
At this time there is no config to persist this argument.
Upgrade Pip using> curl https://bootstrap.pypa.io/get-pip.py | python3
Most helpful comment
Upgrade Pip using> curl https://bootstrap.pypa.io/get-pip.py | python3