Loading...
在VPS上,利用docker部署Jupyter后,可以利用宝塔面板的反向代理功能省去访问地中的端口信息。设置方法如下:但是,设置反向代理后,Jupyter会显示连接不上系统内核,如下图:解决方法:打开代理中配置文件注释掉下面三行 # proxy_set_header ...
Python 3.10.0 使用pyinstaller打包成exe可执行文件出错。官方文档说PyInstaller已经支持3.7之后的python版本,但...
问题在用virtualenv 建立了python的虚拟环境后,公司的策略里不让执行ps1文件,同时,win登陆的用户又没有管理员权限,则会在执行'Scripts/Activate.ps1'时,提示如下错误,无法进入虚拟环境.+ ~~~~~~~~~~~~~~~~~~~~~...
以下代码的目的是为了建立自己的爬虫代理IP库,具体过程不做过多解释,仅做个记录代码from bs4 import BeautifulSoup import...
永久解决办法:(更改pip安装源为国内镜像)1.在 C:UsersXXXAppDataRoaming文件夹内创建一个pip文件夹2.在pip文件夹内创建一个文件:pip.ini;3.在pip.ini文件内写入如:(本例为阿里镜像);[global] index-url = ...