heyfavour / vue-element-admin-fastapi Goto Github PK
View Code? Open in Web Editor NEWvue-element-admin-fastapi
License: MIT License
vue-element-admin-fastapi
License: MIT License
能跑起来了么?
/backend/app python3 app/main.py
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 388, in resolve
found = getattr(found, frag)
AttributeError: module 'uvicorn' has no attribute 'logging'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 390, in resolve
self.importer(used)
ModuleNotFoundError: No module named 'uvicorn.logging'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 542, in configure
formatters[name] = self.configure_formatter(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 654, in configure_formatter
result = self.configure_custom(config)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 469, in configure_custom
c = self.resolve(c)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 397, in resolve
raise v
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 390, in resolve
self.importer(used)
ValueError: Cannot resolve 'uvicorn.logging.DefaultFormatter': No module named 'uvicorn.logging'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "app/main.py", line 29, in
uvicorn.run(app='main:app', host="0.0.0.0", port=8080, log_config=LOGGING_CONFIG)
File "/Users/abc/Downloads/vue-element-admin-fastapi-master/backend/app/venv/lib/python3.8/site-packages/uvicorn/main.py", line 509, in run
config = Config(
File "/Users/abc/Downloads/vue-element-admin-fastapi-master/backend/app/venv/lib/python3.8/site-packages/uvicorn/config.py", line 304, in init
self.configure_logging()
File "/Users/abc/Downloads/vue-element-admin-fastapi-master/backend/app/venv/lib/python3.8/site-packages/uvicorn/config.py", line 408, in configure_logging
logging.config.dictConfig(self.log_config)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 808, in dictConfig
dictConfigClass(config).configure()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/logging/config.py", line 545, in configure
raise ValueError('Unable to configure '
ValueError: Unable to configure formatter 'default'
pyproject.toml并不是标准poetry格式。建议将其重命名为requirements.txt,或者更改为标准poetry格式以免误导。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.