-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
setuptools version
71.0.0
Python version
Python version: 3.8.10
OS
Linux
Additional environment information
- Fossology version: 4.4.0
- Python version: 3.8.10
- importlib_metadata version: 1.5.0
- setuptools version: 71.0.0
Description
Hi everyone,
I'm having trouble running the post-installation script for Fossology as outlined in the installation guide.
Expected behavior
Installation finished correctly.
How to Reproduce
When I execute the script with the following command:
sudo /usr/local/lib/fossology/fo-postinstall
### Output
```console
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-paao6nic/progress/setup.py'"'"'; __file__='"'"'/tmp/pip-install-paao6nic/progress/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-paao6nic/progress/pip-egg-info
cwd: /tmp/pip-install-paao6nic/progress/
Complete output (9 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/fossy/pythondeps/setuptools/__init__.py", line 21, in <module>
from .dist import Distribution
File "/home/fossy/pythondeps/setuptools/dist.py", line 29, in <module>
from . import _entry_points
File "/home/fossy/pythondeps/setuptools/_entry_points.py", line 44, in <module>
def validate(eps: metadata.EntryPoints):
AttributeError: module 'importlib_metadata' has no attribute 'EntryPoints'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.