I recently imported my code from Vexcode V5 to VSCode using the official extension and I noticed that it tries to import this library “urandom” at the start, and it shows up as a problem because it can’t be resolved. Do I need to do fix anything about that or can I just leave it as is?
Just leave it as is. You aren’t supposed to run the python code in VSCode, only on the brain which does have the random package.
If it bugs you too much, add the following code afterward:
import urandom # type: ignore
That extra comment will stop VSCode from showing it as an isse.
2 Likes