Git Product home page Git Product logo

Comments (3)

ionelmc avatar ionelmc commented on June 18, 2024

This is very annoying, it should be fixed somehow. However, virtualenv bundles a sdist of pip - it is not reusing the globally installed one.

from curdling.

clarete avatar clarete commented on June 18, 2024

So, it's kinda hard to fix this issue.

That's why we actually have virtualenv anyway. To change the place python reads the installed packages, virtualenv has to have its own python binary because there's a check for the os.py module inside of the C source that determines if you're in the right import path or not.

It's crazy but that's how python works and that's why virtualenv exists. We could certainly find a workaround for that, but besides that, I'll keep marching towards the gates of the import system and extend that part to work better with multiple environments.

That's actually an old idea in my mind that starts to make even more sense now that use cases are so outstanding.

Thank you guys for coming up with such an important issue.

Thank you @gabrielfalcao for just providing us a workaround for this problem. I'll add that to the main documentation website.

from curdling.

rafaelcaricio avatar rafaelcaricio commented on June 18, 2024

Could you post the link for the workaround provided by @gabrielfalcao ?

from curdling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.