build/temp.linux-x86_64-2.7/_openssl.c:434:30: fatal error: openssl/opensslv.h: No such file or directory

 

pip install cryptography error

 

2. 解决办法

  # cd 

  # vim .bash_profile

PKG_PATH=/opt/cloud/chef/embedded

export PKG_CONFIG_PATH=$PKG_PATH/lib/pkgconfig:$PKG_PATH/lib/

export LD_LIBRARY_PATH=$PKG_PATH/lib/

  保存并退出

 # source .bash_profile

转载于:https://my.oschina.net/ayy/blog/1535145

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2021-09-09
  • 2021-06-18
  • 2021-06-15
猜你喜欢
  • 2022-12-23
  • 2021-06-02
  • 2021-06-07
  • 2021-07-18
  • 2021-08-07
  • 2021-10-27
  • 2021-08-20
相关资源
相似解决方案