当前位置: 首页 > news >正文

有趣的网站网址之家有没有帮忙做网站的

有趣的网站网址之家,有没有帮忙做网站的,公司网络搭建与部署,山东住房建设厅官网站python问题:vscode切换环境,pip安装库网络错误 vscode切换环境pip安装库网络错误 不使用anaconda安装库 记录一下遇见的python问题。 vscode切换环境 在vscode上面的搜索框输入 > select interpreter然后选择需要的环境。 pip安装库网络错误 用…

python问题:vscode切换环境,pip安装库网络错误

  • vscode切换环境
    • pip安装库网络错误
  • 不使用anaconda安装库

记录一下遇见的python问题。

vscode切换环境

在vscode上面的搜索框输入
在这里插入图片描述

> select interpreter

然后选择需要的环境。

pip安装库网络错误

用requirements.txt来安装需要的依赖包及其版本号,

pip install -r requirements.txt

出现:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/gymnasium/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/gymnasium/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/gymnasium/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/gymnasium/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/gymnasium/
Could not fetch URL https://pypi.org/simple/gymnasium/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/gymnasium/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))) - skipping
ERROR: Could not find a version that satisfies the requirement gymnasium==0.28.1 (from versions: none)
ERROR: No matching distribution found for gymnasium==0.28.1
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(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))) - skipping

解决:加镜像源

pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple
/ --trusted-host mirrors.aliyun.com

不使用anaconda安装库

进入需要安装的python的Scripts文件夹:

在这里插入图片描述

在位置框里输入cmd,打开命令行。
命令行里输入pip install xxx

pip install cython -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
http://www.yayakq.cn/news/856700/

相关文章:

  • 网站建设公司-信科网络查看wordpress访问记录
  • 武进网站建设哪家好设计公司logo用什么软件
  • 能免费创建网站吗柬埔寨做网站
  • 网站版权信息模板微信开发者工具怎么用
  • 如何做基金公司网站photoshop怎么做网站
  • 网站空间站网页制作教程教程
  • 一个网站的建设需要什么手续费百度指数分析
  • 元芳重庆网站建设上合建设网站企业
  • 蚌埠做网站建设费用app模板制作软件免费下载
  • 网站备案号取消原因上海协策网站
  • 网站建设方案编写人盘锦市建设银行网站
  • 优秀的设计网站有哪些网络营销是什么工作主要干啥
  • 网站设计方案书ppthtml5手机网站源码
  • 哪有那样的网站出售友情链接是什么意思
  • 网站内页收录东莞找工作在什么平台找合适
  • 旅游网站作用公司小网站怎么做
  • 官方门户网站j建设的必要性房天下房官网
  • 网站建设中js控制什么列表形式网站
  • 广告公司 网站制作静态网站建设报告
  • 微信公众号做的网站大连建设学校网站
  • 股权众筹网站建设自己有服务器如何架设网站
  • c s网站开发模式网站建设企业邮箱
  • 服务器建设网站做网站cpa
  • 怎么样建设网站网站门户网站的基本功能
  • 做网站一般用什么软件网络运维工程师考试
  • 自己做视频网站如何接广告郑州做营销型网站
  • 湘潭网站建设 磐石网络最好wordpress标签订阅插件
  • 社交网站 cms现在感染症状有哪些
  • 中国建设银行行网站wordpress 侧导航栏
  • 高端快速建站wordpress支付插件绿色