Giter VIP home page Giter VIP logo

Comments (3)

PierreQuentel avatar PierreQuentel commented on June 21, 2024 1

Very nice ! I tried the latest version, installation succeeded without any problem and I could run the Easter demo.

I will play with it in the next days and report any issue / suggestion.

from easter.

rayluo avatar rayluo commented on June 21, 2024

Merci Pierre!

Admittedly, I haven't tested the installation on Windows. I tried just now and I can reproduce the error you saw. It works fine on Linux.

A quick workaround is to do EITHER ONE of the following:

  1. Manually upgrade pip (pip install --upgrade pip) before attempting installing brip. You would still see the same error (more on this later), but the new pip would have been installed successfully. And then you can just do pip install brip without error.
  2. Simply ignore the error and rerun pip install brip a second time. Because, despite the error message from your first run, a newer pip has been successfully installed, so your second run would succeed.
  3. That error message seems to be a known issue of pip: "pip.exe install --upgrade pip" fails on Windows. Inspired by its only workaround, the proper way to install brip on Windows is to run this instead: python -m pip install brip.

I'll update the README to use solution No.3 on Windows.

By the way, brip did not really have a hard dependency on a newer pip. It is just that, with older pip, another confusing pip warning would sometimes be shown, which is harmless to brip but it might cause confusion to brip users. So I currently make brip depends on pip 21+ to avoid that warning. I'll revisit this decision, if after I updated the brip README with solution No.3 above, and people would still hit this issue due to not reading README.

Lastly, running "activate" without ".bat" seems to still invoke "activate.bat" and works fine on Windows. But, I can add the ".bat" too.

from easter.

rayluo avatar rayluo commented on June 21, 2024

UPDATE: Guess what? Rather than writing lengthy explanations in brip's README and in Easter's README, I chose to release a new brip 0.2.2 which avoids the dependency on the newer pip, so that a normal pip install brip would just work. Please try it again.

from easter.

Related Issues (1)

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.