当我尝试在Windows Pycharm中安装软件包时出现此错误
Collecting secp256k1 (from sawtooth-signing->sawtooth-sdk==1.0.1)
Using cached secp256k1-0.13.2.tar.gz
Complete output from command python setup.py egg_info:
'pkg-config' is required to install this package. Please see the README for details.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pycharm-packaging\secp256k1\
我运行 pip install pkgconfig 并正确安装,但Pycharm失败并出现同样的错误。我按照这里的指示How to install pkg config in windows?但我仍然收到错误。我该如何克服这个并安装pkg-config?
答案 0 :(得分:0)
按照link中的说明下载pkgconfig后,还必须将文件夹添加到环境变量路径中。
就我而言:
请记住,您必须重新启动才能使路径更改生效。