ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 223 forks source link

Error processing line in package #11496

Closed nitin194 closed 4 years ago

nitin194 commented 4 years ago

Actual Behavior

Whenever I open the Anaconda prompt, it throws an error first and then opens the prompt with a blinking cursor

""Error processing line 1 of C:\Users\nitin.garg\AppData\Local\Continuum\anaconda3\lib\site-packages\matplotlib-3.1.1-py3.7-nspkg.pth:

Traceback (most recent call last): File "C:\Users\nitin.garg\AppData\Local\Continuum\anaconda3\lib\site.py", line 168, in addpackage exec(line) File "", line 1, in File "", line 580, in module_from_spec AttributeError: 'NoneType' object has no attribute 'loader'

Remainder of file ignored""

Expected Behavior

It should open the prompt without any error

Steps to Reproduce

Just opening the prompt or any other command on the prompt throws that error

Anaconda or Miniconda version:

Custom

Operating System:

Windows 10

conda info
``` active environment : base active env location : C:\Users\nitin.garg\AppData\Local\Continuum\Anaconda3 shell level : 1 user config file : C:\Users\nitin.garg\.condarc populated config files : conda version : 4.7.12 conda-build version : 3.18.11 python version : 3.7.5.final.0 virtual packages : base environment : C:\Users\nitin.garg\AppData\Local\Continuum\anaconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : C:\Users\nitin.garg\AppData\Local\Continuum\anaconda3\pkgs C:\Users\nitin.garg\.conda\pkgs C:\Users\nitin.garg\AppData\Local\conda\conda\pkgs envs directories : C:\Users\nitin.garg\AppData\Local\Continuum\anaconda3\envs C:\Users\nitin.garg\.conda\envs C:\Users\nitin.garg\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.5 Windows/10 Windows/10.0.17134 administrator : True netrc file : None offline mode : False ```
conda list --show-channel-urls
``` # packages in environment at C:\Users\nitin.garg\AppData\Local\Continuum\Anaconda3: # # Name Version Build Channel _anaconda_depends 2019.03 py37_0 defaults _ipyw_jlab_nb_ext_conf 0.1.0 py37_0 defaults _tflow_select 2.3.0 mkl defaults absl-py 0.8.1 py37_0 defaults aiofiles 0.4.0 pypi_0 pypi alabaster 0.7.12 py37_0 defaults anaconda custom py37_1 defaults anaconda-client 1.7.2 py37_0 defaults anaconda-navigator 1.9.7 py37_0 defaults anaconda-project 0.8.4 py_0 defaults aplus 0.11.0 py_1 conda-forge arrow-cpp 0.11.1 py37_vc14h261ab4c_1000 conda-forge asn1crypto 1.2.0 py37_0 defaults astor 0.8.0 py37_0 defaults astroid 2.3.3 py37_0 defaults astropy 3.2.3 py37he774522_0 defaults async-generator 1.10 pypi_0 pypi atomicwrites 1.3.0 py37_1 defaults attrs 19.3.0 py_0 defaults babel 2.7.0 py_0 defaults backcall 0.1.0 py37_0 defaults backports 1.0 py_2 defaults backports.functools_lru_cache 1.6.1 py_0 defaults backports.os 0.1.1 py37_0 defaults backports.shutil_get_terminal_size 1.0.0 py37_2 defaults backports.tempfile 1.0 py_1 defaults backports.weakref 1.0.post1 py_1 defaults beautifulsoup4 4.8.1 py37_0 defaults bitarray 1.1.0 py37he774522_0 defaults bkcharts 0.2 py37_0 defaults blas 1.0 mkl defaults bleach 3.1.0 py37_0 defaults blosc 1.16.3 h7bd577a_0 defaults bokeh 1.4.0 py37_0 defaults boost-cpp 1.68.0 h6a4c333_1000 conda-forge boto 2.49.0 py37_0 defaults boto3 1.10.19 py_0 defaults botocore 1.13.19 py_0 defaults bottleneck 1.3.1 py37h8c2d366_0 defaults bqplot 0.12.1 py_0 conda-forge branca 0.3.1 py_0 conda-forge bz2file 0.98 py37_1 defaults bzip2 1.0.8 he774522_0 defaults ca-certificates 2019.11.27 0 defaults cachetools 3.1.1 py_0 conda-forge certifi 2019.11.28 py37_0 defaults cffi 1.13.2 py37h7a1dbc1_0 defaults chardet 3.0.4 py37_1003 defaults click 7.0 py37_0 defaults cloudpickle 1.2.2 py_0 defaults clyent 1.2.2 py37_1 defaults colorama 0.4.1 py37_0 defaults comtypes 1.1.7 py37_0 defaults conda 4.7.12 py37_0 defaults conda-build 3.18.11 py37_0 defaults conda-env 2.6.0 1 defaults conda-package-handling 1.6.0 py37h62dcd97_0 defaults conda-verify 3.4.2 py_1 defaults confuse 1.0.0 pypi_0 pypi console_shortcut 0.1.1 3 defaults contextlib2 0.6.0.post1 py_0 defaults cryptography 2.8 py37h7a1dbc1_0 defaults curl 7.67.0 h2a8f88b_0 defaults cycler 0.10.0 py37_0 defaults cython 0.29.14 py37ha925a31_0 defaults cytoolz 0.10.1 py37he774522_0 defaults dask 2.8.1 py_0 defaults dask-core 2.8.1 py_0 defaults decorator 4.4.1 py_0 defaults defusedxml 0.6.0 py_0 defaults distributed 2.8.1 py_0 defaults docopt 0.6.2 pypi_0 pypi docutils 0.15.2 py37_0 defaults entrypoints 0.3 py37_0 defaults et_xmlfile 1.0.1 py37_0 defaults face_recognition_models 0.3.0 pyh0cf5a0c_0 akode fastcache 1.1.0 py37he774522_0 defaults filelock 3.0.12 py_0 defaults flask 1.1.1 py_0 defaults freetype 2.9.1 ha9979f8_1 defaults fsspec 0.6.0 py_0 defaults funcy 1.13 py_0 conda-forge future 0.18.2 py37_0 defaults gast 0.2.2 py37_0 defaults gensim 3.8.0 py37hf9181ef_0 defaults get_terminal_size 1.0.0 h38e98db_0 defaults gevent 1.4.0 py37he774522_0 defaults gflags 2.2.2 ha925a31_0 defaults git 2.23.0 h6bb4b03_0 defaults glob2 0.7 py_0 defaults glog 0.3.5 h6538335_1 defaults google-pasta 0.1.8 py_0 defaults greenlet 0.4.15 py37hfa6e2cd_0 defaults grpcio 1.16.1 py37h351948d_1 defaults h5py 2.9.0 py37h5e291fa_0 defaults hdf5 1.10.4 h7ebc959_0 defaults heapdict 1.0.1 py_0 defaults html5lib 1.0.1 py37_0 defaults htmlmin 0.1.12 pypi_0 pypi icc_rt 2019.0.0 h0cc432a_1 defaults icu 58.2 ha66f8fd_1 defaults idna 2.8 py37_0 defaults imageio 2.6.1 py37_0 defaults imagesize 1.1.0 py37_0 defaults importlib_metadata 1.1.0 py37_0 defaults intel-openmp 2019.4 245 defaults ipydatawidgets 4.0.1 py_0 conda-forge ipykernel 5.1.3 py37h39e3cac_0 defaults ipyleaflet 0.11.6 py37_0 conda-forge ipympl 0.3.3 py_0 defaults ipyscales 0.3.0 py_0 conda-forge ipython 7.10.1 py37h39e3cac_0 defaults ipython_genutils 0.2.0 py37_0 defaults ipyvolume 0.5.2 py37_0 conda-forge ipyvue 1.0.0 py_0 conda-forge ipyvuetify 1.1.1 py_0 conda-forge ipywebrtc 0.5.0 py37_0 conda-forge ipywidgets 7.5.1 py_0 defaults isort 4.3.21 py37_0 defaults itsdangerous 1.1.0 py37_0 defaults jdcal 1.4.1 py_0 defaults jedi 0.15.1 py37_0 defaults jinja2 2.10.3 py_0 defaults jmespath 0.9.4 py_0 defaults joblib 0.14.0 py_0 defaults jpeg 9b hb83a4c4_2 defaults json5 0.8.5 py_0 defaults jsonschema 3.2.0 py37_0 defaults jupyter 1.0.0 py37_7 defaults jupyter_client 5.3.4 py37_0 defaults jupyter_console 6.0.0 py37_0 defaults jupyter_core 4.6.1 py37_0 defaults jupyterlab 1.2.3 pyhf63ae98_0 defaults jupyterlab_server 1.0.6 py_0 defaults keras 2.2.5 pypi_0 pypi keras-applications 1.0.8 py_0 defaults keras-preprocessing 1.1.0 py_1 defaults keras-vggface 0.6 pypi_0 pypi keyring 19.2.0 py37_0 defaults kiwisolver 1.1.0 py37ha925a31_0 defaults krb5 1.16.1 hc04afaa_7 defaults lazy-object-proxy 1.4.3 py37he774522_0 defaults libarchive 3.3.3 h0643e63_5 defaults libcurl 7.67.0 h2a8f88b_0 defaults libiconv 1.15 h1df5818_7 defaults liblief 0.9.0 ha925a31_2 defaults libmklml 2019.0.5 0 defaults libpng 1.6.37 h2a8f88b_0 defaults libprotobuf 3.10.1 h7bd577a_0 defaults libsodium 1.0.16 h9d3ae62_0 defaults libssh2 1.8.2 h7a1dbc1_0 defaults libtiff 4.1.0 h56a325e_0 defaults libxml2 2.9.9 h464c3ec_0 defaults libxslt 1.1.33 h579f668_0 defaults lightgbm 2.3.0 py37ha925a31_0 defaults llvmlite 0.30.0 py37ha925a31_0 defaults locket 0.2.0 py37_1 defaults lxml 4.4.2 py37h1350720_0 defaults lz4-c 1.8.1.2 h2fa13f4_0 defaults lzo 2.10 h6df0209_2 defaults m2w64-gcc-libgfortran 5.3.0 6 defaults m2w64-gcc-libs 5.3.0 7 defaults m2w64-gcc-libs-core 5.3.0 7 defaults m2w64-gmp 6.1.0 2 defaults m2w64-libwinpthread-git 5.0.0.4634.697f757 2 defaults markdown 3.1.1 py37_0 defaults markupsafe 1.1.1 py37he774522_0 defaults matplotlib 3.1.1 py37hc8f65d3_0 defaults mccabe 0.6.1 py37_1 defaults menuinst 1.4.16 py37he774522_0 defaults missingno 0.4.2 pypi_0 pypi mistune 0.8.4 py37he774522_0 defaults mkl 2019.4 245 defaults mkl-service 2.3.0 py37hb782905_0 defaults mkl_fft 1.0.15 py37h14836fe_0 defaults mkl_random 1.1.0 py37h675688f_0 defaults mock 3.0.5 py37_0 defaults more-itertools 7.2.0 py37_0 defaults mpmath 1.1.0 py37_0 defaults msgpack-python 0.6.1 py37h74a9793_1 defaults msys2-conda-epoch 20160418 1 defaults multidict 4.5.2 pypi_0 pypi multipledispatch 0.6.0 py37_0 defaults navigator-updater 0.2.1 py37_0 defaults nbconvert 5.6.1 py37_0 defaults nbformat 4.4.0 py37_0 defaults networkx 2.4 py_0 defaults nltk 3.4.5 py37_0 defaults nose 1.3.7 py37_2 defaults notebook 6.0.2 py37_0 defaults numba 0.46.0 py37hf9181ef_0 defaults numexpr 2.7.0 py37hdce8814_0 defaults numpy 1.17.4 py37h4320e6b_0 defaults numpy-base 1.17.4 py37hc3f5095_0 defaults numpydoc 0.9.1 py_0 defaults olefile 0.46 py37_0 defaults opencv-python 4.1.1.26 pypi_0 pypi openpyxl 3.0.2 py_0 defaults openssl 1.1.1d he774522_3 defaults opt_einsum 3.1.0 py_0 defaults packaging 19.2 py_0 defaults pandas 0.25.3 py37ha925a31_0 defaults pandas-profiling 2.3.0 pypi_0 pypi pandoc 2.2.3.2 0 defaults pandocfilters 1.4.2 py37_1 defaults parquet-cpp 1.5.1 3 conda-forge parso 0.5.1 py_0 defaults partd 1.1.0 py_0 defaults path.py 12.0.2 py_0 defaults pathlib2 2.3.5 py37_0 defaults patsy 0.5.1 py37_0 defaults pcre 8.43 ha925a31_0 defaults pep8 1.7.1 py37_0 defaults phik 0.9.8 pypi_0 pypi pickleshare 0.7.5 py37_0 defaults pika 1.0.1 pypi_0 pypi pillow 6.2.1 py37hdc69c19_0 defaults pip 19.3.1 py37_0 defaults pkginfo 1.5.0.1 py37_0 defaults pluggy 0.13.1 py37_0 defaults ply 3.11 py37_0 defaults powershell_shortcut 0.0.1 2 defaults progressbar2 3.37.1 py37_0 defaults prometheus_client 0.7.1 py_0 defaults prompt_toolkit 2.0.10 py_0 defaults protobuf 3.10.1 py37h33f27b4_0 defaults psutil 5.6.7 py37he774522_0 defaults py 1.8.0 py37_0 defaults py-lief 0.9.0 py37ha925a31_2 defaults pyarrow 0.11.1 py37h8c67754_1001 conda-forge pycodestyle 2.5.0 py37_0 defaults pycosat 0.6.3 py37hfa6e2cd_0 defaults pycparser 2.19 py37_0 defaults pycrypto 2.6.1 py37hfa6e2cd_9 defaults pycurl 7.43.0.3 py37h7a1dbc1_0 defaults pyflakes 2.1.1 py37_0 defaults pygments 2.5.2 py_0 defaults pykwalify 1.7.0 pypi_0 pypi pyldavis 2.1.2 py_0 conda-forge pylint 2.4.4 py37_0 defaults pyodbc 4.0.27 py37ha925a31_0 defaults pyopenssl 19.1.0 py37_0 defaults pyparsing 2.4.5 py_0 defaults pyqt 5.9.2 py37h6538335_2 defaults pyreadline 2.1 py37_1 defaults pyrsistent 0.15.6 py37he774522_0 defaults pysocks 1.7.1 py37_0 defaults pytables 3.6.1 py37h1da0976_0 defaults pytest 5.3.1 py37_0 defaults pytest-arraydiff 0.3 py37h39e3cac_0 defaults pytest-astropy 0.6.0 py_0 defaults pytest-astropy-header 0.1.1 py_0 defaults pytest-doctestplus 0.5.0 py_0 defaults pytest-openfiles 0.4.0 py_0 defaults pytest-pylint 0.14.1 pypi_0 pypi pytest-remotedata 0.3.2 py37_0 defaults pytest-runner 5.2 py_0 defaults python 3.7.5 h8c8aaf0_0 defaults python-crfsuite 0.9.6 pypi_0 pypi python-dateutil 2.8.0 py37_0 defaults python-libarchive-c 2.8 py37_13 defaults python-utils 2.3.0 py37_0 defaults pythreejs 2.1.1 py_0 conda-forge pytz 2019.3 py_0 defaults pywavelets 1.1.1 py37he774522_0 defaults pywin32 223 py37hfa6e2cd_1 defaults pywin32-ctypes 0.2.0 py37_0 defaults pywinpty 0.5.5 py37_1000 defaults pyyaml 5.1.2 py37he774522_0 defaults pyzmq 18.1.0 py37ha925a31_0 defaults qt 5.9.7 vc14h73c81de_0 defaults qtawesome 0.6.0 py_0 defaults qtconsole 4.6.0 py_0 defaults qtpy 1.9.0 py_0 defaults requests 2.22.0 py37_1 defaults rope 0.14.0 py_0 defaults ruamel_yaml 0.15.46 py37hfa6e2cd_0 defaults s3fs 0.2.0 py37_0 defaults s3transfer 0.2.1 py37_0 defaults scikit-image 0.15.0 py37ha925a31_0 defaults scikit-learn 0.21.3 py37h6288b17_0 defaults scipy 1.3.1 py37h29ff71c_0 defaults seaborn 0.9.0 pyh91ea838_1 defaults send2trash 1.5.0 py37_0 defaults setuptools 42.0.2 py37_0 defaults simplegeneric 0.8.1 py37_2 defaults singledispatch 3.4.0.3 py37_0 defaults sip 4.19.8 py37h6538335_0 defaults six 1.13.0 py37_0 defaults sklearn-crfsuite 0.3.6 pypi_0 pypi smart_open 1.9.0 py_0 defaults snappy 1.1.7 h777316e_3 defaults snowballstemmer 2.0.0 py_0 defaults sortedcollections 1.1.2 py37_0 defaults sortedcontainers 2.1.0 py37_0 defaults soupsieve 1.9.5 py37_0 defaults sphinx 2.2.2 py_0 defaults sphinxcontrib 1.0 py37_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.6 py37_0 defaults spyder-kernels 0.5.2 py37_0 defaults sqlalchemy 1.3.11 py37he774522_0 defaults sqlite 3.30.1 he774522_0 defaults statsmodels 0.10.1 py37h8c2d366_0 defaults sympy 1.4 py37_0 defaults tabulate 0.8.5 pypi_0 pypi tbb 2019.4 h74a9793_0 defaults tblib 1.5.0 py_0 defaults tensorboard 2.0.0 pyhb38c66f_1 defaults tensorflow 2.0.0 mkl_py37he1bbcac_0 defaults tensorflow-base 2.0.0 mkl_py37hd1d5974_0 defaults tensorflow-estimator 2.0.0 pyh2649769_0 defaults termcolor 1.1.0 py37_1 defaults terminado 0.8.3 py37_0 defaults testpath 0.4.4 py_0 defaults tk 8.6.8 hfa6e2cd_0 defaults toolz 0.10.0 py_0 defaults tornado 6.0.3 py37he774522_0 defaults tqdm 4.40.0 py_0 defaults traitlets 4.3.3 py37_0 defaults traittypes 0.2.1 py_1 conda-forge typed-ast 1.4.0 pypi_0 pypi unicodecsv 0.14.1 py37_0 defaults urllib3 1.25.7 py37_0 defaults vaex 2.4.0 py_0 conda-forge vaex-arrow 0.4.1 py_0 conda-forge vaex-astro 0.6.1 py_1 conda-forge vaex-core 1.3.0 py37he350917_0 conda-forge vaex-hdf5 0.5.6 py_0 conda-forge vaex-jupyter 0.4.1 py_0 conda-forge vaex-ml 0.6.2 py_0 conda-forge vaex-server 0.2.1 py_0 conda-forge vaex-viz 0.3.8 py_0 conda-forge vc 14.1 h0510ff6_4 defaults vs2015_runtime 14.16.27012 hf0eaf9b_0 defaults wcwidth 0.1.7 py37_0 defaults webencodings 0.5.1 py37_1 defaults websockets 6.0 pypi_0 pypi werkzeug 0.16.0 py_0 defaults wheel 0.33.6 py37_0 defaults widgetsnbextension 3.5.1 py37_0 defaults win_inet_pton 1.1.0 py37_0 defaults win_unicode_console 0.5 py37_0 defaults wincertstore 0.2 py37_0 defaults winpty 0.4.3 4 defaults wrapt 1.11.2 py37he774522_0 defaults xarray 0.14.0 py_0 defaults xlrd 1.2.0 py37_0 defaults xlsxwriter 1.2.6 py_0 defaults xlwings 0.16.1 py37_0 defaults xlwt 1.3.0 py37_0 defaults xz 5.2.4 h2fa13f4_4 defaults yaml 0.1.7 hc54c509_2 defaults zeromq 4.3.1 h33f27b4_3 defaults zict 1.0.0 py_0 defaults zipp 0.6.0 py_0 defaults zlib 1.2.11 h62dcd97_3 defaults zstd 1.3.7 h508b16e_0 defaults ```
nitin194 commented 4 years ago

Nevermind, I resolved the issue by uninstalling and installing matplotlib package