Comments (5)
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.
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.
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.
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.
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)
- I did not find the slice@minmax parameter, slice@minmax parameter, slice@boundaries parameter, etc. Where should I find them? HOT 1
- Error in stats::kmeans(x, centers = 2, nstart = nstart, iter.max = iter.max)
- Giotto installation Error: object 'get_dimReduction' is not exported HOT 2
- Error in createGiottoVisiumObject HOT 1
- Applying ext and spatShift tranformations on gobj HOT 2
- An empty giottoPoints object can corrupt the giotto obj HOT 4
- Error in DWLS deconvolution result with Pie plots HOT 2
- spatCellCellcom does not allow verbose='none' if do_parallel=TRUE
- spat/exprCellCellcom can return Inf/Inf- values that error plotCCcomDotplot HOT 1
- binSpect function error on large datasets
- error in installing Giotto HOT 2
- createGiottoCosMxObject: Error in cat HOT 2
- Creating Polygons with Interactive Selection Tool HOT 7
- Stereo-seq tutorial: Error in Giotto::anndataToGiotto(anndata_file) : object 'sc' not found HOT 9
- About spatial proximity test
- coord_fix_ratio does not work as expected
- seuratToGiottoV5 HOT 2
- .h5Seurat fileError in function readPNG(image_path): Unable to open file at path D/giotto/photo/image_rz1.png.
- Error when using giottoToSeuratV5 (CosMX data) HOT 1
- Problem regarding cellProximityEnrichment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from giotto.