본문 바로가기

Computer Vision

Install packages to Anaconda Environment directly from git source (Windows)

반응형

2019년에 나온 따끈따끈한 데이터셋을 사용하려다 일부 정보를 본인들이 제공하는 SDK로만 접근할 수 있도록 해놔서.. 까는 데 고생을 좀 했습니다.

분명 앞으로 이런 일이 또 발생할 것이기 때문에 메모 차원에서 기록을 남깁니다.

(기록 내용은 영어로 되어 있는 점 양해 부탁드립니다)

Install Packages directly from git source

(open Anaconda prompt as administrator)

1. Activate your Anaconda Environment 

conda activate envName

2. Install git and pip to your conda environment

conda install git pip

3. Copy the url of target git repository and delete https:

ex) https://github.com//reposName -> //github.com//reposName

4. Enter the command below

#pip install + (git+) + (https removed link with .git at the end)
pip install git+git://github.com/reposName.git

 

반응형