Closed astrojuanlu closed 5 years ago
Thank for reporting this issue. We will investigate it in the coming days. If you have any solution to fix it, thanks to submit a GitHub pull request. Regards, CLS team.
Hi @Juanlu001 ,
I have tested it and I cannot reproduce it:
python3.7 -m pip install --user motuclient Collecting motuclient Installing collected packages: motuclient Successfully installed motuclient-1.8.2
python3.7 -m pip --version pip 19.1.1 from /home/ubuntu/.local/lib/python3.7/site-packages/pip (python 3.7)
python3.7 --version Python 3.7.3
==================== python3.7 -m pip uninstall motuclient Uninstalling motuclient-1.8.2: Would remove: /home/ubuntu/.local/bin/motuclient /home/ubuntu/.local/lib/python3.7/site-packages/motu-client.py /home/ubuntu/.local/lib/python3.7/site-packages/motu_utils/ /home/ubuntu/.local/lib/python3.7/site-packages/motuclient-1.8.2.dist-info/ /home/ubuntu/.local/lib/python3.7/site-packages/motuclient.py Proceed (y/n)? y Successfully uninstalled motuclient-1.8.2
python3.7 -m pip install --user motuclient==1.8.2 Collecting motuclient==1.8.2 Installing collected packages: motuclient Successfully installed motuclient-1.8.2
Any idea about how I can reproduce it ?
Regards, CLS team
It's strange, I tried the same pip version and the same motuclient version and I can't reproduce it anymore either. A temporary glitch perhaps? In any case, closing!
I noticed this while upgrading motuclient to 1.8.2:
Even after uninstalling and reinstalling I see the same problem:
I suspect that it has to do with the newer versions of pip:
So perhaps you could follow an alternative approach for putting the version in
setup.py
instead of importing the package itself, as described here:https://packaging.python.org/guides/single-sourcing-package-version/