juancarlospaco / faster-than-requests

Faster requests on Python 3
https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e
MIT License
1.1k stars 89 forks source link

[bug] CANNT INSTALL ON ARM64 #217

Closed ohmyx0y closed 1 year ago

ohmyx0y commented 1 year ago

Architecture

ARM_64 (64Bit)

Operating System

Linux

Disk

SSD (Solid)

Memory

16 Gigabytes

CPU Cores

4 CPU Cores

Internet Connection

Optical Fiber (very fast)

What is your web browser?

Others (Unkown)

Device

Others (Unkown)

Where are you from?

Belgium

What happened?

CANNT INSTALL ON ARM64

when running cmd pip3.8 install faster_then_requests

Standard Output Logs

Collecting faster_than_requests
  Using cached faster_than_requests-21.03.03.zip (4.9 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [131 lines of output]
        error: subprocess-exited-with-error

        × python setup.py bdist_wheel did not run successfully.
        │ exit code: 1
        ╰─> [62 lines of output]
            running bdist_wheel
            running build
            /usr/local/lib/python3.8/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
            !!

                    ********************************************************************************
                    Please avoid running ``setup.py`` directly.
                    Instead, use pypa/build, pypa/installer, pypa/build or
                    other standards-based tools.

                    See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
                    ********************************************************************************

            !!
              self.initialize_options()
            installing to build/bdist.linux-aarch64/wheel
            running install
            running install_egg_info
            running egg_info
            writing choosenim_install.egg-info/PKG-INFO
            writing dependency_links to choosenim_install.egg-info/dependency_links.txt
            deleting choosenim_install.egg-info/requires.txt
            writing top-level names to choosenim_install.egg-info/top_level.txt
            writing manifest file 'choosenim_install.egg-info/SOURCES.txt'
            reading manifest file 'choosenim_install.egg-info/SOURCES.txt'
            writing manifest file 'choosenim_install.egg-info/SOURCES.txt'
            Copying choosenim_install.egg-info to build/bdist.linux-aarch64/wheel/choosenim_install-0.5.5-py3.8.egg-info
            running install_scripts
            /bin/sh: 1: choosenim: not found
            choosenim-init: Error: Sorry, your platform (linux_arm64) is not supported by choosenim.
            choosenim-init: Error: You will need to install Nim using an alternative method.
            choosenim-init: Error: See the following link for more info: https://nim-lang.org/install.html
            /tmp/pip-wheel-hna_8pba/choosenim-install_82210e3f228a444a85703b2ce15de254/setup.py:107: UserWarning: Failed to run sh init.sh -y
              warnings.warn("Failed to run " + choosenim_cmd)
            Traceback (most recent call last):
              File "<string>", line 2, in <module>
              File "<pip-setuptools-caller>", line 34, in <module>
              File "/tmp/pip-wheel-hna_8pba/choosenim-install_82210e3f228a444a85703b2ce15de254/setup.py", line 210, in <module>
                setuptools.setup(
              File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 107, in setup
                return distutils.core.setup(**attrs)
              File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 185, in setup
                return run_commands(dist)
              File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
                dist.run_commands()
              File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands
                self.run_command(cmd)
              File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 1244, in run_command
                super().run_command(command)
              File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
                cmd_obj.run()
              File "/usr/local/lib/python3.8/dist-packages/wheel/bdist_wheel.py", line 378, in run
                self.run_command("install")
              File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command
                self.distribution.run_command(command)
              File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 1244, in run_command
                super().run_command(command)
              File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
                cmd_obj.run()
              File "/tmp/pip-wheel-hna_8pba/choosenim-install_82210e3f228a444a85703b2ce15de254/setup.py", line 208, in run
                raise Exception(IOError, "Failed to install choosenim")
            Exception: (<class 'OSError'>, 'Failed to install choosenim')
            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for choosenim_install
      ERROR: Failed to build one or more wheels
      /usr/local/lib/python3.8/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
      !!

              ********************************************************************************
              The license_file parameter is deprecated, use license_files instead.

              By 2023-Oct-30, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************

      !!
        parsed = self.parsers.get(option_name, lambda x: x)(value)
      /usr/local/lib/python3.8/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!

              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************

      !!
        dist.fetch_build_eggs(dist.setup_requires)
      Traceback (most recent call last):
        File "/usr/local/lib/python3.8/dist-packages/setuptools/installer.py", line 96, in _fetch_build_egg_no_warn
          subprocess.check_call(cmd)
        File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/usr/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpx9si41f5', '--quiet', 'choosenim_install']' returned non-zero exit status 1.

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-exom4x6p/faster-than-requests_06b3844e214447ffa07dd30018c0c654/setup.py", line 2, in <module>
          setuptools.setup(package_data = {"": ["*.nim", "*.nims", "*.cfg", "*.dll", "*.so", "*.h", "*.hpp"]})
        File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 106, in setup
          _install_setup_requires(attrs)
        File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 79, in _install_setup_requires
          _fetch_build_eggs(dist)
        File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 84, in _fetch_build_eggs
          dist.fetch_build_eggs(dist.setup_requires)
        File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 917, in fetch_build_eggs
          return _fetch_build_eggs(self, requires)
        File "/usr/local/lib/python3.8/dist-packages/setuptools/installer.py", line 38, in _fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
        File "/usr/local/lib/python3.8/dist-packages/pkg_resources/__init__.py", line 827, in resolve
          dist = self._resolve_dist(
        File "/usr/local/lib/python3.8/dist-packages/pkg_resources/__init__.py", line 863, in _resolve_dist
          dist = best[req.key] = env.best_match(
        File "/usr/local/lib/python3.8/dist-packages/pkg_resources/__init__.py", line 1133, in best_match
          return self.obtain(req, installer)
        File "/usr/local/lib/python3.8/dist-packages/pkg_resources/__init__.py", line 1145, in obtain
          return installer(requirement)
        File "/usr/local/lib/python3.8/dist-packages/setuptools/installer.py", line 98, in _fetch_build_egg_no_warn
          raise DistutilsError(str(e)) from e
      distutils.errors.DistutilsError: Command '['/usr/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpx9si41f5', '--quiet', 'choosenim_install']' returned non-zero exit status 1.
      [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.
github-actions[bot] commented 1 year ago

Welcome ohmyx0y

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

BTC Bitcoin Network

1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi

Lightning Network

juancarlospaco@bitrefill.me

Ethereum ETH Dai DAI Uniswap UNI Axie Infinity AXS Smooth Love Potion SLP **BEP20 Binance Smart Chain Network BSC** ``` 0xb78c4cf63274bb22f83481986157d234105ac17e ``` **ERC20 Ethereum Network** ``` 0xb78c4cf63274bb22f83481986157d234105ac17e ```
Tether USDT **BEP20 Binance Smart Chain Network BSC** ``` 0xb78c4cf63274bb22f83481986157d234105ac17e ``` **ERC20 Ethereum Network** ``` 0xb78c4cf63274bb22f83481986157d234105ac17e ``` **TRC20 Tron Network** ``` TWGft53WgWvH2mnqR8ZUXq1GD8M4gZ4Yfu ```
Solana SOL **BEP20 Binance Smart Chain Network BSC** ``` 0xb78c4cf63274bb22f83481986157d234105ac17e ``` **SOL Solana Network** ``` FKaPSd8kTUpH7Q76d77toy1jjPGpZSxR4xbhQHyCMSGq ```
Cardano ADA **BEP20 Binance Smart Chain Network BSC** ``` 0xb78c4cf63274bb22f83481986157d234105ac17e ``` **ADA Cardano Network** ``` DdzFFzCqrht9Y1r4Yx7ouqG9yJNWeXFt69xavLdaeXdu4cQi2yXgNWagzh52o9k9YRh3ussHnBnDrg7v7W2hSXWXfBhbo2ooUKRFMieM ```
Sandbox SAND Decentraland MANA **ERC20 Ethereum Network** ``` 0xb78c4cf63274bb22f83481986157d234105ac17e ```
Algorand ALGO **ALGO Algorand Network** ``` WM54DHVZQIQDVTHMPOH6FEZ4U2AU3OBPGAFTHSCYWMFE7ETKCUUOYAW24Q ```
Binance [https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3](https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3 "Send via Binance Pay")
github-actions[bot] commented 1 year ago

This issue is Stale because it has been open for 100 days with no activity. Contribute a fix or comment on the issue, or it will be closed in a few days.

github-actions[bot] commented 1 year ago

This issue has been marked as Stale and closed due to inactivity after 100 days.