Issues Running mypy in Code App on iPadOS #1023
Unanswered
verymanlylamp
asked this question in
Q&A
Replies: 1 comment
-
Hi. I tested mypy on my device and it worked properly. A tip is to use autocomplete in terminal by pressing the tab key on your keyboard. Additionally, try |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm experiencing issues with running
mypy
for type checking Python files in the Code App on my iPad.Here's what I've tried so far:
mypy
with the full path to the file.cd
command.Despite these efforts,
mypy
either can't find the file or can't read it. Here is the command I'm using:mypy ‘Code/Python Crash Course exercises/Chapter 6 exercises/Rivers (6.4).py’
And here is the error message I receive:
mypy: can’t read file ‘Code/Python Crash Course exercises/Chapter 6 exercises/Rivers (6.4).py’: No such file or directory
I've confirmed that the file exists at the specified location and that the path is correct. The current working directory is
~/Documents
, and the file is within theCode
directory in that location.Could this be an issue with how paths are handled in the Code App's terminal on iPadOS, or am I missing something? Any advice or guidance would be greatly appreciated.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions