Grounded-Segment-Anything
Grounded-Segment-Anything copied to clipboard
python -m pip install -e GroundingDINO 安装报错
ERROR: GroundingDINO is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
Sry, we will further refine this project later~ you can directly install GroundingDINO follow the official guide:
conda activate <your_env>
git clone https://github.com/IDEA-Research/GroundingDINO.git
cd GroundingDINO
pip install -e .
If you are using colab, make sure to use correct syntax (!
or %
) like so:
!git clone https://github.com/IDEA-Research/GroundingDINO.git
%cd GroundingDINO
!pip install -e .
%cd ..
ERROR: GroundingDINO is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
I also encountered this error...
If you try to mount your drive on colab notebook, you can try to edit the %cd
command to
%cd /content/drive/MyDrive/Colab/Grounded-Segment-Anything/GroundingDINO
!pip install -q -e /content/drive/MyDrive/Colab/Grounded-Segment-Anything/GroundingDINO
instead of %cd /content/
. This works for me
I met this in Docker(Ubuntu) with "Error:segment_anything is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file)",how to solve it