петък, 26 август 2022 г.

Install github things with conda

I'm trying play with DALLE2 but Google collab doesn't have enough resources, so I'm testing if I can run it on my pc. So I had to install some stuff. Here is how you install directly from github:

  1. Activate your conda environment source activate myenv

  2. conda install git pip

  3. pip install git+git://github.com/scrappy/scrappy@master

/one note, in order to do 2., I had to run it with sudo, otherwise it gave me "ERROR conda.core.link:_execute(699): An error occurred while uninstalling package  Rolling back transaction: done  [Errno 13] Permission denied: '~/anaconda3/envs/ML/include/curl/curl.h' -> '~/anaconda3/envs/ML/include/curl/curl.h.c~' ()" error.