Creating another virtualenv for a new Django project












-1















I'm learning Django and Python. If it is right that I understood, I need to create a new virtualenv per Django project.



python django: create a new virtualenv for each django project?



I installed virtualenv when I was following a Django tutorial before. I want to create an application to practice. so I'm trying to install a new virtualenv.



However powershell shows me this.



virtualenv installation error?



How can I install another virtualenv in this case?
could you please give me an advice or link to solve this problem.



Thank you.










share|improve this question




















  • 1





    You don't need to reinstall the virtualenv package. Just run virtualenv <NAME> to create a new virtual env. Run virtualenv --help get information

    – kstullich
    Nov 21 '18 at 5:23













  • I thought I need to reinstall the virtualenv. Now I know what to search. I will search and try it again. Thank you very much Ksullich!

    – N Kim
    Nov 21 '18 at 5:31






  • 1





    Slightly off-topic but if you are new to Python and Django I would suggest learning pipenv as it is the officially recommended tool: packaging.python.org/guides/tool-recommendations/…

    – Selcuk
    Nov 21 '18 at 6:28






  • 1





    Read about virtualenvwrapper. It can help you to manage your's virtualenv's

    – Jonhy Beebop
    Nov 21 '18 at 7:24











  • Thank you very much guys ! I will search all of them !

    – N Kim
    Nov 22 '18 at 15:49
















-1















I'm learning Django and Python. If it is right that I understood, I need to create a new virtualenv per Django project.



python django: create a new virtualenv for each django project?



I installed virtualenv when I was following a Django tutorial before. I want to create an application to practice. so I'm trying to install a new virtualenv.



However powershell shows me this.



virtualenv installation error?



How can I install another virtualenv in this case?
could you please give me an advice or link to solve this problem.



Thank you.










share|improve this question




















  • 1





    You don't need to reinstall the virtualenv package. Just run virtualenv <NAME> to create a new virtual env. Run virtualenv --help get information

    – kstullich
    Nov 21 '18 at 5:23













  • I thought I need to reinstall the virtualenv. Now I know what to search. I will search and try it again. Thank you very much Ksullich!

    – N Kim
    Nov 21 '18 at 5:31






  • 1





    Slightly off-topic but if you are new to Python and Django I would suggest learning pipenv as it is the officially recommended tool: packaging.python.org/guides/tool-recommendations/…

    – Selcuk
    Nov 21 '18 at 6:28






  • 1





    Read about virtualenvwrapper. It can help you to manage your's virtualenv's

    – Jonhy Beebop
    Nov 21 '18 at 7:24











  • Thank you very much guys ! I will search all of them !

    – N Kim
    Nov 22 '18 at 15:49














-1












-1








-1








I'm learning Django and Python. If it is right that I understood, I need to create a new virtualenv per Django project.



python django: create a new virtualenv for each django project?



I installed virtualenv when I was following a Django tutorial before. I want to create an application to practice. so I'm trying to install a new virtualenv.



However powershell shows me this.



virtualenv installation error?



How can I install another virtualenv in this case?
could you please give me an advice or link to solve this problem.



Thank you.










share|improve this question
















I'm learning Django and Python. If it is right that I understood, I need to create a new virtualenv per Django project.



python django: create a new virtualenv for each django project?



I installed virtualenv when I was following a Django tutorial before. I want to create an application to practice. so I'm trying to install a new virtualenv.



However powershell shows me this.



virtualenv installation error?



How can I install another virtualenv in this case?
could you please give me an advice or link to solve this problem.



Thank you.







python django virtualenv






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 '18 at 5:24







N Kim

















asked Nov 21 '18 at 5:21









N KimN Kim

12




12








  • 1





    You don't need to reinstall the virtualenv package. Just run virtualenv <NAME> to create a new virtual env. Run virtualenv --help get information

    – kstullich
    Nov 21 '18 at 5:23













  • I thought I need to reinstall the virtualenv. Now I know what to search. I will search and try it again. Thank you very much Ksullich!

    – N Kim
    Nov 21 '18 at 5:31






  • 1





    Slightly off-topic but if you are new to Python and Django I would suggest learning pipenv as it is the officially recommended tool: packaging.python.org/guides/tool-recommendations/…

    – Selcuk
    Nov 21 '18 at 6:28






  • 1





    Read about virtualenvwrapper. It can help you to manage your's virtualenv's

    – Jonhy Beebop
    Nov 21 '18 at 7:24











  • Thank you very much guys ! I will search all of them !

    – N Kim
    Nov 22 '18 at 15:49














  • 1





    You don't need to reinstall the virtualenv package. Just run virtualenv <NAME> to create a new virtual env. Run virtualenv --help get information

    – kstullich
    Nov 21 '18 at 5:23













  • I thought I need to reinstall the virtualenv. Now I know what to search. I will search and try it again. Thank you very much Ksullich!

    – N Kim
    Nov 21 '18 at 5:31






  • 1





    Slightly off-topic but if you are new to Python and Django I would suggest learning pipenv as it is the officially recommended tool: packaging.python.org/guides/tool-recommendations/…

    – Selcuk
    Nov 21 '18 at 6:28






  • 1





    Read about virtualenvwrapper. It can help you to manage your's virtualenv's

    – Jonhy Beebop
    Nov 21 '18 at 7:24











  • Thank you very much guys ! I will search all of them !

    – N Kim
    Nov 22 '18 at 15:49








1




1





You don't need to reinstall the virtualenv package. Just run virtualenv <NAME> to create a new virtual env. Run virtualenv --help get information

– kstullich
Nov 21 '18 at 5:23







You don't need to reinstall the virtualenv package. Just run virtualenv <NAME> to create a new virtual env. Run virtualenv --help get information

– kstullich
Nov 21 '18 at 5:23















I thought I need to reinstall the virtualenv. Now I know what to search. I will search and try it again. Thank you very much Ksullich!

– N Kim
Nov 21 '18 at 5:31





I thought I need to reinstall the virtualenv. Now I know what to search. I will search and try it again. Thank you very much Ksullich!

– N Kim
Nov 21 '18 at 5:31




1




1





Slightly off-topic but if you are new to Python and Django I would suggest learning pipenv as it is the officially recommended tool: packaging.python.org/guides/tool-recommendations/…

– Selcuk
Nov 21 '18 at 6:28





Slightly off-topic but if you are new to Python and Django I would suggest learning pipenv as it is the officially recommended tool: packaging.python.org/guides/tool-recommendations/…

– Selcuk
Nov 21 '18 at 6:28




1




1





Read about virtualenvwrapper. It can help you to manage your's virtualenv's

– Jonhy Beebop
Nov 21 '18 at 7:24





Read about virtualenvwrapper. It can help you to manage your's virtualenv's

– Jonhy Beebop
Nov 21 '18 at 7:24













Thank you very much guys ! I will search all of them !

– N Kim
Nov 22 '18 at 15:49





Thank you very much guys ! I will search all of them !

– N Kim
Nov 22 '18 at 15:49












1 Answer
1






active

oldest

votes


















0














I think you think wrong in here. Start new virtualenv meaning start a virtual env for a specific project not reinstall a new package virtualenv



After pip install virtualenv try to run this when want to create a new virtual env for a project



cd my_project_folder_1
virtualenv my_project_1



for case you want to start a new virtualenv for new project



cd my_project_folder_2
virtualenv my_project_2



https://docs.python-guide.org/dev/virtualenvs/






share|improve this answer
























  • Thank you for this ! My understanding was absolutely wrong. I will try this way. Thanks !

    – N Kim
    Nov 22 '18 at 15:50











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%2f53405694%2fcreating-another-virtualenv-for-a-new-django-project%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









0














I think you think wrong in here. Start new virtualenv meaning start a virtual env for a specific project not reinstall a new package virtualenv



After pip install virtualenv try to run this when want to create a new virtual env for a project



cd my_project_folder_1
virtualenv my_project_1



for case you want to start a new virtualenv for new project



cd my_project_folder_2
virtualenv my_project_2



https://docs.python-guide.org/dev/virtualenvs/






share|improve this answer
























  • Thank you for this ! My understanding was absolutely wrong. I will try this way. Thanks !

    – N Kim
    Nov 22 '18 at 15:50
















0














I think you think wrong in here. Start new virtualenv meaning start a virtual env for a specific project not reinstall a new package virtualenv



After pip install virtualenv try to run this when want to create a new virtual env for a project



cd my_project_folder_1
virtualenv my_project_1



for case you want to start a new virtualenv for new project



cd my_project_folder_2
virtualenv my_project_2



https://docs.python-guide.org/dev/virtualenvs/






share|improve this answer
























  • Thank you for this ! My understanding was absolutely wrong. I will try this way. Thanks !

    – N Kim
    Nov 22 '18 at 15:50














0












0








0







I think you think wrong in here. Start new virtualenv meaning start a virtual env for a specific project not reinstall a new package virtualenv



After pip install virtualenv try to run this when want to create a new virtual env for a project



cd my_project_folder_1
virtualenv my_project_1



for case you want to start a new virtualenv for new project



cd my_project_folder_2
virtualenv my_project_2



https://docs.python-guide.org/dev/virtualenvs/






share|improve this answer













I think you think wrong in here. Start new virtualenv meaning start a virtual env for a specific project not reinstall a new package virtualenv



After pip install virtualenv try to run this when want to create a new virtual env for a project



cd my_project_folder_1
virtualenv my_project_1



for case you want to start a new virtualenv for new project



cd my_project_folder_2
virtualenv my_project_2



https://docs.python-guide.org/dev/virtualenvs/







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 '18 at 6:27









HuyNgoHuyNgo

212




212













  • Thank you for this ! My understanding was absolutely wrong. I will try this way. Thanks !

    – N Kim
    Nov 22 '18 at 15:50



















  • Thank you for this ! My understanding was absolutely wrong. I will try this way. Thanks !

    – N Kim
    Nov 22 '18 at 15:50

















Thank you for this ! My understanding was absolutely wrong. I will try this way. Thanks !

– N Kim
Nov 22 '18 at 15:50





Thank you for this ! My understanding was absolutely wrong. I will try this way. Thanks !

– N Kim
Nov 22 '18 at 15:50




















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53405694%2fcreating-another-virtualenv-for-a-new-django-project%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()