ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 224 forks source link

Cannot import pandas #11099

Open MonkeyDNoppu opened 5 years ago

MonkeyDNoppu commented 5 years ago

Actual Behavior

I cannot import pandas as pd in Jupyter notebook

import pandas as pd

AttributeError Traceback (most recent call last)

in ----> 1 import pandas as pd ~/anaconda3/lib/python3.6/site-packages/pandas/__init__.py in 21 22 # numpy compat ---> 23 from pandas.compat.numpy import * 24 25 try: ~/anaconda3/lib/python3.6/site-packages/pandas/compat/numpy/__init__.py in 8 9 # numpy versioning ---> 10 _np_version = np.__version__ 11 _nlv = LooseVersion(_np_version) 12 _np_version_under1p13 = _nlv < LooseVersion('1.13') AttributeError: module 'numpy' has no attribute '__version__' ### Expected Behavior Just can import pandas as pd ### Steps to Reproduce I don't know, sorry, it just happened ... ##### Anaconda or Miniconda version: # packages in environment at /home/nop/anaconda3: # # Name Version Build Channel anaconda custom py36hbbc8b67_0 ##### Operating System: ##### `conda info` active environment : None user config file : /home/nop/.condarc populated config files : conda version : 4.7.5 conda-build version : 3.18.5 python version : 3.6.8.final.0 virtual packages : base environment : /home/nop/anaconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/nop/anaconda3/pkgs /home/nop/.conda/pkgs envs directories : /home/nop/anaconda3/envs /home/nop/.conda/envs platform : linux-64 user-agent : conda/4.7.5 requests/2.22.0 CPython/3.6.8 Linux/4.15.0-54-generic ubuntu/18.04.2 glibc/2.27 UID:GID : 1000:1000 netrc file : None offline mode : False ##### `conda list --show-channel-urls` # packages in environment at /home/nop/anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py36_0 defaults _libgcc_mutex 0.1 main defaults _tflow_1100_select 0.0.3 mkl defaults _tflow_190_select 0.0.3 mkl defaults _tflow_select 2.3.0 mkl defaults absl-py 0.7.1 py36_0 defaults alabaster 0.7.12 py36_0 defaults anaconda custom py36hbbc8b67_0 defaults anaconda-clean 1.1.0 py36_1 defaults anaconda-client 1.7.2 py36_0 defaults anaconda-navigator 1.9.7 py36_0 defaults anaconda-project 0.8.3 py_0 defaults appdirs 1.4.3 py36h28b3542_0 defaults asn1crypto 0.24.0 py36_0 defaults astor 0.8.0 pypi_0 pypi astroid 2.2.5 py36_0 defaults astropy 3.2.1 py36h7b6447c_0 defaults atomicwrites 1.3.0 py36_1 defaults attrs 18.1.0 pypi_0 pypi automat 0.7.0 py36_0 defaults babel 2.7.0 py_0 defaults backcall 0.1.0 py36_0 defaults backports 1.0 py_2 defaults backports.functools_lru_cache 1.5 py_2 defaults backports.os 0.1.1 py36_0 defaults backports.shutil_get_terminal_size 1.0.0 py36_2 defaults backports.tempfile 1.0 py_1 defaults backports.weakref 1.0.post1 py_1 defaults bcrypt 3.1.6 py36h7b6447c_0 defaults beautifulsoup4 4.7.1 py36_1 defaults binutils_impl_linux-64 2.31.1 h6176602_1 defaults binutils_linux-64 2.31.1 h6176602_7 defaults bitarray 0.9.3 py36h7b6447c_0 defaults bkcharts 0.2 py36_0 defaults blas 1.0 openblas defaults blaze 0.11.3 py36_0 defaults bleach 3.1.0 py36_0 defaults blosc 1.16.3 hd408876_0 defaults bokeh 1.2.0 py36_0 defaults boto 2.49.0 py36_0 defaults bottleneck 1.2.1 py36h035aef0_1 defaults bzip2 1.0.7 h7b6447c_0 defaults c-ares 1.15.0 h7b6447c_1 defaults ca-certificates 2019.6.16 hecc5488_0 conda-forge cairo 1.14.12 h8948797_3 defaults catboost 0.15.1 pypi_0 pypi certifi 2019.6.16 py36_0 conda-forge cffi 1.12.3 py36h2e261b9_0 defaults chardet 3.0.4 py36_1 defaults click 7.0 py36_0 defaults climate 0.4.6 py36h31ade9f_0 brittainhard cloudpickle 1.2.1 py_0 defaults clyent 1.2.2 py36_1 defaults colorama 0.4.1 py36_0 defaults conda 4.7.5 py36_0 conda-forge conda-build 3.18.5 py36_0 defaults conda-env 2.6.0 1 defaults conda-package-handling 1.3.10 py36_0 defaults conda-verify 3.4.2 py_0 defaults configargparse 0.14.0 pypi_0 pypi configspace 0.4.10 pypi_0 pypi constantly 15.1.0 py36h28b3542_0 defaults contextlib2 0.5.5 py36_0 defaults cryptography 2.7 py36h1ba5d50_0 defaults cryptography-vectors 2.7 py_0 defaults curl 7.64.1 hbc83047_0 defaults cvxcanon 0.1.1 py36h04863e7_0 defaults cvxpy 1.0.24 pypi_0 pypi cycler 0.10.0 py36_0 defaults cython 0.29.11 py36he6710b0_0 defaults cytoolz 0.9.0.1 py36h14c3975_1 defaults dask 2.0.0 py_0 defaults dask-core 2.0.0 py_0 defaults datashape 0.5.4 py36_1 defaults dbus 1.13.6 h746ee38_0 defaults deap 1.3.0 pypi_0 pypi decorator 4.4.0 py36_1 defaults defusedxml 0.6.0 pypi_0 pypi dill 0.2.9 py36_0 defaults distributed 2.0.1 py_0 defaults docutils 0.14 py36_0 defaults downhill 0.4.0 py36hcc12aa4_0 brittainhard ecos 2.0.7.post1 pypi_0 pypi eli5 0.8.2 pypi_0 pypi entrypoints 0.3 py36_0 defaults et_xmlfile 1.0.1 py36_0 defaults expat 2.2.6 he6710b0_0 defaults facebook-sdk 3.1.0 pypi_0 pypi fancyimpute 0.4.3 pypi_0 pypi fastcache 1.1.0 py36h7b6447c_0 defaults filelock 3.0.12 py_0 defaults flask 1.0.3 py36_0 defaults flask-cors 3.0.8 py_0 defaults fontconfig 2.13.0 h9420a91_0 defaults freetype 2.9.1 h8a8886c_1 defaults fribidi 1.0.5 h7b6447c_0 defaults future 0.17.1 py36_0 defaults gast 0.2.2 py36_0 defaults gcc_impl_linux-64 7.3.0 habb00fd_1 defaults gcc_linux-64 7.3.0 h553295d_7 defaults get_terminal_size 1.0.0 haa9412d_0 defaults gevent 1.4.0 py36h7b6447c_0 defaults glib 2.56.2 hd408876_0 defaults glob2 0.7 py_0 defaults gmp 6.1.2 h6c8ec71_1 defaults gmpy2 2.0.8 py36h10f8cd9_2 defaults google-pasta 0.1.7 py_0 defaults graphite2 1.3.13 h23475e2_0 defaults graphviz 2.40.1 h21bd128_2 defaults greenlet 0.4.15 py36h7b6447c_0 defaults grpcio 1.21.1 pypi_0 pypi gst-plugins-base 1.14.0 hbbd80ab_1 defaults gstreamer 1.14.0 hb453b48_1 defaults gxx_impl_linux-64 7.3.0 hdf63c60_1 defaults gxx_linux-64 7.3.0 h553295d_7 defaults h2o 3.18.0.2 0 defaults h5py 2.9.0 py36h7918eee_0 defaults harfbuzz 1.8.8 hffaf4a1_0 defaults hdf5 1.10.4 hb1b8bf9_0 defaults heapdict 1.0.0 py36_2 defaults html5lib 1.0.1 py36_0 defaults httplib2 0.13.0 pypi_0 pypi hyperlink 19.0.0 py_0 defaults hyperopt 0.1.2 pypi_0 pypi icc-rt 2019.0 pypi_0 pypi icu 58.2 h9c2bf20_1 defaults idna 2.8 py36_0 defaults imageio 2.5.0 py36_0 defaults imagesize 1.1.0 py36_0 defaults imbalanced-learn 0.4.3 pypi_0 pypi importlib_metadata 0.17 py36_1 defaults incremental 17.5.0 py36_0 defaults intel-numpy 1.15.1 pypi_0 pypi intel-openmp 2019.0 pypi_0 pypi ipykernel 5.1.1 py36h39e3cac_0 defaults ipyparallel 6.2.4 pypi_0 pypi ipython 7.6.0 py36h39e3cac_0 defaults ipython-autotime 0.1 py_1 conda-forge ipython_genutils 0.2.0 py36_0 defaults ipywidgets 7.4.2 py36_0 defaults isort 4.3.21 py36_0 defaults itsdangerous 1.1.0 py36_0 defaults jbig 2.1 hdba287a_0 defaults jdcal 1.4.1 py_0 defaults jedi 0.13.3 py36_0 defaults jeepney 0.4 py36_0 defaults jinja2 2.10.1 py36_0 defaults joblib 0.13.2 pypi_0 pypi jpeg 9b h024ee3a_2 defaults jsonschema 3.0.1 py36_0 defaults jupyter 1.0.0 py36_7 defaults jupyter-latex-envs 1.4.6 pypi_0 pypi jupyter_client 5.2.4 py36_0 defaults jupyter_console 6.0.0 py36_0 defaults jupyter_contrib_core 0.3.3 py_2 conda-forge jupyter_contrib_nbextensions 0.5.1 py36_0 conda-forge jupyter_core 4.5.0 py_0 defaults jupyter_highlight_selected_word 0.2.0 py36_1000 conda-forge jupyter_latex_envs 1.4.4 py36_1000 conda-forge jupyter_nbextensions_configurator 0.4.1 py36_0 conda-forge jupyterlab 0.35.6 pypi_0 pypi jupyterlab-server 0.3.4 pypi_0 pypi jupyterlab_launcher 0.13.1 py36_0 defaults jupyterlab_server 0.2.0 py36_0 defaults jupyterthemes 0.20.0 py_0 conda-forge kaggle 1.5.4 pypi_0 pypi keras 2.2.4 0 defaults keras-applications 1.0.8 py_0 defaults keras-base 2.2.4 py36_0 defaults keras-preprocessing 1.1.0 py_1 defaults keyring 19.0.2 pypi_0 pypi kiwisolver 1.1.0 py36he6710b0_0 defaults knnimpute 0.1.0 py36h9580492_0 brittainhard krb5 1.16.1 h173b8e3_7 defaults lazy-object-proxy 1.4.1 py36h7b6447c_0 defaults lesscpy 0.13.0 py_1 conda-forge liac-arff 2.4.0 pypi_0 pypi libarchive 0.4.7 pypi_0 pypi libblas 3.8.0 7_openblas conda-forge libcblas 3.8.0 7_openblas conda-forge libcurl 7.64.1 h20c2e04_0 defaults libedit 3.1.20181209 hc058e9b_0 defaults libffi 3.2.1 hd88cf55_4 defaults libgcc-ng 9.1.0 hdf63c60_0 defaults libgfortran 3.0.0 1 https://repo.anaconda.com/pkgs/free libgfortran-ng 7.3.0 hdf63c60_0 defaults libgpuarray 0.7.6 h14c3975_0 defaults libiconv 1.15 h63c8f33_5 defaults liblapack 3.8.0 7_openblas conda-forge liblapacke 3.8.0 7_openblas conda-forge liblief 0.9.0 h7725739_2 defaults libopenblas 0.3.6 h5a2b251_0 defaults libpng 1.6.37 hbc83047_0 defaults libprotobuf 3.8.0 hd408876_0 defaults libsodium 1.0.16 h1bed415_0 defaults libssh2 1.8.2 h1ba5d50_0 defaults libstdcxx-ng 9.1.0 hdf63c60_0 defaults libtiff 4.0.10 h2733197_1001 defaults libtool 2.4.6 h7b6447c_5 defaults libuuid 1.0.3 h1bed415_2 defaults libxcb 1.13 h1bed415_1 defaults libxml2 2.9.9 hea5a465_1 defaults libxslt 1.1.33 h7d1a2b0_0 defaults lightgbm 2.2.3 pypi_0 pypi llvmlite 0.29.0 py36hd408876_0 defaults locket 0.2.0 py36_1 defaults lockfile 0.12.2 pypi_0 pypi lxml 4.3.4 pypi_0 pypi lz4-c 1.8.1.2 h14c3975_0 defaults lzo 2.10 h49e0be7_2 defaults mako 1.0.12 pypi_0 pypi markdown 3.1.1 py36_0 defaults markupsafe 1.1.1 py36h7b6447c_0 defaults matplotlib 3.1.0 py36h5429711_0 defaults mccabe 0.6.1 py36_1 defaults mistune 0.8.4 py36h7b6447c_0 defaults mkl 2019.0 pypi_0 pypi mkl-fft 1.0.6 pypi_0 pypi mkl-random 1.0.1.1 pypi_0 pypi mkl-service 2.0.2 py36h7b6447c_0 defaults mlxtend 0.16.0 pypi_0 pypi mock 3.0.5 py36_0 defaults more-itertools 7.0.0 py36_0 defaults mpc 1.1.0 h10f8cd9_1 defaults mpfr 4.0.1 hdf1c602_3 defaults mpmath 1.1.0 py36_0 defaults msgpack-python 0.6.1 py36hfd86e86_1 defaults multipledispatch 0.6.0 py36_0 defaults multiprocess 0.70.7 pypi_0 pypi navigator-updater 0.2.1 py36_0 defaults nbconvert 5.5.0 py_0 defaults nbformat 4.4.0 py36_0 defaults ncurses 6.1 he6710b0_1 defaults networkx 2.3 py_0 defaults nomkl 3.0 0 defaults nose 1.3.7 py36_2 defaults notebook 5.7.8 py36_0 defaults np-utils 0.5.10.0 pypi_0 pypi numba 0.44.1 py36h962f231_0 defaults numexpr 2.6.9 py36h2ffa06c_0 defaults numpy 1.15.1 pypi_0 pypi numpy-base 1.16.4 py36h2f8d375_0 defaults numpydoc 0.9.1 py_0 defaults odo 0.5.1 py36_0 defaults olefile 0.46 py36_0 defaults openblas 0.3.5 h9ac9557_1001 conda-forge openblas-devel 0.3.6 0 defaults openjdk 8.0.152 h46b5887_1 defaults openpyxl 2.6.2 py_0 defaults openssl 1.1.1c h7b6447c_1 defaults osqp 0.5.0 pypi_0 pypi packaging 19.0 py36_0 defaults pandas 0.24.2 py36he6710b0_0 defaults pandoc 2.2.3.2 0 defaults pandocfilters 1.4.2 py36_1 defaults pango 1.42.4 h049681c_0 defaults parso 0.5.0 py_0 defaults partd 1.0.0 py_0 defaults patchelf 0.9 he6710b0_3 defaults path.py 12.0.1 py_0 defaults pathlib2 2.3.4 py36_0 defaults patsy 0.5.1 py36_0 defaults pbr 5.3.0 pypi_0 pypi pcre 8.43 he6710b0_0 defaults pep8 1.7.1 py36_0 defaults pexpect 4.7.0 py36_0 defaults pickleshare 0.7.5 py36_0 defaults pillow 6.0.0 py36h34e0f95_0 defaults pip 19.1.1 py36_0 defaults pixman 0.38.0 h7b6447c_0 defaults pkginfo 1.5.0.1 py36_0 defaults plac 1.0.0 py36_0 defaults pluggy 0.12.0 py_0 defaults ply 3.11 py36_0 defaults progressbar2 3.42.0 pypi_0 pypi prometheus-client 0.7.0 pypi_0 pypi prometheus_client 0.7.1 py_0 defaults prompt_toolkit 2.0.9 py36_0 defaults protobuf 3.8.0 py36he6710b0_0 defaults psutil 5.6.3 py36h7b6447c_0 defaults ptyprocess 0.6.0 py36_0 defaults py 1.8.0 py36_0 defaults py-lief 0.9.0 py36h7725739_2 defaults pyasn1 0.4.5 py_0 defaults pyasn1-modules 0.2.5 pypi_0 pypi pycodestyle 2.5.0 py36_0 defaults pycosat 0.6.3 py36h14c3975_0 defaults pycparser 2.19 py36_0 defaults pycrypto 2.6.1 py36h14c3975_9 defaults pycurl 7.43.0.3 py36h1ba5d50_0 defaults pyflakes 2.1.1 py36_0 defaults pygments 2.4.2 py_0 defaults pygpu 0.7.6 py36h035aef0_0 defaults pyhamcrest 1.9.0 py36_2 defaults pylint 2.3.1 py36_0 defaults pymongo 3.8.0 py36he6710b0_1 defaults pynisher 0.5.0 pypi_0 pypi pyodbc 4.0.26 py36he6710b0_0 defaults pyopenssl 19.0.0 py36_0 defaults pyparsing 2.4.0 py_0 defaults pyqt 5.9.2 py36h05f1152_2 defaults pyrfr 0.8.0 pypi_0 pypi pyrsistent 0.15.2 pypi_0 pypi pysocks 1.7.0 py36_0 defaults pytables 3.5.2 py36h71ec239_1 defaults pytest 4.6.3 pypi_0 pypi pytest-arraydiff 0.3 py36h39e3cac_0 defaults pytest-astropy 0.5.0 py36_0 defaults pytest-doctestplus 0.3.0 py36_0 defaults pytest-openfiles 0.3.2 py36_0 defaults pytest-remotedata 0.3.1 py36_0 defaults pytest-runner 5.1 pypi_0 pypi python 3.6.8 h0371630_0 defaults python-dateutil 2.8.0 py36_0 defaults python-graphviz 0.11 pypi_0 pypi python-slugify 3.0.2 pypi_0 pypi python-utils 2.3.0 py36_0 defaults pytz 2019.1 py_0 defaults pywavelets 1.0.3 py36hdd07704_1 defaults pyyaml 5.1.1 py36h7b6447c_0 defaults pyzmq 18.0.1 pypi_0 pypi qt 5.9.7 h5867ecd_1 defaults qtawesome 0.5.7 py36_1 defaults qtconsole 4.5.1 py_0 defaults qtpy 1.8.0 py_0 defaults readline 7.0 h7b6447c_5 defaults requests 2.22.0 py36_0 defaults rope 0.14.0 py_0 defaults ruamel_yaml 0.15.46 py36h14c3975_0 defaults scikit-image 0.15.0 py36he6710b0_0 defaults scikit-learn 0.21.2 py36h22eb022_0 defaults scikit-optimize 0.5.2 py_0 conda-forge scipy 1.3.0 pypi_0 pypi scs 2.1.0 pypi_0 pypi seaborn 0.9.0 py36_0 defaults secretstorage 3.1.1 py36_0 defaults selenium 3.141.0 pypi_0 pypi selenium-chromedriver 2.12.0 0 mutirri send2trash 1.5.0 py36_0 defaults service_identity 18.1.0 py36h28b3542_0 defaults setuptools 41.0.1 pypi_0 pypi shap 0.29.1 pypi_0 pypi simplegeneric 0.8.1 py36_2 defaults singledispatch 3.4.0.3 py36_0 defaults sip 4.19.8 py36hf484d3e_0 defaults six 1.12.0 py36_0 defaults sklearn-contrib-py-earth 0.1.0 py36h470a237_1 conda-forge snappy 1.1.7 hbae5bb6_3 defaults snowballstemmer 1.9.0 py_0 defaults sortedcollections 1.1.2 py36_0 defaults sortedcontainers 2.1.0 py36_0 defaults soupsieve 1.9.1 pypi_0 pypi sphinx 2.1.1 pypi_0 pypi sphinxcontrib 1.0 py36_1 defaults sphinxcontrib-applehelp 1.0.1 py_0 defaults sphinxcontrib-devhelp 1.0.1 py_0 defaults sphinxcontrib-htmlhelp 1.0.2 py_0 defaults sphinxcontrib-jsmath 1.0.1 py_0 defaults sphinxcontrib-qthelp 1.0.2 py_0 defaults sphinxcontrib-serializinghtml 1.1.3 py_0 defaults sphinxcontrib-websupport 1.1.2 py_0 defaults spyder 3.3.4 py36_0 defaults spyder-kernels 1.3.3 pypi_0 pypi sqlalchemy 1.3.5 py36h7b6447c_0 defaults sqlite 3.28.0 h7b6447c_0 defaults statsmodels 0.10.0 py36hdd07704_0 defaults stopit 1.1.2 py_0 conda-forge swig 3.0.12 h38cdd7d_3 defaults sympy 1.4 py36_0 defaults tabulate 0.8.3 py36_0 defaults tbb 2019.0 pypi_0 pypi tbb4py 2019.0 pypi_0 pypi tblib 1.4.0 py_0 defaults tensorboard 1.14.0 py36hf484d3e_0 defaults tensorflow 1.14.0 mkl_py36h2526735_0 defaults tensorflow-base 1.14.0 mkl_py36h7ce6ba3_0 defaults tensorflow-estimator 1.14.0rc1 pypi_0 pypi termcolor 1.1.0 py36_1 defaults terminado 0.8.2 py36_0 defaults testpath 0.4.2 py36_0 defaults text-unidecode 1.2 pypi_0 pypi theano 1.0.4 pypi_0 pypi tk 8.6.8 hbc83047_0 defaults toolz 0.9.0 py36_0 defaults tornado 6.0.3 py36h7b6447c_0 defaults tpot 0.10.1 pypi_0 pypi tqdm 4.32.2 pypi_0 pypi traitlets 4.3.2 py36_0 defaults twisted 19.2.1 pypi_0 pypi typed-ast 1.4.0 pypi_0 pypi typing 3.6.6 pypi_0 pypi unicodecsv 0.14.1 py36_0 defaults unidecode 1.1.0 pypi_0 pypi unixodbc 2.3.7 h14c3975_0 defaults update_checker 0.16 py_0 conda-forge urllib3 1.21.1 pypi_0 pypi virtualenv 16.6.1 pypi_0 pypi wcwidth 0.1.7 py36_0 defaults webencodings 0.5.1 py36_1 defaults werkzeug 0.15.4 py_0 defaults wheel 0.33.4 py36_0 defaults widgetsnbextension 3.4.2 py36_0 defaults wrapt 1.11.2 py36h7b6447c_0 defaults wurlitzer 1.0.3 pypi_0 pypi xgboost 0.90 pypi_0 pypi xlrd 1.2.0 py36_0 defaults xlsxwriter 1.1.8 py_0 defaults xlwt 1.3.0 py36_0 defaults xz 5.2.4 h14c3975_4 defaults yaml 0.1.7 had09818_2 defaults zeromq 4.3.1 he6710b0_3 defaults zict 1.0.0 py_0 defaults zipp 0.5.1 py_0 defaults zlib 1.2.11 h7b6447c_3 defaults zope 1.0 py36_1 defaults zope.interface 4.6.0 py36h7b6447c_0 defaults zstd 1.3.7 h0b5b093_0 defaults
MonkeyDNoppu commented 5 years ago

So, I try to reinstall numpy but ...

nop@nop-TravelMate-P648-M:~$ conda install -c conda-forge numpy Collecting package metadata (current_repodata.json): done Solving environment: / The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency:

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 300, in _make_single_record
    repodata_record = read_repodata_json(extracted_package_dir)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/gateways/disk/read.py", line 130, in read_repodata_json
    with open(join(extracted_package_directory, 'info', 'repodata_record.json')) as fi:
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/common/compat.py", line 177, in open
    closefd=closefd)
FileNotFoundError: [Errno 2] No such file or directory: '/home/nop/anaconda3/pkgs/ca-certificates-2019.5.15-0/info/repodata_record.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 317, in _make_single_record
    raw_json_record = read_index_json(extracted_package_dir)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/gateways/disk/read.py", line 117, in read_index_json
    with open(join(extracted_package_directory, 'info', 'index.json')) as fi:
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/common/compat.py", line 177, in open
    closefd=closefd)
FileNotFoundError: [Errno 2] No such file or directory: '/home/nop/anaconda3/pkgs/ca-certificates-2019.5.15-0/info/index.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 1043, in __call__
    return func(*args, **kwargs)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 84, in _main
    exit_code = do_call(args, p)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/cli/conda_argparse.py", line 82, in do_call
    exit_code = getattr(module, func_name)(args, parser)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 20, in execute
    install(args, parser, 'install')
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 304, in install
    handle_txn(unlink_link_transaction, prefix, args, newenv)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 320, in handle_txn
    unlink_link_transaction.print_transaction_summary()
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 869, in print_transaction_summary
    legacy_action_groups = self._make_legacy_action_groups()
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 853, in _make_legacy_action_groups
    self._pfe.prepare()
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/common/io.py", line 88, in decorated
    return f(*args, **kwds)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 617, in prepare
    for prec in self.link_precs)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 617, in <genexpr>
    for prec in self.link_precs)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 509, in make_actions_for_record
    ), None)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 506, in <genexpr>
    pcrec for pcrec in concat(PackageCacheData(pkgs_dir).query(pref_or_spec)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 507, in <genexpr>
    for pkgs_dir in context.pkgs_dirs)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 132, in query
    return (pcrec for pcrec in itervalues(self._package_cache_records) if pcrec == param)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 246, in _package_cache_records
    self.load()
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 98, in load
    package_cache_record = self._make_single_record(base_name)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 339, in _make_single_record
    extract_tarball(package_tarball_full_path, extracted_package_dir)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda/gateways/disk/create.py", line 219, in extract_tarball
    conda_package_handling.api.extract(tarball_full_path, dest_dir=destination_directory)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda_package_handling/api.py", line 49, in extract
    SUPPORTED_EXTENSIONS[ext].extract(fn, dest_dir, components=components)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda_package_handling/conda_fmt.py", line 55, in extract
    _extract_component(fn, file_id, component, dest_dir)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda_package_handling/conda_fmt.py", line 37, in _extract_component
    _tar_xf(component_filename, dest_dir)
  File "/home/nop/anaconda3/lib/python3.6/site-packages/conda_package_handling/tarball.py", line 72, in _tar_xf
    libarchive.extract.EXTRACT_SPARSE | \
AttributeError: module 'libarchive' has no attribute 'extract'

$ /home/nop/anaconda3/bin/conda install -c conda-forge numpy

environment variables: CIO_TEST= CONDA_ROOT=/home/nop/anaconda3 DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/home/nop/anaconda3/bin:/home/nop/.local/bin:/usr/local/sbin:/usr/loca l/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/ bin REQUESTS_CA_BUNDLE= SSL_CERT_FILE= XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0

 active environment : None
   user config file : /home/nop/.condarc

populated config files : conda version : 4.7.5 conda-build version : 3.18.5 python version : 3.6.8.final.0 virtual packages : base environment : /home/nop/anaconda3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/nop/anaconda3/pkgs /home/nop/.conda/pkgs envs directories : /home/nop/anaconda3/envs /home/nop/.conda/envs platform : linux-64 user-agent : conda/4.7.5 requests/2.22.0 CPython/3.6.8 Linux/4.15.0-54-generic ubuntu/18.04.2 glibc/2.27 UID:GID : 1000:1000 netrc file : None offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

If submitted, this report will be used by core maintainers to improve future releases of conda. Would you like conda to send this report to the core maintainers?

Upload successful.

Thank you for helping to improve conda. Opt-in to always sending reports (and not see this message again) by running

$ conda config --set report_errors true