title: AttributeError: module 'numpy.random' has no attribute 'BitGenerator' in python 3.8.10
body: <p>I'm trying to import the xarray module into python 3.8.10 but I get this error:</p>
  <p><code> AttributeError: module 'numpy.random' has no attribute 'BitGenerator'</code></p>
  <p>In order to allow you to reproduce the error: First of all, I created a new environment with conda and by importing at the same time the modules I need (to avoid the problems of incompatible dependencies) :</p>
  <p><code> conda create -n Myenv Python=3.8 matplotlib numpy time xarray netCDF4 termcolor</code></p>
  <p>Then, I try to import in ipython3 all modules I need to run my code:</p>
  <pre><code>import matplotlib as mpl
  mpl.use('agg')
  import numpy as np
  import os
  import time
  import glob
  import sys
  from datetime import datetime,date,timedelta
  import matplotlib.pyplot as plt
  import matplotlib.ticker as mtick
  import matplotlib.colors as colors
  # from operator import itemgetter
  from netCDF4 import Dataset
  from mpl_toolkits.basemap import Basemap, shiftgrid
  from termcolor import colored
  import xarray as xr
  </code></pre>
  <p>and, at this moment, I get the error...</p>
  <p>I searched the documentation to see if the BitGenerator Attribute exists in my version of numpy (1.22.3), and it does. So I don't understand why this error occurs.</p>
  <p>Someone can help me to understand please ?</p>
  <p>Thank u !</p>
  <p>If you want more informations about my environnement, I can provide.</p>