import error with tensorflow
I just installed diffxpy followed the installation instructions: pip install tf-nightly pip install tfp-nightly pip install tensorflow pip install tensorflow-probability git clone https://github.com/theislab/batchglm.git cd batchglm;pip install -e .;cd .. git clone https://github.com/theislab/diffxpy.git cd diffxpy;pip install -e .;cd ..
then when I "import diffxpy.api as de", error: generic_utils.populate_dict_with_module_objects( AttributeError: module 'tensorflow.python.keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'
Env info: Python 3.8.2 (default, Mar 26 2020, 15:53:00) [GCC 7.3.0] :: Anaconda, Inc. on linux Name: tf-nightly; Version: 2.3.0.dev20200512 Name: tfp-nightly; Version: 0.11.0.dev20200512 Name: tensorflow; Version: 2.2.0 Name: tensorflow-probability; Version: 0.9.0
Thank you!
$ pip install diffxpy
(test) [bzhang1@omicsoft01 app]$ pip show diffxpy Name: diffxpy Version: 0.7.4 Summary: Fast and scalable differential expression analysis on single-cell RNA-seq data Home-page: UNKNOWN Author: David S. Fischer, Florian R. Hölzlwimmer Author-email: [email protected], [email protected] License: UNKNOWN Location: /opt/anaconda3/envs/test/lib/python3.7/site-packages Requires: numpy, scipy, pandas, statsmodels, patsy, batchglm Required-by:
After uninstalling everything, and reinstall the following it works now: pip install tensorflow pip install diffxpy
Please update the documentation. Thanks
Thanks @z5ouyang, will do that!