What is the difference between virtual environment and normal code in pycharm

27 views
Skip to first unread message

Ravi Prakash

unread,
Mar 19, 2020, 9:14:00 AM3/19/20
to Django users
Hi All

What is the difference between the virtual environment and normal code in pycharm?

Can you explain, please


Virtual Clone

VirtualTech Outsourcing Services Pvt Ltd 
59/B, Plot No. 4, 5 and 6, Nehru Nagar (West)
Bhilai, Chhattisgarh - 490 020, India
www.virtualclone.in

************************************************************

LEGAL DISCLAIMER: The contents of this electronic communication and any attached documents are strictly confidential and they may not be used or disclosed by someone who is not a named recipient.

If you have received this electronic communication in error please notify the sender by replying to this electronic communication inserting the word "misdirected" as the subject and delete this communication from your system.

************************************************************


Phako Perez

unread,
Mar 19, 2020, 9:43:33 AM3/19/20
to django...@googlegroups.com
Hi Ravi,

There is no difference, both works same, however when you use the virtual environment, all the package you install will be available only in that venv, so you can create an environment per project and each project will have their own package list, each with their own version.

On the other hand, normal code you can install any package your projects needs, but all will works with same version, if you face a project needs to downgrade the version package N, you may face issues with the others projects as this will affect directly.

Regards 

Sent from my iPhone

On 19 Mar 2020, at 7:13, Ravi Prakash <ravi.t...@virtualclone.in> wrote:


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f71b0415-e137-4b02-b3d5-a3ecc644be09%40googlegroups.com.

cosmos multi

unread,
Mar 19, 2020, 9:54:01 AM3/19/20
to Django users
Hi ravi.
In pycharm the virtual environment is created according to the project you choose, making this a little more automatic, making the installation or updating of packages more friendly, while a normal one is you who chooses what it should have

Ravi Prakash

unread,
Mar 20, 2020, 12:15:11 AM3/20/20
to Django users
Hi Phoka 

Thank you!
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages