Gene-Weaver / LeafMachine2

LeafMachine2 is a modular suite of computer vision and machine learning algorithms that enables efficient identification, location, and measurement of vegetative, reproductive, and archival components from digital plant datasets.
https://leafmachine.org/
GNU General Public License v3.0
26 stars 6 forks source link

Package names with comparators should be enclosed in double quotes for `pip install` #14

Closed mpitblado closed 3 months ago

mpitblado commented 3 months ago

While installing some of the packages, I encountered errors for versioned packages using >= or <= on zsh. This can be fixed by enclosing the packages and their version requirements in quotations.

From the python documentation

It’s also possible to specify an exact or minimum version directly on the command line. When using comparator operators such as >, < or some other special character which get interpreted by shell, the package name and the version should be enclosed within double quotes:

python -m pip install SomePackage==1.0.4    # specific version
python -m pip install "SomePackage>=1.0.4"  # minimum version
Gene-Weaver commented 3 months ago

Thanks, I changed the readme for the packages that are not in the requirements.txt