I cloned gns3 and did such as :
##############################################################################
$python3 -m pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Ignoring jsonschema: markers 'python_version < "3.7"' don't match your environment
Ignoring aiofiles: markers 'python_version < "3.7"' don't match your environment
Ignoring Jinja2: markers 'python_version < "3.7"' don't match your environment
Ignoring importlib-resources: markers 'python_version <= "3.9"' don't match your environment
Ignoring setuptools: markers 'python_version < "3.7"' don't match your environment
Requirement already satisfied: jsonschema<4.18,>=4.17.3 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 1)) (4.17.3)
Requirement already satisfied: aiohttp<3.9,>=3.8.5 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 3)) (3.8.5)
Requirement already satisfied: aiohttp-cors<0.8,>=0.7.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (0.7.0)
Requirement already satisfied: aiofiles<23.3,>=23.2.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 5)) (23.2.1)
Requirement already satisfied: Jinja2<3.2,>=3.1.2 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7)) (3.1.2)
Requirement already satisfied: sentry-sdk<1.32,==1.31.0 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 9)) (1.31.0)
Requirement already satisfied: psutil==5.9.5 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 10)) (5.9.5)
Requirement already satisfied: async-timeout<4.1,>=4.0.2 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 11)) (4.0.3)
Requirement already satisfied: distro>=1.8.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 12)) (1.8.0)
Requirement already satisfied: py-cpuinfo<10.0,>=9.0.0 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 13)) (9.0.0)
Requirement already satisfied: platformdirs>=2.4.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 14)) (3.11.0)
Requirement already satisfied: truststore>=0.8.0 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 16)) (0.8.0)
Requirement already satisfied: setuptools>=60.8.1 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 17)) (68.2.2)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from sentry-sdk<1.32,==1.31.0->-r requirements.txt (line 9)) (2023.7.22)
Requirement already satisfied: urllib3>=1.26.11 in /usr/lib/python3/dist-packages (from sentry-sdk<1.32,==1.31.0->-r requirements.txt (line 9)) (1.26.16)
Requirement already satisfied: attrs>=17.4.0 in /usr/lib/python3/dist-packages (from jsonschema<4.18,>=4.17.3->-r requirements.txt (line 1)) (23.1.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/lib/python3/dist-packages (from jsonschema<4.18,>=4.17.3->-r requirements.txt (line 1)) (0.18.1)
#####################################################################################
Then:
######################################################################
gns3-server$ python3 -m pip install .
Defaulting to user installation because normal site-packages is not writeable
Processing /home/mohsen/src-compiled/gns3-server
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
No static busybox found
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
###################################################################
I cloned gns3 and did such as : ############################################################################## $python3 -m pip install -r requirements.txt Defaulting to user installation because normal site-packages is not writeable Ignoring jsonschema: markers 'python_version < "3.7"' don't match your environment Ignoring aiofiles: markers 'python_version < "3.7"' don't match your environment Ignoring Jinja2: markers 'python_version < "3.7"' don't match your environment Ignoring importlib-resources: markers 'python_version <= "3.9"' don't match your environment Ignoring setuptools: markers 'python_version < "3.7"' don't match your environment Requirement already satisfied: jsonschema<4.18,>=4.17.3 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 1)) (4.17.3) Requirement already satisfied: aiohttp<3.9,>=3.8.5 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 3)) (3.8.5) Requirement already satisfied: aiohttp-cors<0.8,>=0.7.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (0.7.0) Requirement already satisfied: aiofiles<23.3,>=23.2.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 5)) (23.2.1) Requirement already satisfied: Jinja2<3.2,>=3.1.2 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7)) (3.1.2) Requirement already satisfied: sentry-sdk<1.32,==1.31.0 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 9)) (1.31.0) Requirement already satisfied: psutil==5.9.5 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 10)) (5.9.5) Requirement already satisfied: async-timeout<4.1,>=4.0.2 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 11)) (4.0.3) Requirement already satisfied: distro>=1.8.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 12)) (1.8.0) Requirement already satisfied: py-cpuinfo<10.0,>=9.0.0 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 13)) (9.0.0) Requirement already satisfied: platformdirs>=2.4.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 14)) (3.11.0) Requirement already satisfied: truststore>=0.8.0 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 16)) (0.8.0) Requirement already satisfied: setuptools>=60.8.1 in /home/mohsen/.local/lib/python3.11/site-packages (from -r requirements.txt (line 17)) (68.2.2) Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from sentry-sdk<1.32,==1.31.0->-r requirements.txt (line 9)) (2023.7.22) Requirement already satisfied: urllib3>=1.26.11 in /usr/lib/python3/dist-packages (from sentry-sdk<1.32,==1.31.0->-r requirements.txt (line 9)) (1.26.16) Requirement already satisfied: attrs>=17.4.0 in /usr/lib/python3/dist-packages (from jsonschema<4.18,>=4.17.3->-r requirements.txt (line 1)) (23.1.0) Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/lib/python3/dist-packages (from jsonschema<4.18,>=4.17.3->-r requirements.txt (line 1)) (0.18.1) #####################################################################################
Then: ###################################################################### gns3-server$ python3 -m pip install . Defaulting to user installation because normal site-packages is not writeable Processing /home/mohsen/src-compiled/gns3-server Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] No static busybox found [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. ###################################################################
How can I solve it?