Runtime Warning due to functions named like modules
See original GitHub issueErrors like this
RuntimeWarning: 'rasa_nlu.test' found in sys.modules after import of package 'rasa_nlu', but prior to execution of 'rasa_nlu.test'; this may result in unpredictable behaviour
are apparently due to functions being named like modules.
This has occured with:
rasa_nlu.train
rasa_core.train
rasa_core.run
rasa_nlu.test
rasa_core.test
rasa_core.visualize
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Python 3.6 project structure leads to RuntimeWarning
This warning gets emitted when the -m switch implementation is about to go and run an already imported module's code again in the...
Read more >warnings — Warning control — Python 3.11.1 documentation
Python programmers issue warnings by calling the warn() function defined in this module. (C programmers use PyErr_WarnEx() ; see Exception Handling for details) ......
Read more >Resolve "Unable to import module" errors from Python ...
I receive an "Unable to import module" error when I try to run my AWS Lambda code in Python. How do I resolve...
Read more >JavaScript modules - MDN Web Docs
This guide gives you all you need to get started with JavaScript module syntax.
Read more >Dependency Walker Frequently Asked Questions (FAQ)
I also get a "Warning: At least one module has an unresolved import due to ... DLL (like the one on Windows XP)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @math77 , these are just warnings that you can ignore. We haven’t found any “unpredictable behaviour” as a result of that first warning so far. 🙂
This issue has been automatically closed due to inactivity. Please create a new issue if you need more help.