Giter VIP home page Giter VIP logo

Comments (4)

nTrouvain avatar nTrouvain commented on May 23, 2024

Hello,
This is not how pip works: once you have installed a package, you need to add the --upgrade option to force pip to reinstall a new version. You can also specify the exact version you wish to install:

# this install reservoirpy v0.2.4
pip install reservoirpy

# this update the package to v0.3.0b2
pip install reservoirpy==0.3.0b2

# this should do the same
pip install --upgrade --pre reservoirpy

from reservoirpy.

neuronalX avatar neuronalX commented on May 23, 2024

--update does not seem to be a correct argument for pip:

pip install --update --pre reservoirpy

Usage:
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: --update

from reservoirpy.

neuronalX avatar neuronalX commented on May 23, 2024

The command
pip install --pre reservoirpy
install the correct version in my case:

pip install --pre reservoirpy
...
Installing collected packages: reservoirpy
Successfully installed reservoirpy-0.3.0b2

Why is the behaviour different?

PS: in both cases it was under Mac OS

from reservoirpy.

nTrouvain avatar nTrouvain commented on May 23, 2024

@neuronalX Yes thank you, the option is called --upgrade. I will edit my comment.
@neuronalX if you run the command with --pre the first time, then pip will install the pre-release. The problem comes from the fact that @cbrissaud ran the command twice, without forcing the upgrade in between. pip only reinstalls a package if a different version is explicitely specifyed, if it is not in cache or if the --upgrade option is used.

from reservoirpy.

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.