繁体   English   中英

为什么我不能在 OSX 上安装 Rasa? “确认 ssl 证书时出现问题”

[英]Why can't I install Rasa on OSX? "There was a problem confirming the ssl certificate"

我正在尝试在我的 macbook 上的 virtualenv 中运行以下命令...

pip3 install rasa

但是当我跑步时我得到

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting rasa
  Could not fetch URL https://pypi.python.org/simple/rasa/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
  Could not find a version that satisfies the requirement rasa (from versions: )
No matching distribution found for rasa

我尝试像这样安装 openSSL 3,但我遇到了同样的错误。

鉴于您使用的是 Mac ,如果您使用homebrew您的时间会更轻松

  1. 如果您没有 Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. 或者,如果您已经安装了 Homebrew:
brew update && brew upgrade
brew uninstall --ignore-dependencies openssl; brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM