摘要: 官网给的解释如下: 自从 0.3.2 开始,为了缩减项目本身的体积以及维持 pyecharts 项目的轻量化运行,pyecharts 将不再自带地图 js 文件。 如用户需要用到地图图表,可自行安装对应的地图文件包。 全球国家地图: echarts-countries-pypkg (1.9MB): 阅读全文
posted @ 2020-04-23 16:24 HuaBro 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 基础版 import requests url = "http://mp.111ttt.cn/mp3free/81135985.mp3" rsp = requests.get(url, stream=True) with open('1.mp3', 'wb') as f: for i in rsp. 阅读全文
posted @ 2020-04-23 11:19 HuaBro 阅读(2164) 评论(0) 推荐(0) 编辑
摘要: 打开代下网站:https://g.widora.cn 直接输入 https开头的github地址 或需下载包地址的链接 获取链接 下载压缩包 备注:压缩包格式为tar,需要解压 阅读全文
posted @ 2020-04-23 11:16 HuaBro 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 鉴于国内网络环境,pip安装比较慢已成为不争的事实,通过以下几步轻松解决 1、创建文件夹 mkdir ~/.pip 2、创建配置文件 vim ~/.pip/pip.conf mkdir ~/.pip vim ~/.pip/pip.conf 写入以下内容:以清华源为例 [global] timeout 阅读全文
posted @ 2020-04-23 11:13 HuaBro 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 1、查看channels conda config --show channels 输出 channels: - defaults 2、添加channels 1 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anac 阅读全文
posted @ 2020-04-23 10:05 HuaBro 阅读(2526) 评论(0) 推荐(2) 编辑
摘要: 1、下载并安装官网最新版anaconda Anaconda3-2020.02-MacOSX-x86_64.pkg 2、conda config --set channel_priority flexible 3、conda install py-xgboost 根据提示输入:y 验证 阅读全文
posted @ 2020-04-23 09:30 HuaBro 阅读(960) 评论(0) 推荐(0) 编辑