Skip to content

当python和代码不在同一个盘符下,使用relpath会报错。 #2325

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

Open
CyberWon opened this issue Apr 25, 2025 · 0 comments
Open

Comments

@CyberWon
Copy link

  File "G:\AI\GPT-SoVITS\tools\i18n\i18n.py", line 5, in <module>
    I18N_JSON_DIR: os.PathLike = os.path.join(os.path.dirname(os.path.relpath(__file__)), "locale")
  File "ntpath.py", line 703, in relpath
ValueError: path is on mount 'G:', start on mount 'h:'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant