一、说在前面 我在用pip下载包时经常有下载比较慢和如下错误的问题 Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pipenv/ 二、解决方法 默认pip是使用Python官方的源,但是由于国外官方源经常被墙,导致不可用,我 ...
分类:
编程语言 时间:
2021-01-26 11:47:24
阅读次数:
0
参考网址: https://blog.csdn.net/zhurhyme/article/details/29349543 https://blog.csdn.net/shzy1988/article/details/50662462 cas 分为服务端,与客户端。那么客户端如何与服务端进行交互呢, ...
分类:
Web程序 时间:
2021-01-26 11:46:46
阅读次数:
0
万能异常之try: except <Errortype> as <alias> : else: finally:(转) 链接: try: except <Errortype> as <alias> : else: finally: ...
分类:
编程语言 时间:
2021-01-26 11:38:53
阅读次数:
0
webconfig 中增加配置: <system.webServer> <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allo ...
一、Python环境准备 远程服务器上Python版本要与本地想匹配,这里本地使用Anaconda来进行安装,远程服务器之间安装。 wget --no-check-certificate https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz ...
分类:
编程语言 时间:
2021-01-25 11:30:39
阅读次数:
0
Problem LeetCode Given the root of a binary tree, return the sum of every tree node's tilt. The tilt of a tree node is the absolute difference between ...
分类:
编程语言 时间:
2021-01-25 11:29:21
阅读次数:
0
感谢作者> https://www.cnblogs.com/botoo/p/11762045.html CentOS7中自带的python版本是python-2.7.5,由于新开的虚拟机需要使用python3,于是便升级一下版本。 安装Python3.7.3 官网下载地址:https://www.p ...
分类:
编程语言 时间:
2021-01-25 11:22:41
阅读次数:
0
作为一个Python菜鸡,有些常用的代码和方法还是要整理一下的: #!python3 ########################################################################################################### ...
分类:
编程语言 时间:
2021-01-25 11:18:58
阅读次数:
0
Chapter 7 - Collaborative Analytics with Plotly Segment 2 - Creating statistical charts Setting up to use Plotly within Jupyter import numpy as np imp ...
分类:
编程语言 时间:
2021-01-25 11:18:24
阅读次数:
0
什么是nginx? Nginx是一款轻量级的Web 服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器,在BSD-like 协议下发行。其特点是占有内存少,并发能力强,事实上nginx的并发能力在同类型的网页服务器中表现较好 nginx安装 1、手动安装 #安装 nginx $ yum ...
分类:
其他好文 时间:
2021-01-25 11:18:02
阅读次数:
0