Python Forum
Pycharm community edition venv folder
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pycharm community edition venv folder
#1
I'm using Pycharm community edition as my Python IDE. I noticed that every time I create a project, it creates a venv folder, and that folder have about 125 MB of data. Do I need this folder?

I'm trying to backup my Python scripts to my Google Drive, and I don't want to upload the stuff I don't need.
Reply
#2
that is a virtual environment
it isolates your code, making it easier to package, and reducing overhead of unused packages
Not sure how pycharm activates it, but if you see (in terminal window) something like:
(venv) xxx$
it's being automatically activated, if not, you can activate manually from terminal window using:
. ./venv/bin/activate
Reply
#3
Hi

Rather than assume some things, please confirm the following:
You have used Google Colaboratory to create a virtual Notebook in the cloud.
You are attempting to install Backup & Sync/Google Drive into that virtual Notebook.
If so, then please be advised that Backup & Sync/Google Drive has never been tested out in such a virtual environment. It may work. It may work inconsistently. It may fail to work, or fail to work inconsistently. There is simply no known status of such an installation since it's never been tested nor supported.
Reply
#4
Thanks for the answers. I deleted the Venv folder, and my script ran without any issues.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  my venv is not loading njoki 1 232 Mar-20-2024, 10:41 AM
Last Post: snippsat
  Compare folder A and subfolder B and display files that are in folder A but not in su Melcu54 3 531 Jan-05-2024, 05:16 PM
Last Post: Pedroski55
  Understanding venv; How do I ensure my python script uses the environment every time? Calab 1 2,260 May-10-2023, 02:13 PM
Last Post: Calab
  Python venv and PIP version issue JanOlvegg 2 1,253 Feb-22-2023, 02:22 AM
Last Post: JanOlvegg
  Visual Studio Code venv ibm_db error mesi1000 7 2,784 Nov-13-2022, 12:36 AM
Last Post: snippsat
  line by line debugging in PyCharm Community astral_travel 2 1,087 Nov-03-2022, 08:33 PM
Last Post: astral_travel
  Receiving snmp traps with more than one Community String ilknurg 0 2,206 Jan-19-2022, 09:02 AM
Last Post: ilknurg
  Compare filename with folder name and copy matching files into a particular folder shantanu97 2 4,473 Dec-18-2021, 09:32 PM
Last Post: Larz60+
  Python Crash Course ( 2nd edition) alok 1 1,877 Jul-19-2021, 05:55 PM
Last Post: snippsat
  Move file from one folder to another folder with timestamp added end of file shantanu97 0 2,467 Mar-22-2021, 10:59 AM
Last Post: shantanu97

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020