-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Fails completely on Windows because resource
is not available on Windows.
\lib\site-packages\fastapi_utils\timing.py", line 10, in <module> import resource
ModuleNotFoundError: No module named 'resource'
To Reproduce
Steps to reproduce the behavior:
pip install fastapi-utils
2.from fastapi_utils.timing import add_timing_middleware
Expected behavior
The import works.
Environment:
- OS: Windows 10
- Python version: 3.7
Additional context
https://stackoverflow.com/questions/37710848/importerror-no-module-named-resource
ninyawee, zhfkt, binary-signal, uncovor, vac and 5 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working