[英]Pycharm error 'pkg-config' is required to install this package on Windows
When I try to install a package in Windows Pycharm I get this error 当我尝试在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\
I ran pip install pkgconfig and it installed correctly but Pycharm fails with this same error. 我运行了pip install pkgconfig并正确安装,但Pycharm失败,出现相同的错误。 I followed the directions here How to install pkg config in windows?
我按照这里的指示如何在Windows中安装pkg config? but I still receive the error.
但我仍然收到错误消息。 How can I overcome this and install pkg-config?
如何克服这个问题并安装pkg-config?
Once you've downloaded pkgconfig as described in your link , you must also add the folder to your environment variables path. 按照链接中的说明下载pkgconfig后,还必须将文件夹添加到环境变量路径。
In my case: 就我而言:
Keep in mind you will have to restart in order for the changes to path to be effective. 请记住,您必须重新启动才能使路径更改生效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.