Skip to content

Error in installation step #24

@thiphan94

Description

@thiphan94

Hello,

Thank you very much for sharing the code for the model,

I'm trying to follow the installation guide. However, when I run the command python setup.py build develop, I get the error below:

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

During handling of the above exception, another exception occurred:

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

Can you help me fix this, please? Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions