1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Virtual Environment Size Difference (Windows vs Linux)

Discussão em 'Python' iniciado por Stack, Maio 27, 2025.

  1. Stack

    Stack Membro Participativo

    I initially worked on this project on Windows using a venv with the following dependencies:

    • langchain
    • langchain-community
    • langchain-google-genai
    • python-dotenv
    • google-genai
    • pypdf
    • pinecone
    • langchain-pinecone
    • langchain-huggingface
    • fastapi[standard]

    The total size of the venv folder was 2.6 GB.

    Now, after cloning into Linux (Ubuntu) and installing the same dependencies, the venv size has increased to 6.8 GB.

    Additionally, it appears that many NVIDIA CUDA and GPU-related modules are being installed, even though my system only has an integrated GPU (no dedicated GPU).

    Can someone explain this behaviour - is it something related to cache or anything?

    Continue reading...

Compartilhe esta Página