JRCSTU / CO2MPAS-TA

EU's Type-Approving vehicle simulator predicting NEDC CO2 emissions from WLTP
https://co2mpas.readthedocs.io/
European Union Public License 1.1
23 stars 13 forks source link

Error on install: No matching distribution found for wltp<1 (from co2mpas) #46

Open srzlt opened 3 years ago

srzlt commented 3 years ago

I tried installing co2mpas both with and without root privileges with pip install co2mpas. both times the same issue occurred after the PyYAML package.

Collecting PyYAML Downloading PyYAML-5.3.1.tar.gz (269 kB) |████████████████████████████████| 269 kB 1.3 MB/s ERROR: Could not find a version that satisfies the requirement wltp<1 (from co2mpas) (from versions: 0.0.7a0, 0.0.8a0, 0.0.8a2, 0.0.9a1, 0.0.9a3, 0.0.9a4, 0.0.9a5, 0.1.0a0, 0.1.0a1, 0.1.0a2, 0.1.0a3, 0.1.1a0, 0.1.2a0) ERROR: No matching distribution found for wltp<1 (from co2mpas)

stefanocorsi commented 3 years ago

Thank you for the report.

Could we have some information on platform (I guess it's linux), and version?

vinci1it2000 commented 3 years ago

If you have to install co2mpas for type approval reasons, you have to use the official version of co2mpas. Otherwise, to solve that issue you can just install manually the missing wltp requirement with the following command:

pip install wltp==0.1.2.a0

Let us know if this solves your issue.

srzlt commented 3 years ago

@stefanocorsi @vinci1it2000 thanks for the quick reply.

I am using Mac OS Big Sur 11.0 Beta (20A5384c). My bad, the OS Beta might be responsible, however the error message did not seem to be indicating that.