Thonny says file not found even when the file is there. #15379
Unanswered
AppalachianWarrior
asked this question in
RP2040 / Pico
Replies: 2 comments 1 reply
-
I think your question is better posted to the Thonny discussions |
Beta Was this translation helpful? Give feedback.
0 replies
-
I see your modules to be imported are in a sub directory. Modules to be imported will be looked for in the top dir (i.e Raspberry Pi Pico) or in a sub dir called /lib. To import your module sitting in a sub dir then use import in the form of mysubdir.mymodule. Perhaps to make your life easier I suggest you consider not using such a verbose sub dir name :-) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am an Arduino/C++ guy and I am sorry if I use a different 'lingo' to explain the issue.
I hit F5 to run this file named TestBed1.py. The Thonny IDE is saying that it can't find the ble_advertising.py header file.
In the image you can see that the ble_advertising.py file is indeed in the same folder as TestBed1.py
Why is the Thonny IDE saying this when the required file is indeed present in the same folder as the file that I am trying to execute?
Beta Was this translation helpful? Give feedback.
All reactions