-
Notifications
You must be signed in to change notification settings - Fork 321
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
unable to install tensorflow/rstudio on ubuntu 22.04 running on #603
Comments
Hi, congrats on the new machine! Can you please fill out the installation issue template? https://github.com/rstudio/tensorflow/blob/main/.github/ISSUE_TEMPLATE/installation-issue.md |
name: Installation Issue
|
Was wrong about installation of libcurl4-openssl-dev. Did install, but I still get the same end result. Starting from the install_tensorflow() command:
|
Not sure how many different times I've tried this install, including reinstalling OS in case something was screwed up and wanting to try with clean slate. Any help to finally get this done is much appreciated! |
Thanks for filling out the template.
It looks the Python installation used to create the venv is incomplete. If you used pyenv or Consult https://github.com/pyenv/pyenv/wiki#suggested-build-environment (also linked to from help at It looks like you're on Ubuntu, so the recommended command would be: sudo apt update; sudo apt install build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev curl git \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev Then you'll probably want to wipe out all the previous builds of pyenv python: rm -rf ~/.pyenv And then rebuild python reticulate::install_python(force = TRUE) and then install create a new venv and install tensorflow + keras. keras3::install_keras(backend = "tensorflow") |
The suggestions above did the trick. Thank you! Now just need to install CUDA and cuDNN as described in Deep Learning with R and should be off and running. Thank you! |
I recently built myself a workstation to do some DL prototyping but following the instructions from the Deep Learning with R 2nd edition and trying various snippets of code, I always get the same error, where it looks like there's some issue with the python installation. After having tried many different ways, very clear that I just need some help. I have not yet installed CUDA cuDNN per the directions in the book, as my understanding was that I needed to install tensorflow first, see what version it is and then get the appropriate versions of CUDA and cuDNN.
Following the instructions in the book (or even otherwise), this is the message I get
creating symlinks:
Error in file.symlink(from = from, to = to) :
no files/directory to link to
I get this same error regardless of how I install (including using install_tensorflow() and the remotes code that I have found on Github). Help!
The text was updated successfully, but these errors were encountered: