Python ModuleNotFoundError
i dont know how to import a library, first i try deploy with just import libraryNameHere, then i try upload the lib files in the repository and import, didn´t work too.
how i do this?
7 Replies
Project ID:
2b1cccd9-b7e7-4ac5-9dfb-27c4027f77df
2b1cccd9-b7e7-4ac5-9dfb-27c4027f77df
please watch this video https://www.youtube.com/watch?v=oLlT6c6jA-M
ok
with the requirements.txt file the import will work or i need to do something else?
to reiterate on what the video talked about, having a requirements.txt will allow railway to install the modules you have defined in that txt file, then since the modules will be installed, you can then import them without issues
thanks, iam testing now
work fine, thank you!
no problem