DedSecInside / TorBot

Dark Web OSINT Tool
Other
2.85k stars 525 forks source link

Docker buld fails. Unable to find installation candidates for pyqt5-qt5 (5.15.2) #217

Closed xxxcrow closed 2 years ago

xxxcrow commented 3 years ago

Describe the bug Docker build fails

To Reproduce Steps to reproduce the behavior:

  1. git clone [repo] && cd [repo]
  2. docker build -f docker/Dockerfile -t dedsecinside/torbot .

Expected behavior Ready docker image

neolight1010 commented 3 years ago

That's weird. I can't reproduce the error 😕 image

xxxcrow commented 3 years ago

@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
othin1 commented 2 years ago

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
`
pulkit22 commented 2 years ago

Getting the Same error, have you got any solution?

PSNAppz commented 2 years ago

Disabled ete3 for the time being since the library was causing many issues.