Hi,
The python wrapper for orekit 11.2 is now available as pre-built packages on conda-forge channel.
The update contains the latest release of orekit 11.2 with all its new features (se separate release note) as well as additional python wrappers corresponding to classes for new interfaces and abstract classes.
Regards
/Petrus
Thanks @petrus.hyvonen for wrapping the latest Orekit version to Python!
I am trying to update but I get the following error:
(base) alfredo@soyuz:~/Python$ pip install orekit --upgrade
Requirement already satisfied: orekit in /home/alfredo/miniconda3/lib/python3.9/site-packages (11.1)
(base) alfredo@soyuz:~/Python$ python -m pip install --upgrade orekit
Requirement already satisfied: orekit in /home/alfredo/miniconda3/lib/python3.9/site-packages (11.1)
What am I doing wrong?
PD: it’s the first time I’m trying to upgrade Orekit
Serrof
June 24, 2022, 9:29am
6
Hey there,
I’m not sure pip works to install Orekit. Personnaly I use conda:
conda install -c conda-forge orekit==11.2
Best,
Romain.
PS: thanks Petrus for the swift update
1 Like
Hi! Correct, the orekit package is only available as pre-compiled through conda. Conda gives a very controlled environment that reduces a bit of risk of isssues so I have prioritized that. The scripts in conda-forge and at the gitlab repo can be used as help for building it on other architectures/environments but it is a bit complex and many areas that can give issues.
Thank you @Serrof !
I could install the latest version executing command
conda install -c conda-forge orekit==11.2
as you can see below:
(base) alfredo@soyuz:~/Python$ conda install -c conda-forge orekit==11.2
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/alfredo/miniconda3
added / updated specs:
- orekit==11.2
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2022.6.15 | ha878542_0 149 KB conda-forge
certifi-2022.6.15 | py39hf3d152e_0 155 KB conda-forge
conda-4.13.0 | py39hf3d152e_1 998 KB conda-forge
libgcc-ng-12.1.0 | h8d9b700_16 940 KB conda-forge
libgomp-12.1.0 | h8d9b700_16 459 KB conda-forge
libstdcxx-ng-12.1.0 | ha89aaad_16 4.3 MB conda-forge
openssl-1.1.1p | h166bdaf_0 2.1 MB conda-forge
orekit-11.2 | py39h5a03fae_0 44.5 MB conda-forge
------------------------------------------------------------
Total: 53.6 MB
The following packages will be UPDATED:
ca-certificates 2021.10.8-ha878542_0 --> 2022.6.15-ha878542_0
certifi 2021.10.8-py39hf3d152e_2 --> 2022.6.15-py39hf3d152e_0
conda 4.12.0-py39hf3d152e_0 --> 4.13.0-py39hf3d152e_1
libgcc-ng 11.2.0-h1d223b6_14 --> 12.1.0-h8d9b700_16
libgomp 11.2.0-h1d223b6_14 --> 12.1.0-h8d9b700_16
libstdcxx-ng 11.2.0-he4da1e4_14 --> 12.1.0-ha89aaad_16
openssl 1.1.1n-h166bdaf_0 --> 1.1.1p-h166bdaf_0
orekit 11.1-py39h5a03fae_3 --> 11.2-py39h5a03fae_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
conda-4.13.0 | 998 KB | ############################################################################################################ | 100%
libstdcxx-ng-12.1.0 | 4.3 MB | ############################################################################################################ | 100%
orekit-11.2 | 44.5 MB | ############################################################################################################ | 100%
libgomp-12.1.0 | 459 KB | ############################################################################################################ | 100%
ca-certificates-2022 | 149 KB | ############################################################################################################ | 100%
certifi-2022.6.15 | 155 KB | ############################################################################################################ | 100%
libgcc-ng-12.1.0 | 940 KB | ############################################################################################################ | 100%
openssl-1.1.1p | 2.1 MB | ############################################################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) alfredo@soyuz:~/Python$ pip install orekit
Requirement already satisfied: orekit in /home/alfredo/miniconda3/lib/python3.9/site-packages (11.2)
What a pleasure!
Thanks @petrus.hyvonen for your great job!