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

Error while running setup.py #17

Open
Ryankim28 opened this issue Nov 8, 2023 · 1 comment
Open

Error while running setup.py #17

Ryankim28 opened this issue Nov 8, 2023 · 1 comment

Comments

@Ryankim28
Copy link

HI
Error while running setup.py

Traceback (most recent call last):
  File "setup.py", line 156, in get_model_zoo_configs
    os.symlink(source_configs_dir, destination)
FileExistsError: [Errno 17] File exists: '/YOSO/configs' -> '/YOSO/detectron2/model_zoo/configs'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 173, in <module>
    package_data={"detectron2.model_zoo": get_model_zoo_configs()},
  File "setup.py", line 159, in get_model_zoo_configs
    shutil.copytree(source_configs_dir, destination)
  File "/opt/conda/envs/YOSO/lib/python3.8/shutil.py", line 555, in copytree
    with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: '/YOSO/configs'

I try the seting but it is error

@Leoric1
Copy link

Leoric1 commented Nov 21, 2023

As indicated in the tip, deleting the configs file in the '/YOSO/detectron2/model_zoo/configs' path can resolve this issue.

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

2 participants