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
Now download and update the repos: ['PaddleOCR', 'PaddleSeg', 'PaddleNLP', 'PaddleDetection', 'PaddleClas', 'PaddleTS'].
Traceback (most recent call last):
File "\\?\C:\DevTools\miniconda\envs\px3\Scripts\paddlex-script.py", line 33, in<module>
sys.exit(load_entry_point('paddlex', 'console_scripts', 'paddlex')())
File "c:\users\easygrid\desktop\temp\paddlex\paddlex\paddlex_cli.py", line 109, in main
install(args)
File "c:\users\easygrid\desktop\temp\paddlex\paddlex\paddlex_cli.py", line 85, in install
setup(
File "c:\users\easygrid\desktop\temp\paddlex\paddlex\repo_manager\core.py", line 183, in setup
getter.get(force=True, platform=platform)
File "c:\users\easygrid\desktop\temp\paddlex\paddlex\repo_manager\repo.py", line 386, in get
self.remove()
File "c:\users\easygrid\desktop\temp\paddlex\paddlex\repo_manager\repo.py", line 394, in remove
repo.remove()
File "c:\users\easygrid\desktop\temp\paddlex\paddlex\repo_manager\repo.py", line 152, in remove
remove_repo_using_rm(self.name)
File "c:\users\easygrid\desktop\temp\paddlex\paddlex\repo_manager\utils.py", line 104, in remove_repo_using_rm
return _check_call(['rm', '-rf', name])
File "c:\users\easygrid\desktop\temp\paddlex\paddlex\repo_manager\utils.py", line 25, in _check_call
return subprocess.check_call(*args, **kwargs)
File "C:\DevTools\miniconda\envs\px3\lib\subprocess.py", line 364, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\DevTools\miniconda\envs\px3\lib\subprocess.py", line 345, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\DevTools\miniconda\envs\px3\lib\subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\DevTools\miniconda\envs\px3\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
环境
PaddleX3-beta
PaddlePaddle 3.0-beta
Windows 10 2024.8月更新版
注:Linux是否存在此问题,暂未测试
解决方案
修改文件:PaddleX/paddlex/repo_manager/core.py
将183行的 force=True 修改为 force=False”
修改后core.py源码如下:
iflen(repos_to_get) >0:
logging.info(
f"Now download and update the repos: {list(repo.nameforrepoinrepos_to_get)}."
)
getter.get(force=False, platform=platform) # Line 183logging.info("All repos are existing.")
描述问题
在执行
paddlex --install
时,报错如下环境
解决方案
修改文件:
PaddleX/paddlex/repo_manager/core.py
将
183行
的force=True
修改为force=False”
修改后
core.py
源码如下:问题定位
引发此问题的Code在:
PaddleX/paddlex/repo_manager/repo.py
行386其它
请飞桨的童鞋,评估下此问题是否为Bug
此问题 Win10 近期出现频率颇高
The text was updated successfully, but these errors were encountered: