YichaoOU / easy_prime

prime editor gRNA design tool based on ensemble learning
MIT License
3 stars 2 forks source link

Install not working #4

Closed mherschl closed 2 years ago

mherschl commented 2 years ago

I have tried running conda create -n pegDesign -c cheng_lab easy_prime on both mac and linux, and on both machines, it is failing to solve the environment, saying that it's found conflicts, but not listing any packages. Any idea what might be causing this? image

YichaoOU commented 2 years ago

Hello,

Can you show the conda info?

Try if these things help:

conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority flexible
conda create -n genome_editing -c cheng_lab easy_prime

Best, Yichao

mherschl commented 2 years ago

Thank you, adding those channels worked for the installation, but when running the test, I am getting another error: AttributeError: 'XGBModel' object has no attribute 'enable_categorical' image

YichaoOU commented 2 years ago

Can you try pip install xgboost==1.4.0?

mherschl commented 2 years ago

Can you try pip install xgboost==1.4.0?

This fixed the error, and everything seems to be running smoothly. Thank you for the quick solutions!