Skip to content

Fails to install #10

@StarringLara

Description

@StarringLara

I'm using Windows 11 Pro. I'm trying to install basedai in PowerShell 7.4 in Windows Terminal. I have:
Python 3.13.1
pip 24.3.1

This is the command I am running to install it: pip install basedai
I have tried this from there, and from an elevated terminal and from Command Prompt, and I consistently get the same error:

Collecting basedai
  Downloading basedai-1.1.2-py3-none-any.whl.metadata (10 kB)
Collecting aiohttp==3.9.0 (from basedai)
  Using cached aiohttp-3.9.0.tar.gz (7.5 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting ansible==6.7.0 (from basedai)
  Using cached ansible-6.7.0-py3-none-any.whl.metadata (6.6 kB)
Collecting ansible-vault==2.1.0 (from basedai)
  Using cached ansible-vault-2.1.0.tar.gz (3.5 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: backoff in c:\users\lara\appdata\local\programs\python\python313\lib\site-packages (from basedai) (2.2.1)
Collecting black==23.7.0 (from basedai)
  Using cached black-23.7.0-py3-none-any.whl.metadata (63 kB)
Collecting cryptography==41.0.3 (from basedai)
  Using cached cryptography-41.0.3-cp37-abi3-win_amd64.whl.metadata (5.3 kB)
Collecting ddt==1.6.0 (from basedai)
  Using cached ddt-1.6.0-py2.py3-none-any.whl.metadata (975 bytes)
Collecting fuzzywuzzy>=0.18.0 (from basedai)
  Using cached fuzzywuzzy-0.18.0-py2.py3-none-any.whl.metadata (4.9 kB)
Collecting fastapi==0.99.1 (from basedai)
  Using cached fastapi-0.99.1-py3-none-any.whl.metadata (23 kB)
Collecting loguru==0.7.0 (from basedai)
  Using cached loguru-0.7.0-py3-none-any.whl.metadata (22 kB)
Collecting munch==2.5.0 (from basedai)
  Using cached munch-2.5.0-py2.py3-none-any.whl.metadata (5.8 kB)
Collecting netaddr (from basedai)
  Using cached netaddr-1.3.0-py3-none-any.whl.metadata (5.0 kB)
Collecting numpy (from basedai)
  Using cached numpy-2.2.1-cp313-cp313-win_amd64.whl.metadata (60 kB)
Collecting msgpack-numpy-opentensor==0.5.0 (from basedai)
  Using cached msgpack_numpy_opentensor-0.5.0-py2.py3-none-any.whl.metadata (4.9 kB)
Collecting nest-asyncio (from basedai)
  Using cached nest_asyncio-1.6.0-py3-none-any.whl.metadata (2.8 kB)
Collecting pycryptodome<4.0.0,>=3.18.0 (from basedai)
  Using cached pycryptodome-3.21.0-cp36-abi3-win_amd64.whl.metadata (3.4 kB)
Collecting pyyaml (from basedai)
  Using cached PyYAML-6.0.2-cp313-cp313-win_amd64.whl.metadata (2.1 kB)
  DEPRECATION: Wheel filename 'password_strength-0.0.1_1-py2-none-any.whl' is not correctly normalised. Future versions of pip will raise the following error:
  Invalid wheel filename (invalid version): password_strength-0.0.1_1-py2-none-any

   pip 25.1 will enforce this behaviour change. A possible replacement is to rename the wheel to use a correctly normalised name (this may require updating the version in the project metadata). Discussion can be found at https://github.com/pypa/pip/issues/12938
  DEPRECATION: Wheel filename 'password_strength-0.0.2_0-py2-none-any.whl' is not correctly normalised. Future versions of pip will raise the following error:
  Invalid wheel filename (invalid version): password_strength-0.0.2_0-py2-none-any

   pip 25.1 will enforce this behaviour change. A possible replacement is to rename the wheel to use a correctly normalised name (this may require updating the version in the project metadata). Discussion can be found at https://github.com/pypa/pip/issues/12938
Collecting password-strength (from basedai)
  Using cached password_strength-0.0.3.post2-py2.py3-none-any.whl.metadata (10 kB)
Collecting pydantic!=1.8,!=1.8.1,<2.0.0,>=1.7.4 (from basedai)
  Using cached pydantic-1.10.20-cp313-cp313-win_amd64.whl.metadata (155 kB)
Collecting PyNaCl<=1.5.0,>=1.3.0 (from basedai)
  Using cached PyNaCl-1.5.0-cp36-abi3-win_amd64.whl.metadata (8.7 kB)
Collecting pytest-asyncio (from basedai)
  Using cached pytest_asyncio-0.25.2-py3-none-any.whl.metadata (3.9 kB)
Collecting python-Levenshtein (from basedai)
  Using cached python_Levenshtein-0.26.1-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: pytest in c:\users\lara\appdata\local\programs\python\python313\lib\site-packages (from basedai) (8.3.4)
Collecting retry (from basedai)
  Using cached retry-0.9.2-py2.py3-none-any.whl.metadata (5.8 kB)
Requirement already satisfied: requests in c:\users\lara\appdata\local\programs\python\python313\lib\site-packages (from basedai) (2.32.3)
Requirement already satisfied: rich in c:\users\lara\appdata\local\programs\python\python313\lib\site-packages (from basedai) (13.9.4)
Collecting scalecodec==1.2.7 (from basedai)
  Using cached scalecodec-1.2.7-py3-none-any.whl.metadata (17 kB)
Collecting shtab==1.6.5 (from basedai)
  Using cached shtab-1.6.5-py3-none-any.whl.metadata (7.3 kB)
Collecting substrate-interface==1.5.2 (from basedai)
  Using cached substrate_interface-1.5.2-py3-none-any.whl.metadata (4.5 kB)
Collecting termcolor (from basedai)
  Using cached termcolor-2.5.0-py3-none-any.whl.metadata (6.1 kB)
INFO: pip is looking at multiple versions of basedai to determine which version is compatible with other requirements. This could take a while.
Collecting basedai
  Using cached basedai-1.1.1-py3-none-any.whl.metadata (10 kB)
  Using cached basedai-1.1.0-py3-none-any.whl.metadata (10 kB)
  Using cached basedai-1.0.9-py3-none-any.whl.metadata (10 kB)
  Using cached basedai-1.0.8-py3-none-any.whl.metadata (10 kB)
  Using cached basedai-1.0.7-py3-none-any.whl.metadata (10 kB)
  Using cached basedai-1.0.6-py3-none-any.whl.metadata (7.2 kB)
  Using cached basedai-1.0.5-py3-none-any.whl.metadata (7.3 kB)
INFO: pip is still looking at multiple versions of basedai to determine which version is compatible with other requirements. This could take a while.
  Using cached basedai-1.0.4-py3-none-any.whl.metadata (7.3 kB)
  Using cached basedai-1.0.3-py3-none-any.whl.metadata (7.3 kB)
  Using cached basedai-1.0.2-py3-none-any.whl.metadata (7.3 kB)
  Using cached basedai-1.0.1.tar.gz (209 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      <string>:19: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      Traceback (most recent call last):
        File "C:\Users\lara\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "C:\Users\lara\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\lara\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\lara\AppData\Local\Temp\pip-build-env-hn3mhtdp\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\lara\AppData\Local\Temp\pip-build-env-hn3mhtdp\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "C:\Users\lara\AppData\Local\Temp\pip-build-env-hn3mhtdp\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
          super().run_setup(setup_script=setup_script)
          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\lara\AppData\Local\Temp\pip-build-env-hn3mhtdp\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 44, in <module>
        File "<string>", line 33, in read_requirements
        File "C:\Users\lara\AppData\Local\Programs\Python\Python313\Lib\pathlib\_local.py", line 537, in open
          return io.open(self, mode, buffering, encoding, errors, newline)
                 ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      FileNotFoundError: [Errno 2] No such file or directory: 'requirements\\prod.txt'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions