Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Orbit.sample raises error in older versions of NumPy #1596

Open
muneeb227 opened this issue Nov 19, 2022 · 10 comments
Open

Orbit.sample raises error in older versions of NumPy #1596

muneeb227 opened this issue Nov 19, 2022 · 10 comments

Comments

@muneeb227
Copy link

I was viewing documentation of Poliastro and was playing with the example code to reproduce the results but the plotting code doesn't seems to give the results plotted on their documentation.

Error I'm getting: _"unwrap_dispatcher() got an unexpected keyword argument 'period'"

To reproduce, run this code:

import numpy               as     np
import scipy.constants     as     sc
import matplotlib.pyplot   as     plt
import pytz

from   scipy.constants     import kilo
from   astropy.coordinates import FK5
from   astropy             import units     as u
from   astropy             import time
from   poliastro.bodies    import Earth
from   poliastro.plotting  import OrbitPlotter2D
from   poliastro.twobody   import Orbit
from   datetime            import datetime




# -----------------------------------------------------------------------------
# set backend to display plots
# -----------------------------------------------------------------------------

plt.switch_backend('QT5Agg')



# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------

op = OrbitPlotter2D()



# -----------------------------------------------------------------------------
#  Set the print options to a line width of 255 and floating point output to
#  scientific notation
# -----------------------------------------------------------------------------

np.set_printoptions( linewidth=255, formatter={'float': '{: 14.6e}'.format} )



# -----------------------------------------------------------------------------
#  Set physical and math constants, and controls
# -----------------------------------------------------------------------------

#                                math constants
#                                --------------
two_pi      = 2.e0 * np.pi
rad_per_deg = np.pi / 180.
deg_per_rad = 1. / rad_per_deg

#                                orbital parameters for Earth (default)
#                                --------------------------------------
BodyName    = "Earth"
GMbody      = 3.986004418e5        # in km**3/sec**2
Rbody       = 6371.0e0             # in km

#                                FK5 Catalog and Julian Epoch J2000
#                                ----------------------------------
f = FK5(equinox='J2000')



# -----------------------------------------------------------------------------
# set the state vector (in meters and meters/sec) and its epoch
# -----------------------------------------------------------------------------

sv_epoch = [2016, 12, 9, 16, 38, 45, 0]
xstate = [2328.96594e0, -5995.21600e0, 1719.97894e0, 2.91110113e0, -0.98164053e0, -7.09049922e0]

ictime = time.Time( datetime(sv_epoch[0],sv_epoch[1],sv_epoch[2], \
                    sv_epoch[3],sv_epoch[4],sv_epoch[5],sv_epoch[6],tzinfo=pytz.utc) )

r = xstate[0:3] * u.km
v = xstate[3:6] * u.km / u.s

print
print( " epoch               = ", ictime )
print( " xstate (km, km/sec) = ", xstate )
print( " r (km)              = ", r )
print( " v (km/sec)          = ", v )

ss = Orbit.from_vectors( Earth, r, v, ictime )

print
print( " ss (km, km/sec)     = ", ss )



# -----------------------------------------------------------------------------
#  generate, save and display the plot
# -----------------------------------------------------------------------------

op.plot(ss)
@astrojuanlu
Copy link
Member

Hello @muneeb227, sorry you're experiencing problems! Could you please paste the complete traceback, so we can have more information to diagnose the issue?

@astrojuanlu
Copy link
Member

For the record, by removing the plt.switch_backend('QT5Agg') line, these lines work fine for me.

@astrojuanlu astrojuanlu added status:needs more info Cannot reproduce problem in current state component:plotting labels Nov 21, 2022
@muneeb227
Copy link
Author

muneeb227 commented Nov 21, 2022

Hello @muneeb227, sorry you're experiencing problems! Could you please paste the complete traceback, so we can have more information to diagnose the issue?

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_24768/1683997782.py in <module>
     83 # -----------------------------------------------------------------------------
     84 
---> 85 op.plot(ss)

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\plotting\interactive.py in plot(self, orbit, label, color, trail)
    472             self.set_orbit_frame(orbit)
    473 
--> 474         return super().plot(orbit, label=label, color=color, trail=trail)
    475 
    476     def plot_body_orbit(

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\plotting\interactive.py in plot(self, orbit, label, color, trail)
    105 
    106         """
--> 107         super().plot(orbit, label=label, color=color, trail=trail)
    108 
    109         if not self._figure._in_batch_mode:

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\plotting\_base.py in plot(self, orbit, label, color, trail)
    374         # Do not return the result of self._plot
    375         # This behavior might be overriden by subclasses
--> 376         self._plot(orbit, label=label, color=color, trail=trail)
    377 
    378     def plot_body_orbit(

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\plotting\_base.py in _plot(self, orbit, label, color, trail)
    243 
    244         label = generate_label(orbit.epoch, label)
--> 245         coordinates = orbit.sample(self._num_points)
    246 
    247         return self.__add_trajectory(

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\twobody\orbit\scalar.py in sample(self, values, min_anomaly, max_anomaly)
    573             )
    574 
--> 575         ephem = self.to_ephem(
    576             strategy=TrueAnomalyBounds(
    577                 min_nu=min_anomaly,

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\twobody\orbit\scalar.py in to_ephem(self, strategy)
    524         from poliastro.ephem import Ephem
    525 
--> 526         coordinates, epochs = strategy.sample(self)
    527         return Ephem(coordinates, epochs, self.plane)
    528 

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\twobody\sampling.py in sample(self, orbit)
    146         # Notice that astropy.units does not support the period kwarg for np.unwrap
    147         delta_ts = (
--> 148             np.unwrap(delta_ts, period=orbit.period.to_value(u.s)) << u.s
    149         )
    150         epochs = orbit.epoch + (orbit.t_p + delta_ts)

<__array_function__ internals> in unwrap(*args, **kwargs)

TypeError: _unwrap_dispatcher() got an unexpected keyword argument 'period'

For the record, by removing the plt.switch_backend('QT5Agg') line, these lines work fine for me.

I removed this but still getting the same error.

@astrojuanlu
Copy link
Member

I see that unwrap gained the period parameter in NumPy 1.21.0: https://github.com/numpy/numpy/pull/16987/files

So I guess this means that we have to update our minimum required version of NumPy:

"numpy",

@muneeb227 could you please try installing NumPy >= 1.21.0 and try again?

@astrojuanlu astrojuanlu added triaging:bug component:infra and removed status:needs more info Cannot reproduce problem in current state component:plotting labels Nov 23, 2022
@astrojuanlu astrojuanlu changed the title Unable to plot orbits using Poliastro Orbit.sample raises error in older versions of NumPy Nov 23, 2022
@muneeb227
Copy link
Author

I see that unwrap gained the period parameter in NumPy 1.21.0: https://github.com/numpy/numpy/pull/16987/files

So I guess this means that we have to update our minimum required version of NumPy:

"numpy",

@muneeb227 could you please try installing NumPy >= 1.21.0 and try again?

Hey, I tried the numpy version but now, I think maximum numpy version requirement error is raised. Here is trackback:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_22588/1683997782.py in <module>
      9 from   astropy             import time
     10 from   poliastro.bodies    import Earth
---> 11 from   poliastro.plotting  import OrbitPlotter2D
     12 from   poliastro.twobody   import Orbit
     13 from   datetime            import datetime

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\plotting\__init__.py in <module>
----> 1 from poliastro.plotting.interactive import OrbitPlotter2D, OrbitPlotter3D
      2 from poliastro.plotting.static import StaticOrbitPlotter
      3 
      4 __all__ = ["OrbitPlotter2D", "OrbitPlotter3D", "StaticOrbitPlotter"]

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\plotting\interactive.py in <module>
     10 
     11 from poliastro.frames import Planes
---> 12 from poliastro.plotting._base import BaseOrbitPlotter, Mixin2D
     13 from poliastro.plotting.util import generate_sphere
     14 

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\plotting\_base.py in <module>
      7 from astropy.coordinates import CartesianRepresentation
      8 
----> 9 from poliastro.ephem import Ephem
     10 from poliastro.frames import Planes
     11 from poliastro.plotting.util import BODY_COLORS, generate_label

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\ephem.py in <module>
     15 from poliastro.bodies import Earth
     16 from poliastro.frames import Planes
---> 17 from poliastro.frames.util import get_frame
     18 from poliastro.twobody.sampling import EpochsArray
     19 from poliastro.util import time_range

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\frames\util.py in <module>
     33     VenusICRS,
     34 )
---> 35 from poliastro.frames.fixed import (
     36     ITRS,
     37     JupiterFixed,

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\frames\fixed.py in <module>
     23 )
     24 from poliastro.constants import J2000
---> 25 from poliastro.core.fixed import (
     26     jupiter_rot_elements_at_epoch as jupiter_rot_elements_at_epoch_fast,
     27     mars_rot_elements_at_epoch as mars_rot_elements_at_epoch_fast,

C:\ProgramData\Anaconda3\lib\site-packages\poliastro\core\fixed.py in <module>
     17 
     18 import numpy as np
---> 19 from numba import njit as jit
     20 
     21 

C:\ProgramData\Anaconda3\lib\site-packages\numba\__init__.py in <module>
    196 
    197 _ensure_llvm()
--> 198 _ensure_critical_deps()
    199 
    200 # we know llvmlite is working as the above tests passed, import it now as SVML

C:\ProgramData\Anaconda3\lib\site-packages\numba\__init__.py in _ensure_critical_deps()
    136         raise ImportError("Numba needs NumPy 1.17 or greater")
    137     elif numpy_version > (1, 20):
--> 138         raise ImportError("Numba needs NumPy 1.20 or less")
    139 
    140     try:

ImportError: Numba needs NumPy 1.20 or less

@astrojuanlu
Copy link
Member

Makes sense. Could you paste the result of conda info -a so we see all the package versions you have? Seems like numba is old too.

@muneeb227
Copy link
Author

Makes sense. Could you paste the result of conda info -a so we see all the package versions you have? Seems like numba is old too.

Here it is:

    active environment : base
    active env location : C:\ProgramData\Anaconda3
       user config file : C:\Users\munee\.condarc
 populated config files : C:\Users\munee\.condarc
          conda version : 22.9.0
    conda-build version : 3.21.6
         python version : 3.9.7.final.0
       virtual packages : __cuda=11.6=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\ProgramData\Anaconda3  (writable)
      conda av data dir : C:\ProgramData\Anaconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\ProgramData\Anaconda3\pkgs
                          C:\Users\munee\.conda\pkgs
                          C:\Users\munee\AppData\Local\conda\conda\pkgs
       envs directories : C:\ProgramData\Anaconda3\envs
                          C:\Users\munee\.conda\envs
                          C:\Users\munee\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/22.9.0 requests/2.26.0 CPython/3.9.7 Windows/10 Windows/10.0.22000
          administrator : True
             netrc file : None
           offline mode : False

# conda environments:
#
base                  *  C:\ProgramData\Anaconda3

sys.version: 3.9.7 (default, Sep 16 2021, 16:59:28) [...
sys.prefix: C:\ProgramData\Anaconda3
sys.executable: C:\ProgramData\Anaconda3\python.exe
conda location: C:\ProgramData\Anaconda3\lib\site-packages\conda
conda-build: C:\ProgramData\Anaconda3\Scripts\conda-build.exe
conda-content-trust: C:\ProgramData\Anaconda3\Scripts\conda-content-trust.exe
conda-convert: C:\ProgramData\Anaconda3\Scripts\conda-convert.exe
conda-debug: C:\ProgramData\Anaconda3\Scripts\conda-debug.exe
conda-develop: C:\ProgramData\Anaconda3\Scripts\conda-develop.exe
conda-env: C:\ProgramData\Anaconda3\Scripts\conda-env.exe
conda-index: C:\ProgramData\Anaconda3\Scripts\conda-index.exe
conda-inspect: C:\ProgramData\Anaconda3\Scripts\conda-inspect.exe
conda-metapackage: C:\ProgramData\Anaconda3\Scripts\conda-metapackage.exe
conda-pack: C:\ProgramData\Anaconda3\Scripts\conda-pack.exe
conda-render: C:\ProgramData\Anaconda3\Scripts\conda-render.exe
Note: you may need to restart the kernel to use updated packages.

conda-repo: C:\ProgramData\Anaconda3\Scripts\conda-repo.exe
conda-server: C:\ProgramData\Anaconda3\Scripts\conda-server.exe
conda-skeleton: C:\ProgramData\Anaconda3\Scripts\conda-skeleton.exe
conda-token: C:\ProgramData\Anaconda3\Scripts\conda-token.exe
conda-verify: C:\ProgramData\Anaconda3\Scripts\conda-verify.exe
user site dirs: 

CIO_TEST: <not set>
CONDA_EXE: C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe
CONDA_EXES: "C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe"  
CONDA_PREFIX: C:\ProgramData\Anaconda3
CONDA_ROOT: C:\ProgramData\Anaconda3
CURL_CA_BUNDLE: <not set>
HOMEPATH: \Users\munee
MIC_LD_LIBRARY_PATH: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic
PATH: C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Library\mingw-w64\bin;C:\ProgramData\Anaconda3\Library\usr\bin;C:\ProgramData\Anaconda3\Library\bin;C:\ProgramData\Anaconda3\Scripts;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\munee\AppData\Local\Microsoft\WindowsApps;C:\Users\munee\AppData\Local\GitHubDesktop\bin;C:\ProgramData\Anaconda3\lib\site-packages\llvmlite\binding
PSMODULEPATH: C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
REQUESTS_CA_BUNDLE: <not set>
SSL_CERT_FILE: <not set>

@astrojuanlu
Copy link
Member

Thanks @muneeb227, I gave you the wrong command though. Please do conda list instead, thanks for your patience 🙏🏽

@muneeb227
Copy link
Author

conda list

# packages in environment at C:\ProgramData\Anaconda3:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0            py39haa95532_0  
alabaster                 0.7.12             pyhd3eb1b0_0  
anaconda                  2021.11                  py39_0  
anaconda-client           1.9.0            py39haa95532_0  
anaconda-navigator        2.1.1                    py39_0  
anaconda-project          0.10.1             pyhd3eb1b0_0  
anyio                     2.2.0            py39haa95532_2  
appdirs                   1.4.4              pyhd3eb1b0_0  
argh                      0.26.2           py39haa95532_0  
argon2-cffi               20.1.0           py39h2bbff1b_1  
arrow                     0.13.1           py39haa95532_0  
asn1crypto                1.4.0                      py_0  
astroid                   2.6.6            py39haa95532_0  
astropy                   5.1.1                    pypi_0    pypi
astroquery                0.4.6                    pypi_0    pypi
async_generator           1.10               pyhd3eb1b0_0  
atomicwrites              1.4.0                      py_0  
attrs                     21.2.0             pyhd3eb1b0_0  
autopep8                  1.5.7              pyhd3eb1b0_0  
babel                     2.9.1              pyhd3eb1b0_0  
backcall                  0.2.0              pyhd3eb1b0_0  
backports                 1.0                pyhd3eb1b0_2  
backports.functools_lru_cache 1.6.4              pyhd3eb1b0_0  
backports.shutil_get_terminal_size 1.0.0              pyhd3eb1b0_3  
backports.tempfile        1.0                pyhd3eb1b0_1  
backports.weakref         1.0.post1                  py_1  
bcrypt                    3.2.0            py39h196d8e1_0  
beautifulsoup4            4.10.0             pyh06a4308_0  
binaryornot               0.4.4              pyhd3eb1b0_1  
bitarray                  2.3.0            py39h2bbff1b_1  
bkcharts                  0.2              py39haa95532_0  
black                     19.10b0                    py_0  
blas                      1.0                         mkl  
bleach                    4.0.0              pyhd3eb1b0_0  
blosc                     1.21.0               h19a0ad4_0  
bokeh                     2.4.1            py39haa95532_0  
boto                      2.49.0           py39haa95532_0  
bottleneck                1.3.2            py39h7cc1a96_1  
brotli                    1.0.9                ha925a31_2  
brotlipy                  0.7.0           py39h2bbff1b_1003  
bzip2                     1.0.8                he774522_0  
ca-certificates           2021.10.26           haa95532_2  
cached-property           1.5.2                      py_0  
certifi                   2021.10.8        py39haa95532_0  
cffi                      1.14.6           py39h2bbff1b_0  
cfitsio                   3.470                he774522_6  
chardet                   4.0.0           py39haa95532_1003  
charls                    2.2.0                h6c2663c_0  
charset-normalizer        2.0.4              pyhd3eb1b0_0  
click                     8.0.3              pyhd3eb1b0_0  
cloudpickle               2.0.0              pyhd3eb1b0_0  
clyent                    1.2.2            py39haa95532_1  
colorama                  0.4.4              pyhd3eb1b0_0  
comtypes                  1.1.10          py39haa95532_1002  
conda                     22.9.0           py39hcbf5309_2    conda-forge
conda-build               3.21.6           py39haa95532_0  
conda-content-trust       0.1.1              pyhd3eb1b0_0  
conda-env                 2.6.0                         1  
conda-pack                0.6.0              pyhd3eb1b0_0  
conda-package-handling    1.7.3            py39h8cc25b3_1  
conda-repo-cli            1.0.4              pyhd3eb1b0_0  
conda-token               0.3.0              pyhd3eb1b0_0  
conda-verify              3.4.2                      py_1  
console_shortcut          0.1.1                         4  
contextlib2               0.6.0.post1        pyhd3eb1b0_0  
cookiecutter              1.7.2              pyhd3eb1b0_0  
cryptography              3.4.8            py39h71e12ea_0  
curl                      7.78.0               h86230a5_0  
cycler                    0.10.0           py39haa95532_0  
cython                    0.29.24          py39h604cdb4_0  
cytoolz                   0.11.0           py39h2bbff1b_0  
czml3                     0.7.0              pyhd8ed1ab_0    conda-forge
daal4py                   2021.3.0         py39h757b272_0  
dal                       2021.3.0           haa95532_564  
dask                      2021.10.0          pyhd3eb1b0_0  
dask-core                 2021.10.0          pyhd3eb1b0_0  
dataclasses               0.8                pyh6d0b6a4_7  
debugpy                   1.4.1            py39hd77b12b_0  
decorator                 5.1.0              pyhd3eb1b0_0  
defusedxml                0.7.1              pyhd3eb1b0_0  
diff-match-patch          20200713           pyhd3eb1b0_0  
distributed               2021.10.0        py39haa95532_0  
docutils                  0.17.1           py39haa95532_1  
entrypoints               0.3              py39haa95532_0  
et_xmlfile                1.1.0            py39haa95532_0  
fastcache                 1.1.0            py39h196d8e1_0  
ffmpeg                    4.3.1                ha925a31_0    conda-forge
filelock                  3.3.1              pyhd3eb1b0_1  
flake8                    3.9.2              pyhd3eb1b0_0  
flask                     1.1.2              pyhd3eb1b0_0  
fonttools                 4.25.0             pyhd3eb1b0_0  
freetype                  2.10.4               hd328e21_0  
fsspec                    2021.10.1          pyhd3eb1b0_0  
future                    0.18.2           py39haa95532_1  
get_terminal_size         1.0.0                h38e98db_0  
gevent                    21.8.0           py39h2bbff1b_1  
giflib                    5.2.1                h62dcd97_0  
glob2                     0.7                pyhd3eb1b0_0  
greenlet                  1.1.1            py39hd77b12b_0  
h5py                      3.2.1            py39h3de5c98_0  
hdf5                      1.10.6               h7ebc959_0  
heapdict                  1.0.1              pyhd3eb1b0_0  
html5lib                  1.1                pyhd3eb1b0_0  
icc_rt                    2019.0.0             h0cc432a_1  
icu                       58.2                 ha925a31_3  
idna                      3.2                pyhd3eb1b0_0  
imagecodecs               2021.8.26        py39ha1f97ea_0  
imageio                   2.9.0              pyhd3eb1b0_0  
imagesize                 1.2.0              pyhd3eb1b0_0  
importlib-metadata        4.8.1            py39haa95532_0  
importlib_metadata        4.8.1                hd3eb1b0_0  
inflection                0.5.1            py39haa95532_0  
iniconfig                 1.1.1              pyhd3eb1b0_0  
intel-openmp              2021.4.0          haa95532_3556  
intervaltree              3.1.0              pyhd3eb1b0_0  
ipykernel                 6.4.1            py39haa95532_1  
ipympl                    0.9.2                    pypi_0    pypi
ipython                   7.29.0           py39hd4e2768_0  
ipython_genutils          0.2.0              pyhd3eb1b0_1  
ipywidgets                7.6.5              pyhd3eb1b0_1  
isort                     5.9.3              pyhd3eb1b0_0  
itsdangerous              2.0.1              pyhd3eb1b0_0  
jdcal                     1.4.1              pyhd3eb1b0_0  
jedi                      0.18.0           py39haa95532_1  
jinja2                    2.11.3             pyhd3eb1b0_0  
jinja2-time               0.2.0              pyhd3eb1b0_2  
joblib                    1.1.0              pyhd3eb1b0_0  
jpeg                      9d                   h2bbff1b_0  
jplephem                  2.18               pyh78acc04_0    conda-forge
json5                     0.9.6              pyhd3eb1b0_0  
jsonschema                3.2.0              pyhd3eb1b0_2  
jupyter                   1.0.0            py39haa95532_7  
jupyter_client            6.1.12             pyhd3eb1b0_0  
jupyter_console           6.4.0              pyhd3eb1b0_0  
jupyter_core              4.8.1            py39haa95532_0  
jupyter_server            1.4.1            py39haa95532_0  
jupyterlab                3.2.1              pyhd3eb1b0_1  
jupyterlab_pygments       0.1.2                      py_0  
jupyterlab_server         2.8.2              pyhd3eb1b0_0  
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1  
keyring                   23.1.0           py39haa95532_0  
kiwisolver                1.3.1            py39hd77b12b_0  
krb5                      1.19.2               h5b6d351_0  
lazy-object-proxy         1.6.0            py39h2bbff1b_0  
lcms2                     2.12                 h83e58a3_0  
lerc                      3.0                  hd77b12b_0  
libaec                    1.0.4                h33f27b4_1  
libarchive                3.4.2                h5e25573_0  
libcurl                   7.78.0               h86230a5_0  
libdeflate                1.8                  h2bbff1b_5  
libiconv                  1.15                 h1df5818_7  
liblief                   0.10.1               hd77b12b_1  
libpng                    1.6.37               h2a8f88b_0  
libspatialindex           1.9.3                h6c2663c_0  
libssh2                   1.9.0                h7a1dbc1_1  
libtiff                   4.2.0                hd0e1b90_0  
libwebp                   1.2.0                h2bbff1b_0  
libxml2                   2.9.12               h0ad7f3c_0  
libxslt                   1.1.34               he774522_0  
libzopfli                 1.0.3                ha925a31_0  
llvmlite                  0.37.0           py39h23ce68f_1  
locket                    0.2.1            py39haa95532_1  
lxml                      4.6.3            py39h9b66d53_0  
lz4-c                     1.9.3                h2bbff1b_1  
lzo                       2.10                 he774522_2  
m2w64-gcc-libgfortran     5.3.0                         6  
m2w64-gcc-libs            5.3.0                         7  
m2w64-gcc-libs-core       5.3.0                         7  
m2w64-gmp                 6.1.0                         2  
m2w64-libwinpthread-git   5.0.0.4634.697f757               2  
markupsafe                1.1.1            py39h2bbff1b_0  
matplotlib                3.4.3            py39haa95532_0  
matplotlib-base           3.4.3            py39h49ac443_0  
matplotlib-inline         0.1.2              pyhd3eb1b0_2  
mccabe                    0.6.1            py39haa95532_1  
menuinst                  1.4.18           py39h59b6b97_0  
mistune                   0.8.4           py39h2bbff1b_1000  
mkl                       2021.4.0           haa95532_640  
mkl-service               2.4.0            py39h2bbff1b_0  
mkl_fft                   1.3.1            py39h277e83a_0  
mkl_random                1.2.2            py39hf11a4ad_0  
mock                      4.0.3              pyhd3eb1b0_0  
more-itertools            8.10.0             pyhd3eb1b0_0  
mpmath                    1.2.1            py39haa95532_0  
msgpack-python            1.0.2            py39h59b6b97_1  
msys2-conda-epoch         20160418                      1  
multipledispatch          0.6.0            py39haa95532_0  
munkres                   1.1.4                      py_0  
mypy_extensions           0.4.3            py39haa95532_0  
navigator-updater         0.2.1            py39haa95532_0  
nbclassic                 0.2.6              pyhd3eb1b0_0  
nbclient                  0.5.3              pyhd3eb1b0_0  
nbconvert                 6.1.0            py39haa95532_0  
nbformat                  5.1.3              pyhd3eb1b0_0  
nest-asyncio              1.5.1              pyhd3eb1b0_0  
networkx                  2.6.3              pyhd3eb1b0_0  
nltk                      3.6.5              pyhd3eb1b0_0  
nose                      1.3.7           pyhd3eb1b0_1006  
notebook                  6.4.5            py39haa95532_0  
numba                     0.54.1           py39hf11a4ad_0  
numexpr                   2.7.3            py39hb80d3ca_1  
numpy                     1.20.3           py39ha4e8547_0  
numpy-base                1.20.3           py39hc2deb75_0  
numpydoc                  1.1.0              pyhd3eb1b0_1  
olefile                   0.46               pyhd3eb1b0_0  
openjpeg                  2.4.0                h4fc8c34_0  
openpyxl                  3.0.9              pyhd3eb1b0_0  
openssl                   1.1.1l               h2bbff1b_0  
packaging                 21.0               pyhd3eb1b0_0  
pandas                    1.3.4            py39h6214cd6_0  
pandocfilters             1.4.3            py39haa95532_1  
paramiko                  2.7.2                      py_0  
parso                     0.8.2              pyhd3eb1b0_0  
partd                     1.2.0              pyhd3eb1b0_0  
path                      16.0.0           py39haa95532_0  
path.py                   12.5.0               hd3eb1b0_0  
pathlib2                  2.3.6            py39haa95532_2  
pathspec                  0.7.0                      py_0  
patsy                     0.5.2            py39haa95532_0  
pep8                      1.7.1            py39haa95532_0  
pexpect                   4.8.0              pyhd3eb1b0_3  
pickleshare               0.7.5           pyhd3eb1b0_1003  
pillow                    8.4.0            py39hd45dc43_0  
pip                       21.2.4           py39haa95532_0  
pkginfo                   1.7.1            py39haa95532_0  
plotly                    5.11.0             pyhd8ed1ab_0    conda-forge
pluggy                    0.13.1           py39haa95532_0  
ply                       3.11             py39haa95532_0  
poliastro                 0.17.0             pyhd8ed1ab_0    conda-forge
powershell_shortcut       0.0.1                         3  
poyo                      0.5.0              pyhd3eb1b0_0  
prometheus_client         0.11.0             pyhd3eb1b0_0  
prompt-toolkit            3.0.20             pyhd3eb1b0_0  
prompt_toolkit            3.0.20               hd3eb1b0_0  
psutil                    5.8.0            py39h2bbff1b_1  
ptyprocess                0.7.0              pyhd3eb1b0_2  
py                        1.10.0             pyhd3eb1b0_0  
py-lief                   0.10.1           py39hd77b12b_1  
pycodestyle               2.7.0              pyhd3eb1b0_0  
pycosat                   0.6.3            py39h2bbff1b_0  
pycparser                 2.20                       py_2  
pycurl                    7.44.1           py39hcd4344a_1  
pydocstyle                6.1.1              pyhd3eb1b0_0  
pyerfa                    2.0.0            py39h2bbff1b_0  
pyflakes                  2.3.1              pyhd3eb1b0_0  
pygments                  2.10.0             pyhd3eb1b0_0  
pyjwt                     2.1.0            py39haa95532_0  
pylint                    2.9.6            py39haa95532_1  
pyls-spyder               0.4.0              pyhd3eb1b0_0  
pynacl                    1.4.0            py39hbd8134f_1  
pyodbc                    4.0.31           py39hd77b12b_0  
pyopengl                  3.1.6                    pypi_0    pypi
pyopenssl                 21.0.0             pyhd3eb1b0_1  
pyparsing                 3.0.4              pyhd3eb1b0_0  
pyplanets                 0.4.2                    pypi_0    pypi
pyqt                      5.9.2            py39hd77b12b_6  
pyreadline                2.1              py39haa95532_1  
pyrsistent                0.18.0           py39h196d8e1_0  
pysocks                   1.7.1            py39haa95532_0  
pytables                  3.6.1            py39h56d22b6_1  
pytest                    6.2.4            py39haa95532_2  
python                    3.9.7                h6244533_1  
python-dateutil           2.8.2              pyhd3eb1b0_0  
python-libarchive-c       2.9                pyhd3eb1b0_1  
python-lsp-black          1.0.0              pyhd3eb1b0_0  
python-lsp-jsonrpc        1.0.0              pyhd3eb1b0_0  
python-lsp-server         1.2.4              pyhd3eb1b0_0  
python-slugify            5.0.2              pyhd3eb1b0_0  
python_abi                3.9                      2_cp39    conda-forge
pytz                      2021.3             pyhd3eb1b0_0  
pyvo                      1.3                      pypi_0    pypi
pywavelets                1.1.1            py39h080aedc_4  
pywin32                   228              py39he774522_0  
pywin32-ctypes            0.2.0           py39haa95532_1000  
pywinpty                  0.5.7            py39haa95532_0  
pyyaml                    6.0              py39h2bbff1b_1  
pyzmq                     22.2.1           py39hd77b12b_1  
qdarkstyle                3.0.2              pyhd3eb1b0_0  
qstylizer                 0.1.10             pyhd3eb1b0_0  
qt                        5.9.7            vc14h73c81de_0  
qtawesome                 1.0.2              pyhd3eb1b0_0  
qtconsole                 5.1.1              pyhd3eb1b0_0  
qtpy                      1.10.0             pyhd3eb1b0_0  
regex                     2021.8.3         py39h2bbff1b_0  
requests                  2.26.0             pyhd3eb1b0_0  
rope                      0.19.0             pyhd3eb1b0_0  
rtree                     0.9.7            py39h2eaa2aa_1  
ruamel_yaml               0.15.100         py39h2bbff1b_0  
scikit-image              0.18.3           py39hf11a4ad_0  
scikit-learn              0.24.2           py39hf11a4ad_1  
scikit-learn-intelex      2021.3.0         py39haa95532_0  
scipy                     1.7.1            py39hbe87c03_2  
seaborn                   0.11.2             pyhd3eb1b0_0  
send2trash                1.8.0              pyhd3eb1b0_1  
setuptools                63.2.0                   pypi_0    pypi
simplegeneric             0.8.1            py39haa95532_2  
singledispatch            3.7.0           pyhd3eb1b0_1001  
sip                       4.19.13          py39hd77b12b_0  
six                       1.16.0             pyhd3eb1b0_0  
snappy                    1.1.8                h33f27b4_0  
sniffio                   1.2.0            py39haa95532_1  
snowballstemmer           2.1.0              pyhd3eb1b0_0  
sortedcollections         2.1.0              pyhd3eb1b0_0  
sortedcontainers          2.4.0              pyhd3eb1b0_0  
soupsieve                 2.2.1              pyhd3eb1b0_0  
sphinx                    4.2.0              pyhd3eb1b0_1  
sphinxcontrib             1.0              py39haa95532_1  
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0  
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0  
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0  
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0  
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0  
sphinxcontrib-serializinghtml 1.1.5              pyhd3eb1b0_0  
sphinxcontrib-websupport  1.2.4                      py_0  
spicepy                   1.0.4                    pypi_0    pypi
spiceypy                  5.1.2                    pypi_0    pypi
spyder                    5.1.5            py39haa95532_1  
spyder-kernels            2.1.3            py39haa95532_0  
sqlalchemy                1.4.22           py39h2bbff1b_0  
sqlite                    3.36.0               h2bbff1b_0  
statsmodels               0.12.2           py39h2bbff1b_0  
sympy                     1.9              py39haa95532_0  
tbb                       2021.4.0             h59b6b97_0  
tbb4py                    2021.4.0         py39h59b6b97_0  
tblib                     1.7.0              pyhd3eb1b0_0  
tenacity                  8.1.0              pyhd8ed1ab_0    conda-forge
terminado                 0.9.4            py39haa95532_0  
testpath                  0.5.0              pyhd3eb1b0_0  
text-unidecode            1.3                pyhd3eb1b0_0  
textdistance              4.2.1              pyhd3eb1b0_0  
threadpoolctl             2.2.0              pyh0d69192_0  
three-merge               0.1.1              pyhd3eb1b0_0  
tifffile                  2021.7.2           pyhd3eb1b0_2  
tinycss                   0.4             pyhd3eb1b0_1002  
tk                        8.6.11               h2bbff1b_0  
toml                      0.10.2             pyhd3eb1b0_0  
toolz                     0.11.1             pyhd3eb1b0_0  
tornado                   6.1              py39h2bbff1b_0  
tqdm                      4.62.3             pyhd3eb1b0_1  
traitlets                 5.1.0              pyhd3eb1b0_0  
typed-ast                 1.4.3            py39h2bbff1b_1  
typing_extensions         3.10.0.2           pyh06a4308_0  
tzdata                    2021e                hda174b7_0  
ujson                     4.0.2            py39hd77b12b_0  
unicodecsv                0.14.1           py39haa95532_0  
unidecode                 1.2.0              pyhd3eb1b0_0  
urllib3                   1.26.7             pyhd3eb1b0_0  
vc                        14.2                 h21ff451_1  
visvis                    1.13.0                   pypi_0    pypi
voila                     0.2.16             pyhd8ed1ab_0    conda-forge
vs2015_runtime            14.27.29016          h5e58377_2  
w3lib                     1.22.0             pyh9f0ad1d_0    conda-forge
watchdog                  2.1.3            py39haa95532_0  
wcwidth                   0.2.5              pyhd3eb1b0_0  
webencodings              0.5.1            py39haa95532_1  
werkzeug                  2.0.2              pyhd3eb1b0_0  
wheel                     0.37.0             pyhd3eb1b0_1  
whichcraft                0.6.1              pyhd3eb1b0_0  
widgetsnbextension        3.5.1            py39haa95532_0  
win_inet_pton             1.1.0            py39haa95532_0  
win_unicode_console       0.5              py39haa95532_0  
wincertstore              0.2              py39haa95532_2  
winpty                    0.4.3                         4  
wrapt                     1.12.1           py39h196d8e1_1  
xlrd                      2.0.1              pyhd3eb1b0_0  
xlsxwriter                3.0.1              pyhd3eb1b0_0  
xlwings                   0.24.9           py39haa95532_0  
xlwt                      1.3.0            py39haa95532_0  
xmltodict                 0.12.0             pyhd3eb1b0_0  
xz                        5.2.5                h62dcd97_0  
yaml                      0.2.5                he774522_0  
yapf                      0.31.0             pyhd3eb1b0_0  
zfp                       0.5.5                hd77b12b_6  
zict                      2.0.0              pyhd3eb1b0_0  
zipp                      3.6.0              pyhd3eb1b0_0  
zlib                      1.2.11               h62dcd97_4  
zope                      1.0              py39haa95532_1  
zope.event                4.5.0            py39haa95532_0  
zope.interface            5.4.0            py39h2bbff1b_0  
zstd                      1.4.9                h19a0ad4_0  

Note: you may need to restart the kernel to use updated packages.

@NicoMandala
Copy link

NicoMandala commented Dec 2, 2022

I'm facing the same problem. Trying with an earlier version of numpy is also not resolving it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants