-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error pip.operations import freeze
when running co2mpas simulator
#26
Comments
Dear @mitrapo, Can you, please, ensure that CO2MPAS has been installed correctly in the computer that the error appears? In addition, please give us the output of the command: We look forward to your reply. |
Dear @mitrapo, the error you see regarding The cause of the error seems to be a more recent version of
Note that changing certain python libraries has an influence to the bit-to-bit reproducability of the results (and that is the reason behind the pip freeze` operation above). In any case, sooner than later, alpha or beta versions regarding the next release of co2mpas will start to appear - you are always welcome, should you wish to participate to beta testing them. |
pip.operations import freeze
when running co2mpas simulator
Thanks a lot for your quick response. |
Hi,
We run CO2MPAS for one input file on two computers, and on one of them we get the following error, where as the other one runs without any problem. Do you have any idea where the problem can come from? We have checked the python, pip and co2mpas paths and they all seems fine.
2018-05-24 10:16:59,475:co2mpas:INFO:Launched CO2MPAS job:
2018-05-24 10:17:02,189:co2mpas:INFO:Job CO2MPAS 1 of 1: 'C:/COMPAS/CO2MPAS_flow/outputs/XUP1041.xlsx'...
2018-05-24 10:18:05,591:co2mpas.model.selector:INFO:
Engine cold start speed model selector warning: Models {'cold_start_speed_model'} to predict [none, 'wltp_h', 'nedc_h'] failed the calibration.
2018-05-24 10:18:05,591:co2mpas.model.selector:INFO:
Engine cold start speed model selector warning: Models {'cold_start_speed_model'} to predict ['wltp_l', 'nedc_l'] failed the calibration.
2018-05-24 10:18:06,340:co2mpas.model.selector:INFO:
Engine coolant temperature model selector warning: Models {'max_engine_coolant_temperature', 'engine_temperature_regression_model'} to predict [none, 'wltp_h', 'nedc_h'] failed the calibration.
2018-05-24 10:18:06,340:co2mpas.model.selector:INFO:
Engine coolant temperature model selector warning: Models {'max_engine_coolant_temperature', 'engine_temperature_regression_model'} to predict ['wltp_l', 'nedc_l'] failed the calibration.
2018-05-24 10:18:12,674:schedula.utils.sol:ERROR:Failed DISPATCHING 'convert2df' due to:
ModuleNotFoundError("No module named 'pip.operations'",)
Traceback (most recent call last):
File "c:\users\hstenva1\downloads\co2mpas_aio-1.7.3\apps\winpython\python-3.6.1.amd64\lib\site-packages\schedula\utils\sol.py", line 747, in _set_function_node_output
res = self._evaluate_function(args, node_id, node_attr, attr)
File "c:\users\hstenva1\downloads\co2mpas_aio-1.7.3\apps\winpython\python-3.6.1.amd64\lib\site-packages\schedula\utils\sol.py", line 533, in evaluate_function
res = fun(*args)
File "c:\users\hstenva1\downloads\co2mpas_aio-1.7.3\apps\winpython\python-3.6.1.amd64\lib\site-packages\co2mpas\io_init.py", line 78, in convert2df
res.update(proc_info2df(report, start_time, main_flags))
File "c:\users\hstenva1\downloads\co2mpas_aio-1.7.3\apps\winpython\python-3.6.1.amd64\lib\site-packages\co2mpas\io_init.py", line 137, in _proc_info2df
res = (_co2mpas_info2df(start_time, main_flags), freeze2df())
File "c:\users\hstenva1\downloads\co2mpas_aio-1.7.3\apps\winpython\python-3.6.1.amd64\lib\site-packages\co2mpas\io_init.py", line 170, in _freeze2df
from pip.operations import freeze
ModuleNotFoundError: No module named 'pip.operations'
2018-05-24 10:18:12,955:co2mpas.batch:INFO:Written into xl-file(C:\Users\HSTENVA1\Downloads\co2mpas_AIO-1.7.3\CO2MPAS\20180524_101659-summary.xlsx)...
2018-05-24 10:18:12,955:co2mpas.batch:INFO:Done! [73.479884 sec]
2018-05-24 10:18:12,970:co2mpas:INFO:Finished job CO2MPAS.
The text was updated successfully, but these errors were encountered: