You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(autocoder) ➜ ~ pip list | grep auto-coder
auto-coder 0.1.18
(autocoder) ➜ ~ auto-coder -h
/Users/mintisan/miniconda3/envs/autocoder/lib/python3.10/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_max_length" has conflict with protected namespace "model_".
You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
warnings.warn(
/Users/mintisan/miniconda3/envs/autocoder/lib/python3.10/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_max_input_length" has conflict with protected namespace "model_".
You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
warnings.warn(
/Users/mintisan/miniconda3/envs/autocoder/lib/python3.10/site-packages/langchain/__init__.py:29: UserWarning: Importing PromptTemplate from langchain root module is no longer supported. Please use langchain_core.prompts.PromptTemplate instead.
warnings.warn(
Traceback (most recent call last):
File "/Users/mintisan/miniconda3/envs/autocoder/bin/auto-coder", line 8, in <module>
sys.exit(main())
File "/Users/mintisan/miniconda3/envs/autocoder/lib/python3.10/site-packages/autocoder/auto_coder.py", line 103, in main
args = parse_args()
File "/Users/mintisan/miniconda3/envs/autocoder/lib/python3.10/site-packages/autocoder/auto_coder.py", line 69, in parse_args
lang = "zh" if system_lang.startswith("zh") else "en"
AttributeError: 'NoneType' object has no attribute 'startswith'
(autocoder) ➜ ~
The text was updated successfully, but these errors were encountered:
完全按照如下顺序安装:
然后执行
The text was updated successfully, but these errors were encountered: