python – How to install a package from github in conda virtual environment?
The main problem is I cannot easily use
pip install git+https://github.com/LAION-AI/dalle2-laion.git
in my conda environment
because there is a error in his setup.py file so I have to download it(dalle2-laion-main folder) and correct firstly.
Now, I don’t know where should I put this folder and how to run it. I tried to change folder name to dalle2_laion and copy to my env folder, /home/kong/miniconda3/envs/dalle/lib/python3.8/site-packages, then run python setup.py install in this folder in (dalle) [kong@localhost dalle2_laion]$ terminal
After that, I tried to import some method in this package,
from dalle2_laion import ModelLoadConfig, DalleModelManager
it shows there is a package but I cannot use it, why?
Read more here: Source link
