Skip to content

error when installing in cmd windows #113

Open

Description

When I tried to install hdwallet in cmd, an error like this appeared, resulting in hdwallet not being installed

error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [57 lines of output]
WARNING: Use build.verbose instead of cmake.verbose for scikit-build-core >= 0.10
*** scikit-build-core 0.11.0 using CMake 3.31.6 (wheel)
*** Configuring CMake...
loading initial cache file C:\Users\Administrator\AppData\Local\Temp\tmpd0kk5_kn\build\CMakeInit.txt
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:3 (project):
Running

     'nmake' '-?'

    failed with:

     no such file or directory


  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "C:\Program Files\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module>
      main()
      ~~~~^^
    File "C:\Program Files\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main
      json_out["return_val"] = hook(**hook_input["kwargs"])
                               ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Program Files\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 178, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-nm45mh1a\overlay\Lib\site-packages\hatchling\build.py", line 58, in build_wheel
      return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
                              ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-nm45mh1a\overlay\Lib\site-packages\hatchling\builders\plugin\interface.py", line 147, in build
      build_hook.initialize(version, build_data)
      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-nm45mh1a\overlay\Lib\site-packages\scikit_build_core\hatch\plugin.py", line 123, in initialize
      self._initialize(build_data=build_data)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-nm45mh1a\overlay\Lib\site-packages\scikit_build_core\hatch\plugin.py", line 226, in _initialize
      builder.configure(
      ~~~~~~~~~~~~~~~~~^
          defines=defines,
          ^^^^^^^^^^^^^^^^
      ...<2 lines>...
          version=Version(self.build_config.builder.metadata.version),
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-nm45mh1a\overlay\Lib\site-packages\scikit_build_core\builder\builder.py", line 283, in configure
      self.config.configure(
      ~~~~~~~~~~~~~~~~~~~~~^
          defines=cmake_defines,
          ^^^^^^^^^^^^^^^^^^^^^^
          cmake_args=[*self.get_cmake_args(), *configure_args],
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-nm45mh1a\overlay\Lib\site-packages\scikit_build_core\cmake.py", line 254, in configure
      raise FailedLiveProcessError(msg) from None
  scikit_build_core.errors.FailedLiveProcessError: CMake configuration failed
  [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.

Activity

  1. axiom90 commented on Mar 16, 2025

    @axiom90
    Member

    What command did you try to install hdwallet? Also, could you provide more details about your environment (Python version, etc.)? the error seems unrelated to this project.

  2. ChetanTiwari0786 commented on Mar 20, 2025

    @ChetanTiwari0786

    Python version 3.13.2 but showing same error

  3. ChetanTiwari0786 commented on Mar 20, 2025

    @ChetanTiwari0786

    Image

  4. itsm3abena commented on Mar 21, 2025

    @itsm3abena
    Member

    It looks like you're getting a Permission denied (publickey) error when trying to install a Python package from a GitHub repo using SSH. The issue is most likely due to the SSH URL being formatted incorrectly or your SSH key not being set up properly.
    Here's how to fix it:

    1. Use the correct Git SSH URL

    Make sure you're using this format:

    git+ssh://[email protected]/talonlab/python-hdwallet.git
    

    Notice the git@ before github.com — that’s required for SSH authentication with GitHub.

    1. Check your SSH key setup

    If you haven’t already:
    Generate an SSH key (if you don’t have one):

    ssh-keygen -t ed25519 -C "[email protected]"
    

    Add your public key to GitHub:

    Run:

     cat ~/.ssh/id_ed25519.pub
    

    Copy the output
    Go to GitHub → Settings → SSH and GPG keys and add a new key

    1. Test your SSH connection

    Run:

    You should see something like:

    Hi yourusername! You've successfully authenticated...

    Once that works, your pip install command should go through just fine.

    Let us know if you need help with any step!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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