Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in tensorflow::install_tensorflow(extra_packages='tensorflow-probability', version = "2.1.0") #105

Open
martibonomi opened this issue Jan 11, 2024 · 0 comments

Comments

@martibonomi
Copy link

martibonomi commented Jan 11, 2024

Hello!

I'm trying to install cellassign for my analysis but I ran into several errors when trying to install tensorflow in R.

When I type tensorflow::install_tensorflow(extra_packages='tensorflow-probability', version = "2.1.0"), this is what I get:

Virtual environment "r-tensorflow" removed.
Using Python: C:/Users/Martina/AppData/Local/Programs/Python/Python312/python.exe
Creating virtual environment "r-tensorflow" ... 
+ "C:/Users/Martina/AppData/Local/Programs/Python/Python312/python.exe" -m venv "C:/Users/Martina/Documents/.virtualenvs/r-tensorflow"
Done!
Installing packages: pip, wheel, setuptools
+ "C:/Users/Martina/Documents/.virtualenvs/r-tensorflow/Scripts/python.exe" -m pip install --upgrade pip wheel setuptools
Requirement already satisfied: pip in c:\users\martina\docume~1\virtua~1\r-tens~1\lib\site-packages (23.2.1)
Collecting pip
  Obtaining dependency information for pip from https://files.pythonhosted.org/packages/15/aa/3f4c7bcee2057a76562a5b33ecbd199be08cdb4443a02e26bd2c3cf6fc39/pip-23.3.2-py3-none-any.whl.metadata
  Using cached pip-23.3.2-py3-none-any.whl.metadata (3.5 kB)
Collecting wheel
  Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/c7/c3/55076fc728723ef927521abaa1955213d094933dc36d4a2008d5101e1af5/wheel-0.42.0-py3-none-any.whl.metadata
  Using cached wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB)
Collecting setuptools
  Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/55/3a/5121b58b578a598b269537e09a316ad2a94fdd561a2c6eb75cd68578cc6b/setuptools-69.0.3-py3-none-any.whl.metadata
  Using cached setuptools-69.0.3-py3-none-any.whl.metadata (6.3 kB)
Using cached pip-23.3.2-py3-none-any.whl (2.1 MB)
Using cached wheel-0.42.0-py3-none-any.whl (65 kB)
Using cached setuptools-69.0.3-py3-none-any.whl (819 kB)
Installing collected packages: wheel, setuptools, pip
  Attempting uninstall: pip
    Found existing installation: pip 23.2.1
    Uninstalling pip-23.2.1:
      Successfully uninstalled pip-23.2.1
Successfully installed pip-23.3.2 setuptools-69.0.3 wheel-0.42.0
Virtual environment 'r-tensorflow' successfully created.
Using virtual environment "r-tensorflow" ...
+ "C:/Users/Martina/Documents/.virtualenvs/r-tensorflow/Scripts/python.exe" -m pip install --upgrade --no-user "tensorflow==2.14.*" tensorflow-probability
ERROR: Could not find a version that satisfies the requirement tensorflow==2.14.* (from versions: none)
ERROR: No matching distribution found for tensorflow==2.14.*
Errore: Error installing package(s): "\"tensorflow==2.14.*\"", "tensorflow-probability"

How can I solve this problem?
Thanks in advance,
Martina

SessionInfo below:

R version 4.3.2 (2023-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22621)

Matrix products: default


locale:
[1] LC_COLLATE=Italian_Italy.utf8  LC_CTYPE=Italian_Italy.utf8    LC_MONETARY=Italian_Italy.utf8 LC_NUMERIC=C                  
[5] LC_TIME=Italian_Italy.utf8    

time zone: Europe/Rome
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] tensorflow_2.14.0 reticulate_1.34.0

loaded via a namespace (and not attached):
 [1] base64enc_0.1-3   Matrix_1.6-1.1    lattice_0.21-9    magrittr_2.0.3    rappdirs_0.3.3    png_0.1-8         lifecycle_1.0.4  
 [8] cli_3.6.1         grid_4.3.2        withr_2.5.2       tfruns_1.5.1      compiler_4.3.2    rstudioapi_0.15.0 tools_4.3.2      
[15] whisker_0.4.1     Rcpp_1.0.11       rlang_1.1.2       jsonlite_1.8.7 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant