ValueError: numpy.ndarray size changed, may indicate binary incompatibility.
State: closed | Pull request: no
Labels: name: bug

**Describe the bug**

Below error is thrown while importing `nemo.collections.asr` package 

```
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/nemo/collections/asr/__init__.py", line 15, in <module>
    from nemo.collections.asr import data, losses, models, modules
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/nemo/collections/asr/losses/__init__.py", line 15, in <module>
    from nemo.collections.asr.losses.angularloss import AngularSoftmaxLoss
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/nemo/collections/asr/losses/angularloss.py", line 18, in <module>
    from nemo.core.classes import Loss, Typing, typecheck
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/nemo/core/__init__.py", line 16, in <module>
    from nemo.core.classes import *
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/nemo/core/classes/__init__.py", line 16, in <module>
    from nemo.core.classes.common import (
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/nemo/core/classes/common.py", line 32, in <module>
    from nemo.utils import logging
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/nemo/utils/__init__.py", line 22, in <module>
    from nemo.utils.lightning_logger_patch import add_memory_handlers_to_pl_logger
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/nemo/utils/lightning_logger_patch.py", line 18, in <module>
    import pytorch_lightning as pl
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/pytorch_lightning/__init__.py", line 20, in <module>
    from pytorch_lightning.callbacks import Callback  # noqa: E402
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/pytorch_lightning/callbacks/__init__.py", line 14, in <module>
    from pytorch_lightning.callbacks.base import Callback
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/pytorch_lightning/callbacks/base.py", line 26, in <module>
    from pytorch_lightning.utilities.types import STEP_OUTPUT
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/pytorch_lightning/utilities/types.py", line 25, in <module>
    from torchmetrics import Metric
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/torchmetrics/__init__.py", line 14, in <module>
    from torchmetrics import functional  # noqa: E402
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/torchmetrics/functional/__init__.py", line 14, in <module>
    from torchmetrics.functional.audio.pit import permutation_invariant_training, pit, pit_permutate
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/torchmetrics/functional/audio/__init__.py", line 26, in <module>
    from torchmetrics.functional.audio.pesq import perceptual_evaluation_speech_quality  # noqa: F401
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/torchmetrics/functional/audio/pesq.py", line 20, in <module>
    import pesq as pesq_backend
  File "/home/local/miniconda3/envs/nemo1/lib/python3.8/site-packages/pesq/__init__.py", line 6, in <module>
    from .cypesq import cypesq, cypesq_retvals, cypesq_error_message as pesq_error_message
  File "pesq/cypesq.pyx", line 1, in init cypesq
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

```

**Steps/Code to reproduce bug**

```
import nemo
import nemo.collections.asr as nemo_asr
```

**Environment overview (please complete the following information)**
 - conda environment: conda create -n nemo python=3.8 -y 
 - Method of NeMo install: pip install nemo_toolkit['all']

**Environment details**

- OS version - Ubuntu 20.04
- PyTorch version -  1.10.1
- PyTorch Lightning  version  - 1.5.8
- Python version - 3.8.12 
- Numpy version - 1.21.5
- Numba version - 0.55.0