Repository navigation
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
axiom90 commentedon Mar 16, 2025
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.
ChetanTiwari0786 commentedon Mar 20, 2025
Python version 3.13.2 but showing same error
ChetanTiwari0786 commentedon Mar 20, 2025
itsm3abena commentedon Mar 21, 2025
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:
Make sure you're using this format:
Notice the git@ before github.com — that’s required for SSH authentication with GitHub.
If you haven’t already:
Generate an SSH key (if you don’t have one):
Add your public key to GitHub:
Run:
Copy the output
Go to GitHub → Settings → SSH and GPG keys and add a new key
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!