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

FileExistsError: [Errno 17] File exists: '/tmp/mii_cache' ` on generate function call #516

Open
krishnanpooja opened this issue Aug 6, 2024 · 0 comments

Comments

@krishnanpooja
Copy link

`
File "/opt/conda/envs/ptca/lib/python3.10/site-packages/mii/score/generate.py", line 36, in generated_score_path
generated_score_path(mii_config.deployment_name,
File "/opt/conda/envs/ptca/lib/python3.10/site-packages/mii/score/generate.py", line 36, in generated_score_path
score_path = os.path.join(mii.utils.mii_cache_path(), deployment_name)generated_score_path(mii_config.deployment_name,

File "/opt/conda/envs/ptca/lib/python3.10/site-packages/mii/utils.py", line 103, in mii_cache_path
File "/opt/conda/envs/ptca/lib/python3.10/site-packages/mii/score/generate.py", line 36, in generated_score_path
score_path = os.path.join(mii.utils.mii_cache_path(), deployment_name)
File "/opt/conda/envs/ptca/lib/python3.10/site-packages/mii/utils.py", line 103, in mii_cache_path
os.makedirs(cache_path)
score_path = os.path.join(mii.utils.mii_cache_path(), deployment_name) File "/opt/conda/envs/ptca/lib/python3.10/os.py", line 225, in makedirs

  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/mii/utils.py", line 103, in mii_cache_path

os.makedirs(cache_path)
File "/opt/conda/envs/ptca/lib/python3.10/os.py", line 225, in makedirs
os.makedirs(cache_path)
File "/opt/conda/envs/ptca/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/tmp/mii_cache' `

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