Coder Social home page Coder Social logo

saattrupdan / doubt Goto Github PK

View Code? Open in Web Editor NEW
50.0 3.0 3.0 2.34 MB

Bringing back uncertainty to machine learning.

License: MIT License

Python 97.87% Makefile 2.13%
uncertainty machine-learning prediction-intervals quantile-regression quantile-regression-forests confidence-intervals bootstrap

doubt's Introduction

Doubt

Bringing back uncertainty to machine learning.


PyPI Status Documentation License LastCommit Code Coverage Conference

A Python package to include prediction intervals in the predictions of machine learning models, to quantify their uncertainty.

Installation

You can install doubt with pip:

pip install doubt

If you want to be able to use the preprocessed regression datasets as well, you install it with the datasets extra:

pip install doubt[datasets]

Features

  • Bootstrap wrapper for all Scikit-Learn models
    • Can also be used to calculate usual bootstrapped statistics of a dataset
  • Quantile Regression for all generalised linear models
  • Quantile Regression Forests
  • A uniform dataset API, with 24 regression datasets and counting

Quick Start

If you already have a model in Scikit-Learn, then you can simply wrap it in a Boot to enable predicting with prediction intervals:

>>> from sklearn.linear_model import LinearRegression
>>> from doubt import Boot
>>> from doubt.datasets import PowerPlant
>>>
>>> X, y = PowerPlant().split()
>>> clf = Boot(LinearRegression())
>>> clf = clf.fit(X, y)
>>> clf.predict([10, 30, 1000, 50], uncertainty=0.05)
(481.9203102126274, array([473.43314309, 490.0313962 ]))

Alternatively, you can use one of the standalone models with uncertainty outputs. For instance, a QuantileRegressionForest:

>>> from doubt import QuantileRegressionForest as QRF
>>> from doubt.datasets import Concrete
>>> import numpy as np
>>>
>>> X, y = Concrete().split()
>>> clf = QRF(max_leaf_nodes=8)
>>> clf.fit(X, y)
>>> clf.predict(np.ones(8), uncertainty=0.25)
(16.933590347847982, array([ 8.93456428, 26.0664534 ]))

Citation

@inproceedings{mougannielsen2023monitoring,
  title={Monitoring Model Deterioration with Explainable Uncertainty Estimation via Non-parametric Bootstrap},
  author={Mougan, Carlos and Nielsen, Dan Saattrup},
  booktitle={AAAI Conference on Artificial Intelligence},
  year={2023}
}

doubt's People

Contributors

andrepugni avatar cmougan avatar dependabot[bot] avatar saattrupdan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

doubt's Issues

Implement HME decision trees

Hierarchical Mixtures of Experts, introduced in [1] and covered in [2].

  • [1] Jordan, M. I., & Jacobs, R. A. (1994). Hierarchical Mixtures of Experts and the EM Algorithm. Neural Computation, 6(2), 181-214.
  • [2] Hastie, T., Tibshirani, R., & Friedman, J. (2009). The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer Science & Business Media.

Implement PRIM decision trees

The Patient Rule Induction Method, introduced in [1] and covered in [2].

  • [1] Friedman, J. H., & Fisher, N. I. (1999). Bump Hunting in High-Dimensional Data. Statistics and Computing, 9(2), 123-143.
  • [2] Hastie, T., Tibshirani, R., & Friedman, J. (2009). The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer Science & Business Media.

Optimise decision tree training

The current fit method takes ~100x longer time than the implementation in scikit-learn. Either optimise the current setup, which would probably involve encoding trees in Cython rather than relying on theanytree library, or use scikit-learn's implementation.

Implement general QuantileRegressor

This should wrap around any model and train it using quantile loss.

The linear case should use this wrapper if the feature matrix is singular.

[DOC]: NameError: name 'linreg' is not defined

>>> from sklearn.linear_model import LinearRegression
>>> from doubt import Boot
>>> from doubt.datasets import PowerPlant
>>>
>>> X, y = PowerPlant().split()
>>> clf = Boot(LinearRegression())
>>> clf = linreg.fit(X, y)
>>> clf.predict([10, 30, 1000, 50], uncertainty=0.05)
(481.9203102126274, array([473.43314309, 490.0313962 ]))

Outputs the following error:

Traceback (most recent call last):
  File "stupid.py", line 7, in <module>
    clf = linreg.fit(X, y)
NameError: name 'linreg' is not defined

Implement MARS decision trees

Multivariate Adaptive Regression Splines, introduced in [1] and covered in [2].

  • [1] Friedman, J. H., & Fisher, N. I. (1999). Bump Hunting in High-Dimensional Data. Statistics and Computing, 9(2), 123-143.
  • [2] Hastie, T., Tibshirani, R., & Friedman, J. (2009). The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer Science & Business Media.

Attribute feature_importances_

Hi. First of all, I hope this is the correct way to point this out. As a user, I am not familiar with developer protocols. I am using the QuantileRegressionForest class and have noticed that the 'feature_importances_' attribute is not available for my trained model. Is there any way to access this attribute? Do you plan to incorporate it in a future version? Thanks in advance. (By the way, thanks for sharing the module).

train and predict method are slow on quantileregressionforest

I'm using the predict method on around 35 000 samples with 100 estimators : it's been running for 5 minutes already and going, on 4 cpus..
The train method is extremly long too : on 300 000 samples with 100 estimators, it took around 2 hours at least.
Far from scikit-learn

Thanks for the lib though ! But right now, hard to use for me right now due to this slowness.

Risk score uncertainty (="prediction intervals" in classification)

Hi Dan, first of all: thanks for the excellent library! This is amazing functionality and it is a pity that it is not available in the standard libraries. Do you have any idea whether some work is going on to change that? Have you investigated getting your implementations into, say, sklearn?

I am currently trying to find a way to quantify risk score uncertainty. As a very simple example, consider binary classification: when I perform, e.g., logistic regression, the model predicts the probability of the positive outcome. I am interested in quantifying the uncertainty of that probability estimate. I would call this a prediction interval with respect to the probability regression problem that, e.g., logistic regression is solving. (I know that prediction sets for classification are also a thing, but that is not what I'm after.)

In theory, I feel like exactly the same methods you use for the regression setting should be applicable: this is just a regression problem, after all! However, I have not been able to get things to work satisfactorily. I tried two different approaches:

  1. Logistic Regression with doubt.Boot(.). I basically just patched the LogisticRegression object by overloading its predict method (which normally returns the predicted class) to point to its predict_proba method instead, and put that into doubt.Boot.
  2. Logistic Regression with doubt.QuantileRegressor. For this to work, I made some very minor changes to the QuantileRegressor.fit method (mostly making it use the correct inverse link function for logistic regression).

In both cases, the fitting worked fine but the prediction intervals were way too large. In the first case, they spanned more than the whole [0, 1] interval (which obviously doesn't make any sense since logistic regression cannot possibly return values outside that range); in the second case, it more or less covered exactly the whole [0, 1] interval. I also played around with trees instead of logistic regression, with similar results.

You can find the experiments I did here and play around with them yourself if you like.

Am I doing anything wrong? Or does what I am trying to do fundamentally not make sense for some reason? Do you have any ideas how I could get this to work?

Also see my related (more theoretical) question on stats.stackexchange if interested.

IVAPs and CVAPs

The Inductive Venn-Abers predictors (IVAPs) and Cross Venn-Abers predictors (CVAPs) was introduced in Vovk, Petej & Fedorova (2015), and can provide lower and upper bounds for probabilities in classification models. The IVAPs have theoretical guarantees, and the authors show empirically that the CVAPs might also enjoy this property.

Unit tests

So far all tests are doctests, which double as explanatory examples. However, we also need unit tests that test the edge cases of the functions.

Conformal Quantile Regression

Conformal Quantile Regression was introduced in Romano, Patterson & Candès and is a variant of quantile regression which calibrates the prediction intervals, yielding narrower intervals, while preserving theoretical coverage guarantees.

This could potentially be built into QuantileLinearRegression via a conformal argument.

Custom quantiles

Make it possible to input own set of quantiles in place of the uncertainty argument.

Set up all the data sets

They should all follow the following format:

class DatasetName(BaseDataset):
    '''
    Description of the data set.

    Features:
        feature_1 (type): Description
        feature_2 (type): Description
        (...)

    Targets:
        target_1 (type): Description
        target_2 (type): Description
        (...)

    Notes:
        Optional remarks.

    Source:
        Link to the documentation for the data set.

    Examples:
        >>> dataset = DatasetName()
        >>> X_train, y_train, X_test, y_test = dataset.split()
    '''
    url = 'https://url-to-the-data-set'
    feats = [0, 1] # Feature indexes
    trgts = [2, 3] # Target indexes

    def _prep_data(self, data: bytes) -> pd.DataFrame:
        ''' Prepare the data set.

        Args:
            data (bytes): The raw data

        Returns:
            Pandas dataframe: The prepared data
        '''
        df = insert_data_manipulation_here(data)
        return df

Tree estimates in quantile regression forest

Dear Dan Saattrup Nielsen,

First of all, thank you very much for your python package with the quantile regression forests (QRF)! We are very interested in using this package.

While running the QRF, however, I tried to extract the estimates of each tree. But, the estimate was exactly the same for all trees. Hence, I was wondering whether this is done on purpose and/or a result of the design of your QRF? Is it linked to the lines 137:148 in doubt.models.tree.forest.py, which appear to be different in the skgarden package?

Thank you very much!
gugerlir

[BUG] ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

After creating a new environment:

conda create --name new
conda activate new
conda install pip

I install doubt in the almost empty environment and I get the following error:

(new) Carloss-MacBook-Pro:MonitoringUncertainty cmougan$ pip install doubt
Collecting doubt
  Using cached doubt-3.0.0-py3-none-any.whl (67 kB)
Collecting openpyxl>=3.0
  Using cached openpyxl-3.0.7-py2.py3-none-any.whl (243 kB)
Collecting numpy>=1.20
  Using cached numpy-1.20.3-cp39-cp39-macosx_10_9_x86_64.whl (16.1 MB)
Collecting requests>=2.25
  Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting scikit-learn>=0.24
  Using cached scikit_learn-0.24.2-cp39-cp39-macosx_10_13_x86_64.whl (7.3 MB)
Collecting PyYAML>=5.4
  Using cached PyYAML-5.4.1-cp39-cp39-macosx_10_9_x86_64.whl (259 kB)
Collecting scipy>=1.6
  Using cached scipy-1.6.3-cp39-cp39-macosx_10_9_x86_64.whl (30.9 MB)
Collecting tables>=3.6
  Using cached tables-3.6.1.tar.gz (4.6 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_a8d9d107d35f458091ff9a4e05bce804/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_a8d9d107d35f458091ff9a4e05bce804/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-mke05hsw
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_a8d9d107d35f458091ff9a4e05bce804/
    Complete output (13 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5closeo4g6lozn.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    * Found conda env: ``/Users/cmougan/opt/anaconda3/envs/new``
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/2b/32/847ee3f521aae6a0be380d923a736162d698586f444df1ac24b98c65025c/tables-3.6.1.tar.gz#sha256=49a972b8a7c27a8a173aeb05f67acb45fe608b64cd8e9fa667c0962a60b71b49 (from https://pypi.org/simple/tables/) (requires-python:>=3.5). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Collecting doubt
  Using cached doubt-2.3.0-py3-none-any.whl (67 kB)
  Using cached doubt-2.2.1-py3-none-any.whl (61 kB)
Collecting statsmodels>=0.12
  Using cached statsmodels-0.12.2-cp39-cp39-macosx_10_15_x86_64.whl (9.6 MB)
Collecting doubt
  Using cached doubt-2.2.0-py3-none-any.whl (61 kB)
  Using cached doubt-2.1.0-py3-none-any.whl (61 kB)
  Using cached doubt-2.0.2-py3-none-any.whl (61 kB)
  Using cached doubt-2.0.1-py3-none-any.whl (61 kB)
  Using cached doubt-2.0.0-py3-none-any.whl (61 kB)
  Using cached doubt-1.2.0-py3-none-any.whl (61 kB)
  Using cached doubt-1.1.0-py3-none-any.whl (61 kB)
  Using cached doubt-1.0.0-py3-none-any.whl (60 kB)
Collecting tables
  Using cached tables-3.5.2.tar.gz (7.8 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_0b38a4c575c44654bf34255a0acb2745/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_0b38a4c575c44654bf34255a0acb2745/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-nvk0hh3u
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_0b38a4c575c44654bf34255a0acb2745/
    Complete output (13 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5close3qwcdvkv.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    * Found conda env: ``/Users/cmougan/opt/anaconda3/envs/new``
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/73/51/6dabb2b94826e5db3aa2542b80f1382780b96a0cd13e0cfb637b36ede5c5/tables-3.5.2.tar.gz#sha256=b220e32262bab320aa41d33125a7851ff898be97c0de30b456247508e2cc33c2 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.5.1.tar.gz (8.3 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_7d7bb5ab57bb4c7681b4f80c04dfabbc/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_7d7bb5ab57bb4c7681b4f80c04dfabbc/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-dfesdbi7
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_7d7bb5ab57bb4c7681b4f80c04dfabbc/
    Complete output (13 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5close2mpmngle.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    * Found conda env: ``/Users/cmougan/opt/anaconda3/envs/new``
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c6/e6/38cdcdc501ff889ea1e60bd5ef61d0573f73606f4dd0169786fd991c6b70/tables-3.5.1.tar.gz#sha256=88e2f3be1f143febc8bf8a7fe49ad51fc12518d6a1ac4eb641778d93e5dc2039 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.4.4.tar.gz (4.6 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_4b81e8c3a9bc47c2b7d3e1ab6cf37063/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_4b81e8c3a9bc47c2b7d3e1ab6cf37063/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-ysp5ut1u
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_4b81e8c3a9bc47c2b7d3e1ab6cf37063/
    Complete output (13 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5close1mhfa3fl.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    * Found conda env: ``/Users/cmougan/opt/anaconda3/envs/new``
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/4d/53/8f34ce887c2a2ad80518980419a5f6f41defc85a287a355987e559ce9385/tables-3.4.4.tar.gz#sha256=bdc5c073712af2a43babd139c4855fc99496bb2c3f3f5d1b4770a985e6f9ce29 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.4.3.tar.gz (4.6 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_4b9263d8e7634ec0a318e6aa32b17bba/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_4b9263d8e7634ec0a318e6aa32b17bba/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-vmrvo5_0
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_4b9263d8e7634ec0a318e6aa32b17bba/
    Complete output (13 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5close6u3qfhdw.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    * Found conda env: ``/Users/cmougan/opt/anaconda3/envs/new``
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/98/bb/0192955689d2e5972e2714300433eff57e5bef4147248cb15c7b6f04ae9e/tables-3.4.3.tar.gz#sha256=b6aafe47154e2140c0a91bb38ebdb6ba67a24dd86263f1c294af8c11cb7deed4 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.4.2.tar.gz (7.6 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_1dabcc4c140b40d797abdb0f48723910/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_1dabcc4c140b40d797abdb0f48723910/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-t5jvgn5h
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_1dabcc4c140b40d797abdb0f48723910/
    Complete output (13 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5closeuh8fv0yj.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    * Found conda env: ``/Users/cmougan/opt/anaconda3/envs/new``
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/a2/e5/697f7ec96c4808983711635ef2e4c6b217493343938410125bcece1642cf/tables-3.4.2.tar.gz#sha256=fdbbea4edb6bad0ac0e53fc7bc6970e78e12eef4944aa4146bcdcb573201676c (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.4.1.tar.gz (7.6 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_fdda373b32f9488b9bf92f6ddc7f8855/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_fdda373b32f9488b9bf92f6ddc7f8855/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-uo_7nvn3
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_fdda373b32f9488b9bf92f6ddc7f8855/
    Complete output (12 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5close4rgdq536.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/d9/e6/c026063429571f0538bab59166a45bb1b0453217be3f1510aada02741b32/tables-3.4.1.tar.gz#sha256=1587337593133b169d73bc68729b2cb736a3494f93a54188b8cc26f52cd51c67 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.4.0.tar.gz (7.6 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_f4c37f28c37c423ba3d94521f170f702/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_f4c37f28c37c423ba3d94521f170f702/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-21rnx4ql
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_f4c37f28c37c423ba3d94521f170f702/
    Complete output (12 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5closeudq3nho3.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/59/fb/ac97f34f6cd1863a4a7709fc0dd907efcfe5d10adeba152f20d5e5897d08/tables-3.4.0.tar.gz#sha256=bdd1e3a55b9bfe1c518c874fc730ac34ca42ff7d505e6947229f8a9e5572cac4 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.3.0.tar.gz (7.0 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_6b2fab60c7d849398aad633c856428f8/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_6b2fab60c7d849398aad633c856428f8/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-5vvxojg8
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_6b2fab60c7d849398aad633c856428f8/
    Complete output (12 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5closewlz32wgk.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/97/eb/ea2102f5a210a62f9f7387cf9912cb841f4a9089dbb232e642daa2626769/tables-3.3.0.tar.gz#sha256=8383ccf02e041a5d55494a09fc5514140b4653055a2732c981b5fd0f7408822c (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.2.3.1.tar.gz (7.1 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_e07a721557f04f1b88bc76af11231881/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_e07a721557f04f1b88bc76af11231881/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-5vxhne1u
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_e07a721557f04f1b88bc76af11231881/
    Complete output (12 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5closewhd42if2.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/0c/eb/e2def4cefade4b2427b8737b7c67cd00db8746dbb02dbfcf66a010f13954/tables-3.2.3.1.tar.gz#sha256=20fb453dcfbb28450f4f738ed8ce85943b1cca4bf5e3cd739098cae6dac9dbc8 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.2.3.tar.gz (7.1 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_1df1bc279d2d4de08f45120b945458cf/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_1df1bc279d2d4de08f45120b945458cf/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-5a6w7bjl
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_1df1bc279d2d4de08f45120b945458cf/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_1df1bc279d2d4de08f45120b945458cf/setup.py", line 34, in <module>
        import cpuinfo
    ModuleNotFoundError: No module named 'cpuinfo'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/bd/a5/b6466e504397cbb64bc12075c884b86e2e65c73e007c14048bafb87c6ae2/tables-3.2.3.tar.gz#sha256=c9d4f86f465b18a0fe57d03df17534e26760d9af5d1440bcb86a0189c2cb0639 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.2.2.tar.gz (7.0 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_563097cc252d44718773de7c35371028/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_563097cc252d44718773de7c35371028/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-tqcivyb6
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_563097cc252d44718773de7c35371028/
    Complete output (12 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5closeare6zdbn.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/af/38/85a4581084ad2aaed4318b7f3a46c5bed3ecb32bae0929add5d7c752d8fc/tables-3.2.2.tar.gz#sha256=3564b351a71ec1737b503b001eb7ceae1f65d5d6e3ffe1ea75aafba10f37fa84 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.2.1.1.tar.gz (7.0 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_f7ae8cf75bec4d21b4e2df0c9aaf7dc6/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_f7ae8cf75bec4d21b4e2df0c9aaf7dc6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-_wc6l8y_
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_f7ae8cf75bec4d21b4e2df0c9aaf7dc6/
    Complete output (12 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5closebhdgsenp.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/5e/25/2591b0a60b16c9e65f1a0480dfc756e38c92aa714f9936dd07e965276409/tables-3.2.1.1.tar.gz#sha256=21e9749a60c6acc8a9755a52d95b414bc4f4b2c72a9175af360225883a775358 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.2.0.tar.gz (7.0 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_ce7d498c3e3147dba101571789becfd9/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_ce7d498c3e3147dba101571789becfd9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-01sz4qjy
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_ce7d498c3e3147dba101571789becfd9/
    Complete output (12 lines):
    /var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/H5closel1tuui1t.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
        H5close();
        ^
    1 warning generated.
    ld: library not found for -lhdf5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/92/3a/a0fd93a68b98ad2ab788f4f725250515ad2f12c23858f3b8d2b17af454a4/tables-3.2.0.tar.gz#sha256=60980e44676bfe463cdd2582ecdacc0b0763b259477015e866f8af72b4cdba44 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.1.1.tar.gz (6.7 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_5fe6fa2d91f94636adbee6349cd1d3fd/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_5fe6fa2d91f94636adbee6349cd1d3fd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-xo8mzooc
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_5fe6fa2d91f94636adbee6349cd1d3fd/
    Complete output (2 lines):
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    .. ERROR:: You need numpy 1.4.1 or greater to run PyTables!
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/69/db/2c5544686baace15d2e7f3c2363ba865049985cede70d55d7e883240b73d/tables-3.1.1.tar.gz#sha256=39b9036376f1185599771c19276f13b5b9119d98f9108f58595745ded3fe2da3 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.1.0.tar.gz (6.7 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_c8a46bff900148e1b90a2042897a0467/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_c8a46bff900148e1b90a2042897a0467/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-kgzbxjy0
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_c8a46bff900148e1b90a2042897a0467/
    Complete output (2 lines):
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    .. ERROR:: You need numpy 1.4.1 or greater to run PyTables!
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/b3/31/d0d47c6187d6dd9594ef165f8dd7252670c9d3c00a546bd5e56f38061a71/tables-3.1.0.tar.gz#sha256=92bd5052c61fef3d55505dcb1162150ea5e274b76c4e41633e8f78a9ad5f4dc1 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-3.0.0.tar.gz (6.2 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_d499ea1172f84496b562f3a646c0a7be/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_d499ea1172f84496b562f3a646c0a7be/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-oaqzmrv5
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_d499ea1172f84496b562f3a646c0a7be/
    Complete output (2 lines):
    * Using Python 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:15)
    .. ERROR:: You need numpy 1.4.1 or greater to run PyTables!
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/eb/e6/49cd67bd44033013e4ca5588c53dcf052e08a25befd3be1e08eba32f1a69/tables-3.0.0.tar.gz#sha256=53532a59c8f03c3c5ef3c73c04f5bfd8384d6a3d508683cb87fc17af4c71dfe1 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-2.4.0.tar.gz (8.9 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_32c37611bd694d659c9692c3c335c8d4/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_32c37611bd694d659c9692c3c335c8d4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-icxix1d5
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_32c37611bd694d659c9692c3c335c8d4/
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_32c37611bd694d659c9692c3c335c8d4/setup.py", line 37
        print ".. %s:: %s" % (kind.upper(), head)
              ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/2f/04/939d8eab5c005215a6c267639006c68ddf5069d87f8946350aae60a16dab/tables-2.4.0.tar.gz#sha256=2bda3b1ffbe20ee35d5337d97071ff4177a7742b15e7837324ae7c5720e82678 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-2.3.1.tar.gz (8.8 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_69dffdb9f3484538917889f5d6c52a32/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_69dffdb9f3484538917889f5d6c52a32/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-z5zpgkmn
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_69dffdb9f3484538917889f5d6c52a32/
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_69dffdb9f3484538917889f5d6c52a32/setup.py", line 36
        print ".. %s:: %s" % (kind.upper(), head)
              ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/58/98/43d8e93ccb6fdae2108f1b42b4f94d396d2f97372b7741237c2fe2e7671a/tables-2.3.1.tar.gz#sha256=6b2992c163219af3b75496271f1645e98705e51df6fb5daeaf83b9eae6b371cc (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached tables-2.3.tar.gz (8.8 MB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmougan/opt/anaconda3/envs/new/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_8b0238620fca4cf3b421b8987a227e52/setup.py'"'"'; __file__='"'"'/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_8b0238620fca4cf3b421b8987a227e52/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-pip-egg-info-2lo_lyi4
         cwd: /private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_8b0238620fca4cf3b421b8987a227e52/
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/j6/tcx3t7vj4fs8rsb97cwg06nc0000gn/T/pip-install-6njcd66w/tables_8b0238620fca4cf3b421b8987a227e52/setup.py", line 36
        print ".. %s:: %s" % (kind.upper(), head)
              ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/6f/65/44351a6a80aeae9548e0d638acdfa393b2d5158c5287620ec2b7704d41be/tables-2.3.tar.gz#sha256=d7350b47a9bbf832693700e6c247967f1e289f1b8be71c593cfe1558f94a9e79 (from https://pypi.org/simple/tables/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Cannot install doubt==1.0.0, doubt==1.1.0, doubt==1.2.0, doubt==2.0.0, doubt==2.0.1, doubt==2.0.2, doubt==2.1.0, doubt==2.2.0, doubt==2.2.1, doubt==2.3.0 and doubt==3.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    doubt 3.0.0 depends on tables>=3.6
    doubt 2.3.0 depends on tables>=3.6
    doubt 2.2.1 depends on tables>=3.6
    doubt 2.2.0 depends on tables>=3.6
    doubt 2.1.0 depends on tables>=3.6
    doubt 2.0.2 depends on tables>=3.6
    doubt 2.0.1 depends on tables>=3.6
    doubt 2.0.0 depends on tables>=3.6
    doubt 1.2.0 depends on tables>=3.6
    doubt 1.1.0 depends on tables>=3.6
    doubt 1.0.0 depends on tables

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
(new) Carloss-MacBook-Pro:MonitoringUncertainty cmougan$ 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.