protlib
protlib copied to clipboard
problems installing protlib v1.5.0
Hello @EliAndrewC
I couldn't install the new version of protlib. Please have a look.

I think the problem is related to setuptools >=58 and/or python 3.10. By forcing the version <58 the installation works.
pip install --upgrade pip setuptools==57.5.0
Source problem seems to be this: https://github.com/pypa/setuptools/issues/2086
Other projects fixing this problem in the following way:
- https://github.com/behave/behave/commit/34ec5097f33c9b1620714d8dd95e75901559668b
- https://opendev.org/openstack/pbr/commit/242f7bd1b68428fc20a9d7f219f70a21372dd5c9
I'm also having this problem now. Is there a fix planned?
I've limited my tox install to protlib==1.4
our issue post doesn't reach @EliAndrewC. Contact through email.
same issue. With Heroku, they don't even allow downgrading setuptools.
I solved this by creating a whl myself from the available tar
How to fix the issue can someone help in step by step
Hi, if you use a virtual environment it is easy.
- Create a virtual environment in your project path
python -m venv env.envis in this case the name of the virtual environment. - Switch with your command line into this environment
- Linux:
source venv/bin/activate - Windows:
venv\Scripts\activate
- Install the oder version of the setuptools
pip install setuptools==57.5.0 - Install all required dependencies like protlib via pip
- IDEs like Visual Studio Code support virtual environments
- Visual Studio Code:
CTRL + SHIFT + P -> Python: Select Interpretor
- Visual Studio Code: