Skip to content
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

另一个程序正在使用此文件,进程无法访问 #388

Open
QTJ-Respository opened this issue Jun 21, 2024 · 2 comments
Open

另一个程序正在使用此文件,进程无法访问 #388

QTJ-Respository opened this issue Jun 21, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@QTJ-Respository
Copy link

WARNING:ChatTTS.utils.download:please add parameter --update to download the latest assets.
Traceback (most recent call last):
File "D:\test_project\ChatTTS-online\ChatTTS\examples\web\webui.py", line 157, in
main()
File "D:\test_project\ChatTTS-online\ChatTTS\examples\web\webui.py", line 148, in main
chat.load_models()
File "D:\test_project\ChatTTS-online\ChatTTS\ChatTTS\core.py", line 60, in load_models
if not check_all_assets(update=True):
File "D:\test_project\ChatTTS-online\ChatTTS\ChatTTS\utils\download.py", line 62, in check_all_assets
if not check_model(
File "D:\test_project\ChatTTS-online\ChatTTS\ChatTTS\utils\download.py", line 38, in check_model
os.rename(str(target), bakfile)
PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'D:\test_project\ChatTTS-online\ChatTTS\asset\GPT.pt' -> 'D:\test_project\ChatTTS-online\ChatTTS\asset\GPT.pt.bak'
INFO:httpx:HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 "
INFO:httpx:HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"

@fumiama
Copy link
Member

fumiama commented Jun 21, 2024

应该是同时启动了多个实例,去任务管理器看看,将python相关全关掉即可,嫌麻烦也可以直接重启电脑。

@fumiama fumiama added the documentation Improvements or additions to documentation label Jun 21, 2024
@Bobo-1125
Copy link

我这边遇到的情况是GPT.pt文件下载的不完整,重新下载替换一下就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants