Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Use versions for pip packages #50

Closed
f11y11 opened this issue Aug 14, 2021 · 4 comments
Closed

Use versions for pip packages #50

f11y11 opened this issue Aug 14, 2021 · 4 comments

Comments

@f11y11
Copy link

f11y11 commented Aug 14, 2021

As long as you use "latest" without a version, we need to uninstall and reinstall the dislash.py entirely to get the latest features, such as ContextMenus.

@f11y11
Copy link
Author

f11y11 commented Aug 14, 2021

I'm not really sure if it does, pip says it is 1.4.6 but I had to uninstall and reinstall fresh to have the latest features

@EQUENOS
Copy link
Owner

EQUENOS commented Aug 15, 2021

pip install dislash.py --upgrade works fine, you don't have to reinstall the library

@f11y11
Copy link
Author

f11y11 commented Aug 15, 2021

what about using pip install -r requirements.txt? As far as I see it does not upgrade each time it installs and I have to uninstall dislash.py to get the actual latest

@m1raynee
Copy link
Contributor

Add -U flag. If you run pip install -r requirements.txt, it will install modules it doesn't find. By adding a -U flag, it updates all modules from the file. So, it should look something like this: pip install -U -r requirements.txt
(P.S.: -U is equivalent of --upgrade)

@f11y11 f11y11 closed this as completed Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants