Grounded-Segment-Anything icon indicating copy to clipboard operation
Grounded-Segment-Anything copied to clipboard

python -m pip install -e GroundingDINO 安装报错

Open renxiaosa00 opened this issue 1 year ago • 5 comments

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).

renxiaosa00 avatar Apr 07 '23 07:04 renxiaosa00

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 .

rentainhe avatar Apr 07 '23 08:04 rentainhe

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 ..

more on ! VS %

lukakeso avatar Apr 10 '23 11:04 lukakeso

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...

jingzhengli avatar Apr 14 '23 03:04 jingzhengli

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

nhikieu avatar May 25 '23 04:05 nhikieu

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

artificialzjy avatar Mar 11 '24 08:03 artificialzjy