Coder Social home page Coder Social logo

Comments (3)

CharlsW2023 avatar CharlsW2023 commented on June 7, 2024

I then modify the cLoops2_env.yaml to not request pip install cLoops2==1.0.0 version (remove ==1.0.0) and run
$ conda create -n cLoops2-2 python=3.7
$ conda activate cLoops2-2
$ conda env update --file cLoops2_env.yaml

The error shows:

Pip subprocess error:
ERROR: Package 'SciPy' requires a different Python: 3.7.0 not in '>=3.8,<3.11'

failed

from cloops2.

YaqiangCao avatar YaqiangCao commented on June 7, 2024

I then modify the cLoops2_env.yaml to not request pip install cLoops2==1.0.0 version (remove ==1.0.0) and run $ conda create -n cLoops2-2 python=3.7 $ conda activate cLoops2-2 $ conda env update --file cLoops2_env.yaml

The error shows:

Pip subprocess error: ERROR: Package 'SciPy' requires a different Python: 3.7.0 not in '>=3.8,<3.11'

failed

Hi Charles,
Sorry for the late reply. Have you solved the problem?
I could recommend you to install the following 3rd dependencies with conda or pip, then in the cLoops2 directory run python setup.py install to install it.

tqdm
numpy 
scipy 
pandas
sklearn
seaborn
pyBigWig
matplotlib
joblib
networkx

Best,
Yaqiang

from cloops2.

CW20221031 avatar CW20221031 commented on June 7, 2024

Hi Yaqiang,

Thank you for your reply!

I found the issue and solved it now. The issue is that I added "module load Bowtie2" in my .bashrc to load the pre-installed Bowtie2 module from our cluster, which would auto-load Python3.10 from our cluster. And this is conflicted with my conda environment. Especially if the packages I want to install in my conda environment already exist in our cluster's Python3.10 directory, it would display Requirement already satisfied: xxx package in our cluster's Python3.10 directory. But it cannot actually use these packages (I don't know why) when running cLoops2.

To solve this, I need to run "module purge" first to remove all modules I loaded. And then run pip install cLoops2 in my conda environment. I have done debugging for several days and found the issue. Glad it works!

Best,
Charles

from cloops2.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.