Giter Club home page Giter Club logo

Comments (5)

ndelrossi7 avatar ndelrossi7 commented on July 30, 2024

Hi @orrzor, thanks for reaching out. Are you able to create the conda environment with anaconda3 as opposed to miniconda3? I am still looking at possible reasons for this but that is 1 thing I see that is different from our tutorial. Thanks!

from giotto.

RubD avatar RubD commented on July 30, 2024

Hi @orrzor I'm amazed to see that even after a manual installation where all the modules have been installed, you still can not detect them.

One thing to try would be to reinstall the Giotto environment in a fresh R session without loading any other libraries or running any other code. You can simply do:

library(Giotto)  
installGiottoEnvironment(force_miniconda = TRUE, force_environment = TRUE)

This will force the reinstallation of miniconda and re-create the Giotto environment. It could be that the first time you created the Giotto environment the reticulate package was already used by another package and that could lead to problems.

Unfortunately I don't have a (working) linux machine at hand right now, but it does seems to work properly on our linux servers. Let us know if this worked.

from giotto.

orrzor avatar orrzor commented on July 30, 2024

Hi Ruben, thanks for your help! I tried uninstalling and reinstalling Giotto, reticulate, and the giotto_env and was still getting the same error. After a lot of fiddling with reticulate, I found the issue with these specific python packages that weren't loading was due to the LD_LIBRARY_PATH environment variable. When importing modules with reticulate directly, I was seeing this error.

> import("leidenalg")
Error in py_module_import(module, convert = convert) : 
  ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/unix/orr/.local/share/r-miniconda/envs/giotto_env/lib/python3.6/site-packages/igraph/_igraph.cpython-36m-x86_64-linux-gnu.so)

and found I could fix this by running the following before starting my R from the terminal.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/unix/orr/.local/share/r-miniconda/envs/giotto_env/lib

Now things work for me in the environment. So again, I think this is another reticulate issue, and may be worth highlighting on your installation instructions. Thanks again fro your help! Best- Orr

from giotto.

RubD avatar RubD commented on July 30, 2024

Thanks @orrzor for letting us know how to fix this issue. I tried looking for an option that could work directly within R/Rstudio, but that doesn't seem to be trivial. We'll make sure to update our installation section with your suggestion in the next couple of days.
Thanks,
Ruben

from giotto.

orrzor avatar orrzor commented on July 30, 2024

thank you Ruben! I'm excited to see what I get with the HMRF now that the technical issues (fingers crossed) are resolved. best, Orr

from giotto.

Related Issues (20)

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.