Package installation problems when using Python 3.12 and pip version 24.0

48 Views Asked by At

I am using Python 3.12, pip version 24.0 and setuptools version 69.2.0. The setup.py file given with the package does not work as the .egg files are deprecated. These is a discussion about this at pypa/pip#12297. I have tried not to use the setup.py and instead use pip install but I get this error:

File "C:\Users\username\AppData\Local\Temp\pip-build-env-1u7gh_7i\overlay
\Lib\site-packages\setuptools_distutils\util.py", line 139, in convert_path
raise ValueError("path '%s' cannot be absolute" % pathname)
ValueError: path '/home/esabellico/workspace/confluent-kafka-python-sdist/
LICENSE.txt' cannot be absolute

I have gone inside of util.py file but it is hard to follow exactly what is going on and why installation terminates. I have spent two full days trying to install this particular package but have not had any luck. All feedback, fixes, updates, or suggestions are hightly appreciated. Thanks.

0

There are 0 best solutions below