Docker buld fails. Unable to find installation candidates for pyqt5-qt5 (5.15.2)
xxxcrow opened this issue Β· comments
Describe the bug
Docker build fails
To Reproduce
Steps to reproduce the behavior:
- git clone [repo] && cd [repo]
- docker build -f docker/Dockerfile -t dedsecinside/torbot .
Expected behavior
Ready docker image
@neolight1010 oh, sorry, I probably was in hurry and didn't add why it fails π
And also I should mention that I'm using arm, and I hope this is not the reason π
Installing soupsieve (2.2.1)
RuntimeError
Unable to find installation candidates for pyqt5-qt5 (5.15.2)
at /usr/local/lib/python3.9/site-packages/poetry/installation/chooser.py:72 in ch
oose_for
68β
69β links.append(link)
70β
71β if not links:
β 72β raise RuntimeError(
73β "Unable to find installation candidates for {}".format(p
ackage)
74β )
75β
76β # Get the best link
Same error with ubuntu desktop 21
` ########### CLIB COMPILER OPTIMIZATION ###########
Platform :
Architecture: x64
Compiler : gcc
CPU baseline :
Requested : 'min'
Enabled : SSE SSE2 SSE3
Flags : -msse -msse2 -msse3
Extra checks: none
CPU dispatch :
Requested : 'max -xop -fma4'
Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_KNM AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
Generated : none
CCompilerOpt._cache_write[796] : write cache to path -> /tmp/pip-req-build-ap48whxk/build/temp.linux-x86_64-3.10/ccompiler_opt_cache_clib.py
----------------------------------------
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
WARNING: Ignoring invalid distribution -dna (/usr/local/lib/python3.10/site-packages)
WARNING: Ignoring invalid distribution -dna (/usr/local/lib/python3.10/site-packages)
WARNING: Ignoring invalid distribution -dna (/usr/local/lib/python3.10/site-packages)
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
at /usr/local/lib/python3.10/site-packages/poetry/utils/env.py:1183 in _run
1179β output = subprocess.check_output(
1180β cmd, stderr=subprocess.STDOUT, **kwargs
1181β )
1182β except CalledProcessError as e:
β 1183β raise EnvCommandError(e, input=input_)
1184β
1185β return decode(output)
1186β
1187β def execute(self, bin, *args, **kwargs):
The command '/bin/sh -c python -m poetry install --no-dev' returned a non-zero code: 1
`
Getting the Same error, have you got any solution?
Disabled ete3
for the time being since the library was causing many issues.