发生python系统错误53或67

2024-04-25 00:15:33 发布

您现在位置:Python中文网/ 问答频道 /正文

使用此代码

command = 'net use v: \\sshfs\user@1.2.3.4!1234\\\\ /USER:user *'
p = subprocess.Popen(command, shell=True, stdin=None, stdout=None, stderr=None, close_fds=True)
p.wait()

我明白了

System error 67 has occurred.
The network name cannot be found.

用这个command = 'net use v: \\\\sshfs\user@1.2.3.4!1234\\\\\\\\ /USER:user *'

我明白了

System error 53 has occurred.
The network path was not found.

它们都不起作用。你知道吗

但当我在标准命令行中运行命令net use v: \\sshfs\user@1.2.3.4!1234\\\\ /USER:user *时,它工作正常。有什么想法吗?你知道吗


Tags: thenonetruenetuseerrornetworksystem