Pycharm Pro(学生邮箱申请)自带SFTP,可配置ssh,使用远程服务器运行代码并调试。在设置中搜索interpreter,设置远程解释器。设置后好,debug以及运行会自动通过SFTP上传代码到服务器运行以及调试。 当运行多线程代码,pycharm打断点也不会停止,这时就需要用python自带的pdb进行调试。 当代码文件夹过大,上传速度太慢时,也可以设置pdb,进行调试。 pdb可以打印call stack,单步运行等,基本图形界面能做的自带的debug工具都能做。 https://docs.p...
hyper-v启用后会自动保留端口,使一些应用无法申请到端口,运行错误 解决方案: 排除对应的使用端口 https://github.com/docker/for-win/issues/3171 @veqryn the workaround worked for me, the steps are: Disable hyper-v (which will required a couple of restarts) dism.exe /Online /Disable-Feature:Microsoft-Hy...
感谢xxxxxin推荐的Graph-tool,看了画图效果之后被实力圈粉了 。 1. Graph-tool是什么? Graph-tool is an efficientPythonmodule for manipulation and statistical analysis ofgraphs(a.k.a.networks).Contrary to most other python modules with similar functionality, the core data structure...
安装与环境配置 安装 elasticsearch (华为镜像安装速度快) https://mirrors.huaweicloud.com/elasticsearch/?C=N&O=D Elasticsearch 启动: 打开 E:\ES\elasticsearch-7.8.0-windows-x86_64 (1)\elasticsearch-7.8.0\bin\ elasticsearch.bat 访问 http://127.0.0.1:9200/ 安装 elasticsearch 可视化插件 elast...
上一篇博客记录了 小米笔记本安装 Mac OS 的过程,这一篇针对台式机做一下补充。 台式机的安装与笔记本基本一样,需要注意的是: 设置主板模式:开机按Delelte,关闭安全启动,启动项设置为 Legacy,使用优盘安装Windows 10. 安装后,我的电脑磁盘管理压缩C盘(压缩卷),留出100G空间安装MAC,暂时设置NTFS格式,格式化。 打开Diskgenious,切换系统盘的分区模式从 MBRGUID,压缩卷,留出256M空间作为EFI分区,建议使用DiskGenious操作,完成后保存更改(...