Installing tensorflow gpu in anaconda 5.3












2














I have recently installed anaconda 5.3 and it came with python 3.7 preinstalled. Now when I checked tensorflow website it's says tensorflow does not support 3.7 only 3.6.




Tensorflow Requires Python 3.4, 3.5, or 3.6




What can I do now to have tensorflow gpu for my pc. Any help is appreciated. Is there any workaround?



Thanks.










share|improve this question


















  • 2




    You should download and install Anaconda3 5.2. Let's say, for Windows x64 it would be repo.anaconda.com/archive/Anaconda3-5.2.0-Windows-x86_64.exe. Then you'll have python 3.6 and could get tensorflow on top if it
    – Severin Pappadeux
    Nov 12 '18 at 19:49


















2














I have recently installed anaconda 5.3 and it came with python 3.7 preinstalled. Now when I checked tensorflow website it's says tensorflow does not support 3.7 only 3.6.




Tensorflow Requires Python 3.4, 3.5, or 3.6




What can I do now to have tensorflow gpu for my pc. Any help is appreciated. Is there any workaround?



Thanks.










share|improve this question


















  • 2




    You should download and install Anaconda3 5.2. Let's say, for Windows x64 it would be repo.anaconda.com/archive/Anaconda3-5.2.0-Windows-x86_64.exe. Then you'll have python 3.6 and could get tensorflow on top if it
    – Severin Pappadeux
    Nov 12 '18 at 19:49
















2












2








2


1





I have recently installed anaconda 5.3 and it came with python 3.7 preinstalled. Now when I checked tensorflow website it's says tensorflow does not support 3.7 only 3.6.




Tensorflow Requires Python 3.4, 3.5, or 3.6




What can I do now to have tensorflow gpu for my pc. Any help is appreciated. Is there any workaround?



Thanks.










share|improve this question













I have recently installed anaconda 5.3 and it came with python 3.7 preinstalled. Now when I checked tensorflow website it's says tensorflow does not support 3.7 only 3.6.




Tensorflow Requires Python 3.4, 3.5, or 3.6




What can I do now to have tensorflow gpu for my pc. Any help is appreciated. Is there any workaround?



Thanks.







python tensorflow anaconda






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 12 '18 at 19:26









user214

183111




183111








  • 2




    You should download and install Anaconda3 5.2. Let's say, for Windows x64 it would be repo.anaconda.com/archive/Anaconda3-5.2.0-Windows-x86_64.exe. Then you'll have python 3.6 and could get tensorflow on top if it
    – Severin Pappadeux
    Nov 12 '18 at 19:49
















  • 2




    You should download and install Anaconda3 5.2. Let's say, for Windows x64 it would be repo.anaconda.com/archive/Anaconda3-5.2.0-Windows-x86_64.exe. Then you'll have python 3.6 and could get tensorflow on top if it
    – Severin Pappadeux
    Nov 12 '18 at 19:49










2




2




You should download and install Anaconda3 5.2. Let's say, for Windows x64 it would be repo.anaconda.com/archive/Anaconda3-5.2.0-Windows-x86_64.exe. Then you'll have python 3.6 and could get tensorflow on top if it
– Severin Pappadeux
Nov 12 '18 at 19:49






You should download and install Anaconda3 5.2. Let's say, for Windows x64 it would be repo.anaconda.com/archive/Anaconda3-5.2.0-Windows-x86_64.exe. Then you'll have python 3.6 and could get tensorflow on top if it
– Severin Pappadeux
Nov 12 '18 at 19:49














1 Answer
1






active

oldest

votes


















4














You should create a new conda virtual environment with python 3.6, then install tensorflow into that.
At the creation of the new env you can freely choose the python version you want to use.
This is one of the essence of conda and virtual envs in general.



A bit more details:



Inside of the anaconda-navigator you can choose Environments, then choose create. Here you can give the new environment name and the packages basis i.e. Python or R and the versions you want to use it for the environment. Then you have to install your custom packages beside of the default ones. Here you can install tensorflow-gpu too.
For installing packages you can choose Anaconda navigator GUI or inside of the Anaconda command shell with conda conda install <package> or in the Anaconda command shell pip install <package>.
In general you should prefer Anaconda package management i.e. GUI or conda to the package versions be consistent, what conda manages well. In some cases -choose always the package developer's suggestion- however, you may choose pip install.






share|improve this answer























  • Thank you. Can you explain the process? It will be really helpful for me and future readers. I don't know much about virtual envs.
    – user214
    Nov 12 '18 at 19:50






  • 1




    @user214 You're welcome, see my update
    – Geeocode
    Nov 12 '18 at 20:02










  • @user214 I hope it is useful for you and anyone. If you find it useful please accept answer too.
    – Geeocode
    Nov 12 '18 at 20:15












  • Do I have to install all inbuilt packages that came with anaconda again for this new virtual env?
    – user214
    Nov 12 '18 at 20:42






  • 1




    @user214 No, you have to install the packages you need. Either you know what you need or it will turn out when you try to run your code in the form of "no module installed" or so error message. Then you will know what you have to install yet as a dependency any of the packages you use.
    – Geeocode
    Nov 12 '18 at 20:46













Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53268818%2finstalling-tensorflow-gpu-in-anaconda-5-3%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














You should create a new conda virtual environment with python 3.6, then install tensorflow into that.
At the creation of the new env you can freely choose the python version you want to use.
This is one of the essence of conda and virtual envs in general.



A bit more details:



Inside of the anaconda-navigator you can choose Environments, then choose create. Here you can give the new environment name and the packages basis i.e. Python or R and the versions you want to use it for the environment. Then you have to install your custom packages beside of the default ones. Here you can install tensorflow-gpu too.
For installing packages you can choose Anaconda navigator GUI or inside of the Anaconda command shell with conda conda install <package> or in the Anaconda command shell pip install <package>.
In general you should prefer Anaconda package management i.e. GUI or conda to the package versions be consistent, what conda manages well. In some cases -choose always the package developer's suggestion- however, you may choose pip install.






share|improve this answer























  • Thank you. Can you explain the process? It will be really helpful for me and future readers. I don't know much about virtual envs.
    – user214
    Nov 12 '18 at 19:50






  • 1




    @user214 You're welcome, see my update
    – Geeocode
    Nov 12 '18 at 20:02










  • @user214 I hope it is useful for you and anyone. If you find it useful please accept answer too.
    – Geeocode
    Nov 12 '18 at 20:15












  • Do I have to install all inbuilt packages that came with anaconda again for this new virtual env?
    – user214
    Nov 12 '18 at 20:42






  • 1




    @user214 No, you have to install the packages you need. Either you know what you need or it will turn out when you try to run your code in the form of "no module installed" or so error message. Then you will know what you have to install yet as a dependency any of the packages you use.
    – Geeocode
    Nov 12 '18 at 20:46


















4














You should create a new conda virtual environment with python 3.6, then install tensorflow into that.
At the creation of the new env you can freely choose the python version you want to use.
This is one of the essence of conda and virtual envs in general.



A bit more details:



Inside of the anaconda-navigator you can choose Environments, then choose create. Here you can give the new environment name and the packages basis i.e. Python or R and the versions you want to use it for the environment. Then you have to install your custom packages beside of the default ones. Here you can install tensorflow-gpu too.
For installing packages you can choose Anaconda navigator GUI or inside of the Anaconda command shell with conda conda install <package> or in the Anaconda command shell pip install <package>.
In general you should prefer Anaconda package management i.e. GUI or conda to the package versions be consistent, what conda manages well. In some cases -choose always the package developer's suggestion- however, you may choose pip install.






share|improve this answer























  • Thank you. Can you explain the process? It will be really helpful for me and future readers. I don't know much about virtual envs.
    – user214
    Nov 12 '18 at 19:50






  • 1




    @user214 You're welcome, see my update
    – Geeocode
    Nov 12 '18 at 20:02










  • @user214 I hope it is useful for you and anyone. If you find it useful please accept answer too.
    – Geeocode
    Nov 12 '18 at 20:15












  • Do I have to install all inbuilt packages that came with anaconda again for this new virtual env?
    – user214
    Nov 12 '18 at 20:42






  • 1




    @user214 No, you have to install the packages you need. Either you know what you need or it will turn out when you try to run your code in the form of "no module installed" or so error message. Then you will know what you have to install yet as a dependency any of the packages you use.
    – Geeocode
    Nov 12 '18 at 20:46
















4












4








4






You should create a new conda virtual environment with python 3.6, then install tensorflow into that.
At the creation of the new env you can freely choose the python version you want to use.
This is one of the essence of conda and virtual envs in general.



A bit more details:



Inside of the anaconda-navigator you can choose Environments, then choose create. Here you can give the new environment name and the packages basis i.e. Python or R and the versions you want to use it for the environment. Then you have to install your custom packages beside of the default ones. Here you can install tensorflow-gpu too.
For installing packages you can choose Anaconda navigator GUI or inside of the Anaconda command shell with conda conda install <package> or in the Anaconda command shell pip install <package>.
In general you should prefer Anaconda package management i.e. GUI or conda to the package versions be consistent, what conda manages well. In some cases -choose always the package developer's suggestion- however, you may choose pip install.






share|improve this answer














You should create a new conda virtual environment with python 3.6, then install tensorflow into that.
At the creation of the new env you can freely choose the python version you want to use.
This is one of the essence of conda and virtual envs in general.



A bit more details:



Inside of the anaconda-navigator you can choose Environments, then choose create. Here you can give the new environment name and the packages basis i.e. Python or R and the versions you want to use it for the environment. Then you have to install your custom packages beside of the default ones. Here you can install tensorflow-gpu too.
For installing packages you can choose Anaconda navigator GUI or inside of the Anaconda command shell with conda conda install <package> or in the Anaconda command shell pip install <package>.
In general you should prefer Anaconda package management i.e. GUI or conda to the package versions be consistent, what conda manages well. In some cases -choose always the package developer's suggestion- however, you may choose pip install.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 12 '18 at 20:21

























answered Nov 12 '18 at 19:40









Geeocode

2,2261820




2,2261820












  • Thank you. Can you explain the process? It will be really helpful for me and future readers. I don't know much about virtual envs.
    – user214
    Nov 12 '18 at 19:50






  • 1




    @user214 You're welcome, see my update
    – Geeocode
    Nov 12 '18 at 20:02










  • @user214 I hope it is useful for you and anyone. If you find it useful please accept answer too.
    – Geeocode
    Nov 12 '18 at 20:15












  • Do I have to install all inbuilt packages that came with anaconda again for this new virtual env?
    – user214
    Nov 12 '18 at 20:42






  • 1




    @user214 No, you have to install the packages you need. Either you know what you need or it will turn out when you try to run your code in the form of "no module installed" or so error message. Then you will know what you have to install yet as a dependency any of the packages you use.
    – Geeocode
    Nov 12 '18 at 20:46




















  • Thank you. Can you explain the process? It will be really helpful for me and future readers. I don't know much about virtual envs.
    – user214
    Nov 12 '18 at 19:50






  • 1




    @user214 You're welcome, see my update
    – Geeocode
    Nov 12 '18 at 20:02










  • @user214 I hope it is useful for you and anyone. If you find it useful please accept answer too.
    – Geeocode
    Nov 12 '18 at 20:15












  • Do I have to install all inbuilt packages that came with anaconda again for this new virtual env?
    – user214
    Nov 12 '18 at 20:42






  • 1




    @user214 No, you have to install the packages you need. Either you know what you need or it will turn out when you try to run your code in the form of "no module installed" or so error message. Then you will know what you have to install yet as a dependency any of the packages you use.
    – Geeocode
    Nov 12 '18 at 20:46


















Thank you. Can you explain the process? It will be really helpful for me and future readers. I don't know much about virtual envs.
– user214
Nov 12 '18 at 19:50




Thank you. Can you explain the process? It will be really helpful for me and future readers. I don't know much about virtual envs.
– user214
Nov 12 '18 at 19:50




1




1




@user214 You're welcome, see my update
– Geeocode
Nov 12 '18 at 20:02




@user214 You're welcome, see my update
– Geeocode
Nov 12 '18 at 20:02












@user214 I hope it is useful for you and anyone. If you find it useful please accept answer too.
– Geeocode
Nov 12 '18 at 20:15






@user214 I hope it is useful for you and anyone. If you find it useful please accept answer too.
– Geeocode
Nov 12 '18 at 20:15














Do I have to install all inbuilt packages that came with anaconda again for this new virtual env?
– user214
Nov 12 '18 at 20:42




Do I have to install all inbuilt packages that came with anaconda again for this new virtual env?
– user214
Nov 12 '18 at 20:42




1




1




@user214 No, you have to install the packages you need. Either you know what you need or it will turn out when you try to run your code in the form of "no module installed" or so error message. Then you will know what you have to install yet as a dependency any of the packages you use.
– Geeocode
Nov 12 '18 at 20:46






@user214 No, you have to install the packages you need. Either you know what you need or it will turn out when you try to run your code in the form of "no module installed" or so error message. Then you will know what you have to install yet as a dependency any of the packages you use.
– Geeocode
Nov 12 '18 at 20:46




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53268818%2finstalling-tensorflow-gpu-in-anaconda-5-3%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()