- 博客(4)
- 收藏
- 关注
原创 pycharm连接docker容器运行代码
这是因为,openssh-server是依赖于openssh-clien的,那ubuntu不是自带了openssh-client吗?ubuntu子系统docker镜像导出,使用宿主机windows安装的docker运行,而后用pycharm--docker连接。原由是自带的openssh-clien与所要安装的openssh-server所依赖的版本不同。所以要安装对应版本的openssh-clien,来覆盖掉ubuntu自带的。但是宿主机指的是安装docker的ubuntu (windows的子系统)
2024-10-16 21:10:08
811
原创 dokcer安装可以运行GPU的centos7系统
二、Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2024-10-15 16:31:50
715
原创 pyinstaller在centos系统下打包python程序报错
hiddenimports=['tkinter','PIL,PIL. kinter finder]然后对test.spec编译。在编译pyinstaller -F test.py生成的test.spec中加入缺少的库即原来的文件test.spec中。编译程序提示缺少PIL. tkinter finder。发现是之前的list文件没有删除导致。所以每次打包都要使用新的list。
2024-09-07 23:11:34
370
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人