Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running pyflowchart, an error is displayed and the flowchart code cannot be found. #12

Closed
Descarteswyn opened this issue Dec 30, 2021 · 5 comments

Comments

@Descarteswyn
Copy link

Descarteswyn commented Dec 30, 2021

main.py [-h] [-f FIELD] [-i] [--no-simplify] code_file
main.py: error: argument code_file: can't open 'simple.py': [Errno 2] No such file or directory: 'simple.py'

my The PY file name is 'simple.py'
Hope to answer, thank you very much.

@Descarteswyn Descarteswyn changed the title 在运行 PyFlowchart时,显示出错,出不来flowchart代码。 When running pyflowchart, an error is displayed and the flowchart code cannot be found. Dec 30, 2021
@cdfmlr
Copy link
Owner

cdfmlr commented Dec 30, 2021 via email

@Descarteswyn
Copy link
Author

C:\Users\111>python -m pyflowchart simple.py
usage: main.py [-h] [-f FIELD] [-i] [--no-simplify] code_file
main.py: error: argument code_file: can't open 'simple.py': [Errno 2] No such file or directory: 'simple.py'

you can see it.thanks.

@cdfmlr
Copy link
Owner

cdfmlr commented Dec 30, 2021

Plz make sure your simple.py is under the working path. Or you can also try to offer a full path like C:\User\111\simple.py.

May you try this first? 👀

@Descarteswyn
Copy link
Author

sure,i can understand it.The operation has been completed. Thank you.Thank you for your help. Thank you very much.

@cdfmlr
Copy link
Owner

cdfmlr commented Dec 30, 2021

👌 closed

@cdfmlr cdfmlr closed this as completed Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants