Closed christophe-david closed 1 year ago
TL;DR: Sorry for the inconvenience. Simply uninstall/reinstall FAST-OAD-core:
$ pip uninstall fast-oad-core
[...]
Successfully uninstalled fast-oad-core-1.3.0
$ pip install fast-oad-core
[...]
Successfully installed fast-oad-core-1.3.0
$ fastoad -v
fastoad, version 1.3.0.post0
Detailed version:
FAST-OAD 1.3 separates the core software and the CS25-related models into FAST-OAD-core and FAST-OAD-CS25.
The fastoad
command line is now provided by FAST-OAD-core
In a attempt to keep compatibility for users of FAST-OAD, the FAST-OAD package has become an "empty shell" and its installation simply triggers the installation of FAST-OAD-core and FAST-OAD-CS25.
The problem is that when doing the upgrade, pip has to remove the CLI provided by FAST-OAD 1.2.1 and to create the CLI provided by FAST-OAD-core... and it is not done in the order I would have expected.
Thererefore, to do the upgrade, one has 2 solutions:
We are far past this version, now. This should not be an issue any longer.
Describe the bug When upgrading from FAST-OAD 1.2.1 (or below) to 1.3.0 (or above), the
fastoad
(and its aliasfast-oad
) command is no more available.To Reproduce In bash, in a new environment: