首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Anaconda3中安装pyttsx?

如何在Anaconda3中安装pyttsx?
EN

Stack Overflow用户
提问于 2019-10-19 18:48:18
回答 3查看 6.8K关注 0票数 1

如何在Anaconda3 (Python3.7) windows 10机器上安装pyttsx?我试着安装,但是得到了错误

代码语言:javascript
复制
ERROR: Could not find a version that satisfies the requirement pyttsx3 (from versions: none)
ERROR: No matching distribution found for pyttsx3

C:\Users\Ramesh\Anaconda3\Scripts>pip install pyttsx3
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pyttsx3
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyttsx3/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyttsx3/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyttsx3/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyttsx3/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyttsx3/
  Could not fetch URL https://pypi.org/simple/pyttsx3/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pyttsx3/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
  ERROR: Could not find a version that satisfies the requirement pyttsx3 (from versions: none)
ERROR: No matching distribution found for pyttsx3
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2020-05-30 10:08:26

为了解决这个问题,我面临着相同的problem.The步骤:

  1. 转到Anaconda提示符并键入conda install pip。这将在当前conda环境中安装pip。

2.在步骤1之后,键入pip install pyttsx3

有关帮助的其他链接,请参见安装非conda软件包-管理Conda软件包下面。

票数 5
EN

Stack Overflow用户

发布于 2019-10-19 19:17:36

在错误消息中:

代码语言:javascript
复制
however the ssl module in Python is not available

试试这个:

代码语言:javascript
复制
pip install ssl
票数 0
EN

Stack Overflow用户

发布于 2021-05-13 20:48:31

如果您在与conda相同的环境中使用pip安装它,则来自pip的最新更改将覆盖conda设置,反之亦然。您必须为pip包创建一个单独的env。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58466948

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档