python - Error while full update pip packages -
while pip update packages command
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -u
pip print error vboxapi
downloading/unpacking vboxapi not find downloads satisfy requirement vboxapi externally hosted files ignored (use --allow-external vboxapi allow). insecure , unverifiable files ignored (use --allow-unverified vboxapi allow). cleaning up... no distributions @ found vboxapi storing debug log failure in /users/rmuhamedgaliev/.pip/pip.log
can pip ignore vboxapi while update? tried commands
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -u -i pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -u -i --allow-external vboxapi
yes, can ignore vboxapi
package this.
grep -pv '^(?:\-e|vboxapi\=)'
- the
-p
flag tells grep use perl-compatible regex. - the
-v
flag says list not match regex follows. - the regex matches lines begin
-e
orvboxapi=
full example want accomplish:
pip freeze --local | grep -pv '^(?:\-e|vboxapi\=)' | cut -d = -f 1 | xargs -n1 pip install -u;
Comments
Post a Comment