Closed ghost closed 7 months ago
try updating setuptools and pip in the venv before installing the opengrok-tools package.
hmmm... it seems still not working...
WARNING: Discarding file:///opt/pisces/test/opengrok-1.12.24/tools/opengrok-tools.tar.gz. Command errored out with exit status 1: /opt/pisces/test/opengrok-1.12.24/tools/env/bin/python3 /opt/pisces/test/opengrok-1.12.24/tools/env/lib64/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-0ro8cv61/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools >=61.2' Check the logs for full command output. ERROR: Command errored out with exit status 1: /opt/pisces/test/opengrok-1.12.24/tools/env/bin/python3 /opt/pisces/test/opengrok-1.12.24/tools/env/lib64/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-0ro8cv61/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools >=61.2' Check the logs for full command output.
We get the following error when installing 1.12.24. I feel it is similar to the issue# 4497 but I don't know how to fix/workaround. Please help. Env: RHEL 8 (Python3: 3.6.8)
pisces@sjc-opengrok-28>python3 -m venv env pisces@sjc-opengrok-28>. ./env/bin/activate (env) pisces@sjc-opengrok-28>pip install opengrok-tools.tar.gz Processing ./opengrok-tools.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
File "/usr/lib64/python3.6/tokenize.py", line 452, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-4pe9hwb0-build/setup.py'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-4pe9hwb0-build/