Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing #5

Open
nagayev opened this issue Oct 13, 2024 · 0 comments
Open

Error while installing #5

nagayev opened this issue Oct 13, 2024 · 0 comments

Comments

@nagayev
Copy link

nagayev commented Oct 13, 2024

Python: 3.12

 Downloading numpy-1.18.5.zip (5.4 MB)
     ---------------------------------------- 5.4/5.4 MB 625.4 kB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [26 lines of output]
      Running from numpy source directory.
      <string>:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
      Traceback (most recent call last):
        File "C:\Users\Marat\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\Marat\AppData\Local\Programs\Python\Python312\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\Marat\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Marat\AppData\Local\Temp\pip-build-env-atpc2hog\overlay\Lib\site-packages\setuptools\build_meta.py", line 373, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "C:\Users\Marat\AppData\Local\Temp\pip-build-env-atpc2hog\overlay\Lib\site-packages\setuptools\build_meta.py", line 503, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\Marat\AppData\Local\Temp\pip-build-env-atpc2hog\overlay\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup
          exec(code, locals())
        File "<string>", line 488, in <module>
        File "<string>", line 465, in setup_package
        File "C:\Users\Marat\AppData\Local\Temp\pip-install-g416s002\numpy_75e655bd1bb04aa2848b82eeddda4320\numpy\distutils\core.py", line 26, in <module>
          from numpy.distutils.command import config, config_compiler, \
        File "C:\Users\Marat\AppData\Local\Temp\pip-install-g416s002\numpy_75e655bd1bb04aa2848b82eeddda4320\numpy\distutils\command\config.py", line 20, in <module>
          from numpy.distutils.mingw32ccompiler import generate_manifest
        File "C:\Users\Marat\AppData\Local\Temp\pip-install-g416s002\numpy_75e655bd1bb04aa2848b82eeddda4320\numpy\distutils\mingw32ccompiler.py", line 34, in <module>
          from distutils.msvccompiler import get_build_version as get_build_msvc_version
      ModuleNotFoundError: No module named 'distutils.msvccompiler'
      [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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant