logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

(20200305已解决)CentOS如何查看Linux内核版本

问题描述如题解决方案# 查看内核uname -r# 查看版本号cat /etc/redhat-release# 查看上述两个全部信息uname -auname命令用于显示Linux系统信息。对应参数如下:-a或–all  显示全部的信息。-m或–machine  显示电脑类型。-n或-nodename  显示在网络上的主机名称。-r或–release...

#操作系统
Linux下安装anaconda

下载anaconda安装程序下载地址。在本地下载好后,通过xshell上传到Linux服务器指定目录。bash安装bash Anaconda3-2019.07-Linux-x86_64.sh直接安装是否接受license–yes是否更改安装路径​是否初始化配置路径类似Window下将软件exe写入环境变量:# 将anaconda的bin目录加入PATH,...

#linux
python如何从txt文件中批量pip安装包

今天看到一个安装包的方式。cd "目标文件所在路径“pip install -r requirements.txt实现一次pip安装所有环境,正是梦寐以求的环境迁移技巧。进入文件目录打开cmd,进入目标路径新建requirement.txt在目标路径内新建txt文档,将所需要的包列出。如需指定版本,用==说明numpypandassklearnmatplot...

#pip#python
(20210301已解决)Can‘t connect to HTTPS URL because the SSL module is not available.

Overview使用requests发送消息,出现如下错误:Can’t connect to HTTPS URL because the SSL module is not available.请求的url并无问题,Linux端的运行也正常,只有Windows下面anaconda运行异常。Solution参考中3,4,5是比较常见的几种解释,于我情况无作用。我的情况是采用Reference1中第二

#ssl
(20200622已解决)容器docker||Visual Studio Code is unable to watch for file changes in this large workspa

问题描述如题所述,VSCode无法实时显示文件变动,因为workspace空间太大,文件太多,而linux本身对此有限制。From vscode offical documents, you can fixed the problem using:# 查看file watcher limitcat /proc/sys/fs/inotify/max_user_watches# increase th

#docker
(2019.9.5已解决)matlab错误使用load,无法读取文件

如图所示,原因是load()文件用的是相对路径,改为绝对路径就可以

#matlab
机器学习与量化交易∙笔记(1)

Four Paradigms of Machine LearningConnetionism连接主义。Symbolism符号主义。可解释性FrequentistsBayesianConnetionism、Symbolism、Frequentists属同一类;Bayesian是单独的一类。60年代各类人工智能模型都已经出现了,70年代热度降低,80年代神经网络较热,但是黑盒属性导...

#量化交易#机器学习
pandas window中涉及的offset是什么意思

OverviewFrom pandas.DataFrame.rolling, 其参数window可选用int, offset, or BaseIndexer subclass.In a nutshell, if you use an offset like “2D” (which mean 2 days), pandas will use the datetime info in the inde

#windows
pandas.groupby().rank()用法详解

pandas.DataFrame.groupby()Group DataFrame using a mapper or by a Series of columns.A groupby operation involves some combination of splitting the object, applying a function, and combining the results

#pandas
(已解决)Sanic websocket concurrent.futures._base.CancelledError

问题描述websocket方式连接Sanic服务器,经常断开连接。解决方案aiohttp throws CancelledError into coroutine if http connection was disconnected.1这个问题本源在于websocket连接断开了,在本例中因为websocket server是每隔几分钟推送有一次数据,时间间隔太长导致连接断开。进而导致如下错误:

#websocket
    共 102 条
  • 1
  • 2
  • 3
  • 11
  • 请选择