Install working tensorflow or pytorch via standard conda environment workflow.
The recommended conda-based install process works smoothly:
$ # Create a fresh environment
The following assumes you want a single user install. If you want a system wide install instead, run the attached script create-patchelf-pkg.sh
(after first installing a suitable build environment).
Note: create-patchelf-pkg.sh
also provides an uninstall script.
Install a basic build environment (if you don't already have one). How to install this varies from distro to distro. Your best bet to refer to your distro's wiki or ask in their forums. That said, here are a few example install commands for a few of the popular distros:
sudo install build-essential
sudo dnf install @development-tools