Adaverse opened a new issue, #47541:
URL: https://github.com/apache/airflow/issues/47541
### Apache Airflow version
3.0.0
### If "Other Airflow 2 version" selected, which one?
_No response_
### What happened?
When running `airflow standalone`, we get below error -
```
standalone | Starting Airflow Standalone
standalone | Checking database is initialized
standalone | Database ready
Traceback (most recent call last):
File "/taf3.0beta/bin/airflow", line 10, in <module>
sys.exit(main())
File "/taf3.0beta/lib/python3.10/site-packages/airflow/__main__.py", line
58, in main
args.func(args)
File "/taf3.0beta/lib/python3.10/site-packages/airflow/cli/cli_config.py",
line 49, in command
return func(*args, **kwargs)
File
"/taf3.0beta/lib/python3.10/site-packages/airflow/cli/commands/local_commands/standalone_command.py",
line 56, in entrypoint
StandaloneCommand().run()
File
"/taf3.0beta/lib/python3.10/site-packages/airflow/utils/providers_configuration_loader.py",
line 55, in wrapped_function
return func(*args, **kwargs)
File
"/taf3.0beta/lib/python3.10/site-packages/airflow/cli/commands/local_commands/standalone_command.py",
line 72, in run
self.initialize_database()
File
"/taf3.0beta/lib/python3.10/site-packages/airflow/cli/commands/local_commands/standalone_command.py",
line 194, in initialize_database
with get_application_builder() as appbuilder:
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File
"/taf3.0beta/lib/python3.10/site-packages/airflow/providers/fab/auth_manager/cli_commands/utils.py",
line 57, in get_application_builder
flask_app.config.from_pyfile(webserver_config, silent=True)
File "/taf3.0beta/lib/python3.10/site-packages/flask/config.py", line 185,
in from_pyfile
exec(compile(config_file.read(), filename, "exec"), d.__dict__)
File "/airflow/webserver_config.py", line 21, in <module>
from airflow.www.fab_security.manager import AUTH_DB
ModuleNotFoundError: No module named 'airflow.www'
```
### What you think should happen instead?
_No response_
### How to reproduce
Install fresh airflow using uv -
```
uv venv
uv pip install --find-links \
https://dist.apache.org/repos/dist/dev/airflow/3.0.0b2/ \
apache-airflow==3.0.0b2 \
apache-airflow-task-sdk==1.0.0b2 \
apache-airflow-providers-celery==3.11.0b2 \
apache-airflow-providers-cncf-kubernetes==10.4.0b2 \
apache-airflow-providers-fab==2.0.0b2 \
apache-airflow-providers-openlineage==2.1.1b2 \
apache-airflow-providers-standard==1.0.0b2
```
then run `airflow standalone`
### Operating System
22.04.5 LTS (Jammy Jellyfish)
### Versions of Apache Airflow Providers
_No response_
### Deployment
Virtualenv installation
### Deployment details
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]