python
weixin_46240034
这个作者很懒,什么都没留下…
展开
-
安装对应版本chrome和chromedriver
学习爬虫安装selenium当然必不可少。 今天安装的时候踩了不少坑,所以记录一下 安装chrome 两条命令即可,debian系的安装deb,Redhat系安装rpm即可 wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb apt install ./google-chrome-stable_current_amd64.deb 然后检查版本 google-chrome --version 安装c原创 2020-12-04 21:49:17 · 584 阅读 · 0 评论 -
jupyter远程访问
今天尝试用pycharm远程连接服务器的jupyter,在网上看到了一个非常awesome的办法,在这分享一下。 服务器启动jupyter 我这里直接允许root了,可以按需求删掉–allow-root jupyter notebook --allow-root --no-browser 本地使用SSH连接 ssh -N -f -L localhost:8888:localhost:8888 root@serverIP -N 告诉SSH没有命令要被远程执行; -f 告诉SSH在后台执行; -L 是指定原创 2020-12-04 21:54:36 · 240 阅读 · 0 评论