Skip to content

Commit

Permalink
window报错: argument of type 'WindowsPath' is not iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyicong committed Aug 10, 2023
1 parent 1dd3251 commit 5c25ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion towhee/hub/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def download_operator(author: str, repo: str, tag: str, op_path: Path, install_r
fs.symlink_files(latest)

if install_reqs and fs.requirements:
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-r', fs.requirements])
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-r', str(fs.requirements)])


def download_pipeline(author: str, repo: str, tag: str, pipe_path: Path, latest: bool = False):
Expand Down

0 comments on commit 5c25ed3

Please sign in to comment.