简体   繁体   English

Python 无法打开文件(“目录”):没有这样的文件或目录

[英]Python cannot open file ('Directory'): No such file or directory

I am trying to use a repository from this link我正在尝试使用此链接中的存储库

https://github.com/zarroboogs/p4g-saveconv#moving-converted-saves-to-ps-vita https://github.com/zarroboogs/p4g-saveconv#moving-converted-saves-to-ps-vita

I've managed to successfully clone the repository and it instructs you to run the command我已经成功克隆了存储库,它会指示您运行命令

python convert_vita2pc.py [--custom-diff {disable,enable}] save_dir

but when I do I get the error但是当我这样做时,我得到了错误

Python cannot open file ('Directory'): No such file or directory

Could someone help and teach me how to properly do this?有人可以帮助并教我如何正确地做到这一点吗?

Looks like that Python script cannot find the direcotry named 'Directory' (I assume 'Directory' is the <save_dir> from guilde on that link you provided).看起来 Python 脚本找不到名为“Directory”的目录(我假设“Directory”是您提供的链接上来自 guilde 的 <save_dir> )。

So maybe you can try to add an absolute path to that directory (on linux machines go in the desired directory ('Directory') and type 'pwd' command. Then copy the path to the <save_dir> place at the end of that convert script).所以也许你可以尝试添加一个绝对路径到该目录(在 linux 机器 go 中所需的目录('Directory')并输入'pwd'命令。然后将路径复制到该转换末尾的 <save_dir> 位置脚本)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在Python中打开文件“无此文件或目录”错误 - Cannot open file in Python “No such file or directory” error (Python)无法从目录打开文件 - (Python) cannot open the file from directory 无法打开目录中的音频文件 - Cannot open audio file in the directory VS Code - python 无法打开扩展文件没有这样的文件或目录 - VS Code - python cannot open extention file no such file or directory 无法打开共享对象文件:在python的raspberry pi中没有这样的文件或目录 - cannot open shared object file: No such file or directory in raspberry pi with python 在另一个目录中打开文件(Python) - Open File in Another Directory (Python) Python,无法打开文件,错误 [2] 没有这样的文件或目录 - Python, unable to open file, Error [2] no such file or directory 无法打开.py 文件:“[Errno 2] 没有这样的文件或目录” - Cannot open .py files: “[Errno 2] No such file or directory” 在python中打开共享库文件时出错(OSError:无法打开共享库文件:没有此类文件或目录) - Error in opening shared object file in python ( OSError: cannot open shared object file: No such file or directory) python`ImportError:libboost_python27.so.1.67.0:无法打开共享对象文件:没有这样的文件或目录` - python `ImportError: libboost_python27.so.1.67.0: cannot open shared object file: No such file or directory `
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM