Dear community,
I am trying to Install PDSim to work on my machine using Anaconda interpreter and PyCharm. I get the following error massage when I do the "pip install -e ." command.
I verified that I have the required packages and that they are updated, but the error remains.
Would appreciate any advice on how to resolve the matter.
Thank you very much for helping
" Building wheel for PDSim (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for PDSim (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Error: Command '['git', 'rev-parse', 'HEAD']' returned non-zero exit status 128.
Unable to extract the git revision, set to placeholder
Error: Command '['git', 'rev-parse', '--abbrev-ref', 'HEAD']' returned non-zero exit status 128.
Unable to extract the git branch, set to placeholder
to be written to init.py:
version = '2.14'
git_revision = '????'
git_branch = '????'
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PDSim
Failed to build PDSim
ERROR: Could not build wheels for PDSim, which is required to install pyproject.toml-based projects
"
Dear community,
I am trying to Install PDSim to work on my machine using Anaconda interpreter and PyCharm. I get the following error massage when I do the "pip install -e ." command.
I verified that I have the required packages and that they are updated, but the error remains.
Would appreciate any advice on how to resolve the matter.
Thank you very much for helping
" Building wheel for PDSim (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for PDSim (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Error: Command '['git', 'rev-parse', 'HEAD']' returned non-zero exit status 128.
Unable to extract the git revision, set to placeholder
Error: Command '['git', 'rev-parse', '--abbrev-ref', 'HEAD']' returned non-zero exit status 128.
Unable to extract the git branch, set to placeholder
to be written to init.py:
version = '2.14'
git_revision = '????'
git_branch = '????'
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PDSim
Failed to build PDSim
ERROR: Could not build wheels for PDSim, which is required to install pyproject.toml-based projects
"