There was an error when installing packages "plantdb" and "romitask" in a Conda environment with pip with the commands :
python3 -m pip install ./plantdb/
python3 -m pip install ./romitask/
Got the following error for both installs:
Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
So I added :
setuptools_scm == 1.15.0
to the requirements.txt file and ran the command :
python3 -m pip install -r requirements.txt
again.
This problem may be occurring only on my computer but if this error happens to others and the solution given above works for them, it might be useful to add the line "setuptools_scm == 1.15.0" to the requirement.txt file.
There was an error when installing packages "plantdb" and "romitask" in a Conda environment with pip with the commands : python3 -m pip install ./plantdb/ python3 -m pip install ./romitask/
Got the following error for both installs:
Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
I managed to fix this thanks to this forum : https://stackoverflow.com/questions/43288756/pytest-xdist-lookuperror-setuptools-scm-was-unable-to-detect-version
So I added : setuptools_scm == 1.15.0 to the requirements.txt file and ran the command : python3 -m pip install -r requirements.txt again.
This problem may be occurring only on my computer but if this error happens to others and the solution given above works for them, it might be useful to add the line "setuptools_scm == 1.15.0" to the requirement.txt file.