omnideconv / spacedeconv

A unified interface to spatial transcriptomics deconvolution tools
https://omnideconv.org/spacedeconv/
GNU General Public License v3.0
34 stars 7 forks source link

error on UBUNTU 22.04 #123

Closed shrvi closed 7 months ago

shrvi commented 7 months ago

Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on our Community Forum

Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.


Brief description of the problem

I have installed all the dependencies, i receive this error when I install it from pak, i think it doesnt support UBUNTU OS?


# insert reprex here
```pak::pkg_install("omnideconv/spacedeconv", dependencies=TRUE)
! Using bundled GitHub PAT. Please add your own PAT using `gitcreds::gitcreds_set()`.
✔ Loading metadata database ... done

→ Will install 18 packages.
→ All 18 packages (9.65 MB) are cached.
+ CARD            1.1        [bld][cmp] (GitHub: 2d64b91)
+ ComICS          1.0.4      [bld]
+ concaveman      1.1.0      [bld] + ✔ libgdal-dev, ✔ gdal-bin, ✔ libgeos-dev, ✔ libproj-dev
+ ConsensusTME    0.0.1.9000 [bld][cmp] (GitHub: b3c8d3a)
+ Giotto          4.0.2      [bld][cmp] (GitHub: 7b8ad7b)
+ GiottoClass     0.1.3      [bld][cmp] (GitHub: fca6eb3)
+ GiottoVisuals   0.1.4      [bld][cmp] (GitHub: e3feee4)
+ glmnet          4.1-8      [bld][cmp]
+ immunedeconv    2.1.0      [bld][cmp] (GitHub: 12196fb)
+ MCMCpack        1.7-0      [bld][cmp]
+ metafor         4.4-0      [bld]
+ MuSiC           0.3.0      [bld][cmp] (GitHub: 7b18b03)
+ omnideconv      0.0.0.9000 [bld][cmp] (GitHub: 29322c9)
+ RcppML          0.3.7      [bld][cmp]
+ singscore       1.14.0     [bld]
+ spacedeconv     0.0.1.0000 [bld][cmp] (GitHub: cd33d4e)
+ spacexr         2.2.1      [bld][cmp] (GitHub: 90cc7dc)
+ V8              4.4.1      [bld][cmp] + ✔ libnode-dev
✔ All system requirements are already installed.

ℹ No downloads are needed, 18 pkgs (9.65 MB) are cached
ℹ Building spacedeconv 0.0.1.0000
ℹ Building omnideconv 0.0.0.9000
ℹ Building metafor 4.4-0
ℹ Building MCMCpack 1.7-0
ℹ Building RcppML 0.3.7
ℹ Building V8 4.4.1
ℹ Building glmnet 4.1-8
ℹ Building GiottoClass 0.1.3
ℹ Building singscore 1.14.0
✖ Failed to build spacedeconv 0.0.1.0000
Error:
! error in pak subprocess
Caused by error in `stop_task_build(state, worker)`:
! Failed to build source package spacedeconv.
Type .Last.error to see the more details.
> .Last.error
<callr_error/rlib_error_3_0/rlib_error/error>
Error:
! error in pak subprocess
Caused by error in `stop_task_build(state, worker)`:
! Failed to build source package spacedeconv.
---
Backtrace:
1. pak::pkg_install("omnideconv/spacedeconv", dependencies = TRUE)
2. pak:::remote(function(...) get("pkg_install_do_plan", asNamespace("pak"))(...), …
3. err$throw(res$error)
---
Subprocess backtrace:
 1. base::withCallingHandlers(cli_message = function(msg) { …
 2. get("pkg_install_do_plan", asNamespace("pak"))(...)
 3. proposal$install()
 4. pkgdepends::install_package_plan(plan, lib = private$library, num_workers = nw, …
 5. base::withCallingHandlers({ …
 6. pkgdepends:::handle_events(state, events)
 7. pkgdepends:::handle_event(state, i)
 8. pkgdepends:::stop_task(state, worker)
 9. pkgdepends:::stop_task_build(state, worker)
10. base::throw(pkg_error("Failed to build source package {.pkg {pkg}}.", …
11. | base::signalCondition(cond)
12. global (function (e) …

#### Versions

<details>

[Paste the output of `sessionInfo()` leaving a blank line after the details tag]

</details>
shrvi commented 7 months ago

fixed needed a server reboot and had to redirect it to the right conda version and Python.

czackl commented 7 months ago

Hey, closing this issue. Nice it is working now. Feel free to reach out regarding any questions or comments for improvement :)