Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
235 views
in Technique[技术] by (71.8m points)

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

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?

question from:https://stackoverflow.com/questions/65937165/python-cannot-open-file-directory-no-such-file-or-directory

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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).

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).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...