SkeletonMan03 / FZEasyMarauderFlash

Easily Flash Marauder onto the Flipper Zero Devboard or an ESP32!
GNU General Public License v3.0
1.01k stars 123 forks source link

Dependency issue #65

Open shayaansiddiqui opened 1 month ago

shayaansiddiqui commented 1 month ago
Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi/
Collecting gitpython (from -r .\requirements.txt (line 1))
  Using cached GitPython-3.1.43-py3-none-any.whl.metadata (13 kB)
Collecting glob2 (from -r .\requirements.txt (line 2))
  Using cached glob2-0.5-py2.py3-none-any.whl.metadata (633 bytes)
Collecting pyserial (from -r .\requirements.txt (line 3))
  Using cached https://dl.espressif.com/pypi/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting requests (from -r .\requirements.txt (line 4))
  Using cached https://dl.espressif.com/pypi/requests/requests-2.32.3-py3-none-any.whl (64 kB)
Collecting esptool (from -r .\requirements.txt (line 6))
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.7.0-py3-none-any.whl (370 kB)
Collecting colorama (from -r .\requirements.txt (line 7))
  Using cached https://dl.espressif.com/pypi/colorama/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting argparse (from -r .\requirements.txt (line 8))
  Using cached argparse-1.4.0-py2.py3-none-any.whl.metadata (2.8 kB)
Collecting gitdb<5,>=4.0.1 (from gitpython->-r .\requirements.txt (line 1))
  Using cached gitdb-4.0.11-py3-none-any.whl.metadata (1.2 kB)
Collecting charset-normalizer<4,>=2 (from requests->-r .\requirements.txt (line 4))
  Using cached https://dl.espressif.com/pypi/charset-normalizer/charset_normalizer-3.3.2-py3-none-any.whl (48 kB)
Collecting idna<4,>=2.5 (from requests->-r .\requirements.txt (line 4))
  Using cached https://dl.espressif.com/pypi/idna/idna-3.7-py3-none-any.whl (66 kB)
Collecting urllib3<3,>=1.21.1 (from requests->-r .\requirements.txt (line 4))
  Using cached https://dl.espressif.com/pypi/urllib3/urllib3-2.2.2-py3-none-any.whl (121 kB)
Collecting certifi>=2017.4.17 (from requests->-r .\requirements.txt (line 4))
  Using cached https://dl.espressif.com/pypi/certifi/certifi-2024.7.4-py3-none-any.whl (162 kB)
Collecting bitstring>=3.1.6 (from esptool->-r .\requirements.txt (line 6))
  Using cached https://dl.espressif.com/pypi/bitstring/bitstring-4.2.3-py3-none-any.whl (71 kB)
INFO: pip is looking at multiple versions of esptool to determine which version is compatible with other requirements. This could take a while.
Collecting esptool (from -r .\requirements.txt (line 6))
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.6.2-py3-none-any.whl (338 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.6.1-py3-none-any.whl (337 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.6-py3-none-any.whl (337 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.5.1-py3-none-any.whl (320 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.5-py3-none-any.whl (317 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.4-py3-none-any.whl (288 kB)
Collecting bitstring<4,>=3.1.6 (from esptool->-r .\requirements.txt (line 6))
  Using cached https://dl.espressif.com/pypi/bitstring/bitstring-3.1.9-py3-none-any.whl (39 kB)
Collecting esptool (from -r .\requirements.txt (line 6))
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.3-py3-none-any.whl (286 kB)
INFO: pip is still looking at multiple versions of esptool to determine which version is compatible with other requirements. This could take a while.
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.2.1-py3-none-any.whl (259 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.2-py3-none-any.whl (259 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.1-py3-none-any.whl (262 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-4.0-py3-none-any.whl (261 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-3.3.1-py3-none-any.whl (350 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Using cached https://dl.espressif.com/pypi/esptool/esptool-3.3-py3-none-any.whl (350 kB)
  Using cached https://dl.espressif.com/pypi/esptool/esptool-3.2-py3-none-any.whl (331 kB)

The conflict is caused by: esptool 4.7.0 depends on cryptography>=2.1.4 esptool 4.6.2 depends on cryptography>=2.1.4 esptool 4.6.1 depends on cryptography>=2.1.4 esptool 4.6 depends on cryptography>=2.1.4 esptool 4.5.1 depends on cryptography>=2.1.4 esptool 4.5 depends on cryptography>=2.1.4 esptool 4.4 depends on cryptography>=2.1.4 esptool 4.3 depends on cryptography>=2.1.4 esptool 4.2.1 depends on cryptography>=2.1.4 esptool 4.2 depends on cryptography>=2.1.4 esptool 4.1 depends on cryptography>=2.1.4 esptool 4.0 depends on cryptography>=2.1.4 esptool 3.3.1 depends on cryptography>=2.1.4 esptool 3.3 depends on cryptography>=2.1.4 esptool 3.2 depends on cryptography>=2.1.4

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

Resolution: Please add cryptography to the requirements.txt file


This could be a Windows on ARM issue but RUST does not appear to be installed and it's required by cryptography. when I install it via pip3 install RUST, it failed with

File "C:\Program Files\Python312-arm64\Lib\subprocess.py", line 548, in run
          with Popen(*popenargs, **kwargs) as process:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Program Files\Python312-arm64\Lib\subprocess.py", line 1026, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "C:\Program Files\Python312-arm64\Lib\subprocess.py", line 1538, in _execute_child
          hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      FileNotFoundError: [WinError 2] The system cannot find the file specified
SkeletonMan03 commented 1 month ago

I've never seen it need cryptography, or rather have never seen it missing. But will look later. Also, Rust is a programming language. Not sure why it would want that either and am going to assume because Windows ARM