-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装完以后运行msdl各种报错 #215
Comments
是找不到env文件,这个函数这里把报错设置为True,可以看到在找env文件时出现错误。 手动创建
还有个配置文件 之后再手动调用构建,可以正常开始跑了。
|
手动构建出来的容器,使用 |
哇,谢谢兄弟。你yaml文件里,为何要放openai的url,不是用silicon cloud吗 我看到是找不到env文件,之前改了项目根目录的env文件,哈哈 我比较小白。其他人tmp文件夹自动有.env吗? backend我之前版本是根本找不到,一直重启是不是因为默认是要调用gpu? |
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.12/site-packages/dotenv/main.py", line 130, in rewrite
with open(path, "w+", encoding=encoding) as source:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/anaconda3/bin/msdl", line 33, in
sys.exit(load_entry_point('msdl', 'console_scripts', 'msdl')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/MindSearch/docker/msdl/main.py", line 159, in main
setup_i18n()
File "/root/MindSearch/docker/msdl/i18n.py", line 35, in setup_i18n
set_env_variable("LAUNCHER_INTERACTION_LANGUAGE", system_language)
File "/root/MindSearch/docker/msdl/i18n.py", line 17, in set_env_variable
set_key(dotenv_file, var_name, value)
File "/root/anaconda3/lib/python3.12/site-packages/dotenv/main.py", line 174, in set_key
with rewrite(dotenv_path, encoding=encoding) as (source, dest):
File "/root/anaconda3/lib/python3.12/contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "/root/anaconda3/lib/python3.12/site-packages/dotenv/main.py", line 136, in rewrite
if os.path.isfile(dest.name):
^^^^
UnboundLocalError: cannot access local variable 'dest' where it is not associated with a value
The text was updated successfully, but these errors were encountered: