You are not logged in.
Pages: 1
Hello all,
I wanted to install Tensorflow (my python version is 3.7.1), however I am not sure what the most recommended way is. Some recommend pacman, some recommend pip. Is using pip for installing python packages problematic?
Thanks!
Be nice and live for others.
https://prismatically.blog
Offline
Is using pip for installing python packages problematic?
Like all forms of software, it is very problematic. Mostly if you use sudo pip, since it's fine to use a virtualenv or pip install --user since those only modify your own home and don't overwrite pacman-managed software.
I assume one of the reasons you use Arch Linux is due to its nature as an up-to-date rolling release, so presumably, tensorflow will be up to date as well. In fact, using the repository package means you can rely on the work we've done to patch it so that it actually compiles on systems with the latest python and protobuf. So you don't really have a choice if you want tensorflow specifically. ![]()
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
huzo11 wrote:Is using pip for installing python packages problematic?
Like all forms of software, it is very problematic. Mostly if you use sudo pip, since it's fine to use a virtualenv or pip install --user since those only modify your own home and don't overwrite pacman-managed software.
I assume one of the reasons you use Arch Linux is due to its nature as an up-to-date rolling release, so presumably, tensorflow will be up to date as well. In fact, using the repository package means you can rely on the work we've done to patch it so that it actually compiles on systems with the latest python and protobuf. So you don't really have a choice if you want tensorflow specifically.
Thanks for the reply.
So then your most preferred way to do it would be to install python 3.6 in a venv and then install the Tensorflow package from pacman? And may I also ask why exactly do people find pip problematic?
Be nice and live for others.
https://prismatically.blog
Offline
So then your most preferred way to do it would be to install python 3.6 in a venv and then install the Tensorflow package from pacman?
Why do you want to use venv?
Just install the tensorflow package(s) with pacman and use it with the python3.7 from the repos.
And may I also ask why exactly do people find pip problematic?
Last edited by schard (2018-12-17 14:16:06)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
huzo11 wrote:So then your most preferred way to do it would be to install python 3.6 in a venv and then install the Tensorflow package from pacman?
Why do you want to use venv?
Just install the tensorflow package(s) with pacman and use it with the python3.7 from the repos.huzo11 wrote:And may I also ask why exactly do people find pip problematic?
Last time I had tried using tensorflow on Python 3.7, I had encountered issues and people had suggested to use python 3.6 instead. Therefore, I was thinking of installing python 3.6 in venv and then run tensorflow there. However, seemingly tensorflow works with 3.7. Everything is fine now. Thanks!
Be nice and live for others.
https://prismatically.blog
Offline
Pages: 1