ImportError: DLL load failed when running 01_matmul notebook

  1. Fresh miniconda3 install (only for user)
  2. used anaconda prompt and made fastai environmet
  3. conda install -c pytorch -c fastai -c conda-forge fastai pytorch torchvision cuda100
  4. opened 01_matmul and tried to run code

Any ideas?

Error output:


ImportError                               Traceback (most recent call last)
<ipython-input-2-402ffa9232ae> in <module>
      2 from pathlib import Path
      3 from IPython.core.debugger import set_trace
----> 4 from fastai import datasets
      5 import pickle, gzip, math, torch, matplotlib as mpl
      6 import matplotlib.pyplot as plt

~\Miniconda3\envs\fastai\lib\site-packages\fastai\datasets.py in <module>
----> 1 from .core import *
      2 import hashlib
      3 
      4 __all__ = ['URLs', 'Config', 'untar_data', 'download_data', 'datapath4file', 'url2name', 'url2path']
      5 

~\Miniconda3\envs\fastai\lib\site-packages\fastai\core.py in <module>
      1 "`fastai.core` contains essential util functions to format and split data"
----> 2 from .imports.core import *
      3 
      4 warnings.filterwarnings("ignore", message="numpy.dtype size changed")
      5 warnings.filterwarnings("ignore", message="numpy.ufunc size changed")

~\Miniconda3\envs\fastai\lib\site-packages\fastai\imports\__init__.py in <module>
----> 1 from .core import *
      2 from .torch import *

~\Miniconda3\envs\fastai\lib\site-packages\fastai\imports\core.py in <module>
      1 import csv, gc, gzip, os, pickle, shutil, sys, warnings, yaml, io, subprocess
      2 import math, matplotlib.pyplot as plt, numpy as np, pandas as pd, random
----> 3 import scipy.stats, scipy.special
      4 import abc, collections, hashlib, itertools, json, operator, pathlib
      5 import mimetypes, inspect, typing, functools, importlib, weakref

~\Miniconda3\envs\fastai\lib\site-packages\scipy\stats\__init__.py in <module>
    365 from __future__ import division, print_function, absolute_import
    366 
--> 367 from .stats import *
    368 from .distributions import *
    369 from .morestats import *

~\Miniconda3\envs\fastai\lib\site-packages\scipy\stats\stats.py in <module>
    171 from scipy._lib._util import _lazywhere
    172 import scipy.special as special
--> 173 from . import distributions
    174 from . import mstats_basic
    175 from ._stats_mstats_common import _find_repeats, linregress, theilslopes, siegelslopes

~\Miniconda3\envs\fastai\lib\site-packages\scipy\stats\distributions.py in <module>
      8 from __future__ import division, print_function, absolute_import
      9 
---> 10 from ._distn_infrastructure import (entropy, rv_discrete, rv_continuous,
     11                                     rv_frozen)
     12 

~\Miniconda3\envs\fastai\lib\site-packages\scipy\stats\_distn_infrastructure.py in <module>
     22 
     23 # for root finding for discrete distribution ppf, and max likelihood estimation
---> 24 from scipy import optimize
     25 
     26 # for functions of continuous distributions (e.g. moments, entropy, cdf)

~\Miniconda3\envs\fastai\lib\site-packages\scipy\optimize\__init__.py in <module>
    385 
    386 from .optimize import *
--> 387 from ._minimize import *
    388 from ._root import *
    389 from ._root_scalar import *

~\Miniconda3\envs\fastai\lib\site-packages\scipy\optimize\_minimize.py in <module>
     28 from ._trustregion_krylov import _minimize_trust_krylov
     29 from ._trustregion_exact import _minimize_trustregion_exact
---> 30 from ._trustregion_constr import _minimize_trustregion_constr
     31 
     32 # constrained minimization

~\Miniconda3\envs\fastai\lib\site-packages\scipy\optimize\_trustregion_constr\__init__.py in <module>
      2 
      3 
----> 4 from .minimize_trustregion_constr import _minimize_trustregion_constr
      5 
      6 __all__ = ['_minimize_trustregion_constr']

~\Miniconda3\envs\fastai\lib\site-packages\scipy\optimize\_trustregion_constr\minimize_trustregion_constr.py in <module>
      2 import time
      3 import numpy as np
----> 4 from scipy.sparse.linalg import LinearOperator
      5 from .._differentiable_functions import VectorFunction
      6 from .._constraints import (

~\Miniconda3\envs\fastai\lib\site-packages\scipy\sparse\linalg\__init__.py in <module>
    115 from .dsolve import *
    116 from .interface import *
--> 117 from .eigen import *
    118 from .matfuncs import *
    119 from ._onenormest import *

~\Miniconda3\envs\fastai\lib\site-packages\scipy\sparse\linalg\eigen\__init__.py in <module>
      9 from __future__ import division, print_function, absolute_import
     10 
---> 11 from .arpack import *
     12 from .lobpcg import *
     13 

~\Miniconda3\envs\fastai\lib\site-packages\scipy\sparse\linalg\eigen\arpack\__init__.py in <module>
     20 from __future__ import division, print_function, absolute_import
     21 
---> 22 from .arpack import *

~\Miniconda3\envs\fastai\lib\site-packages\scipy\sparse\linalg\eigen\arpack\arpack.py in <module>
     43 __all__ = ['eigs', 'eigsh', 'svds', 'ArpackError', 'ArpackNoConvergence']
     44 
---> 45 from . import _arpack
     46 import numpy as np
     47 import warnings

ImportError: DLL load failed: The specified procedure could not be found.

windows 10 conda setup:

 # packages in environment at C:\Users\Eero\Miniconda3\envs\fastai:
    #
    # Name                    Version                   Build  Channel
    asn1crypto                0.24.0                py36_1003    conda-forge
    attrs                     19.1.0                   py36_1
    backcall                  0.1.0                    py36_0
    beautifulsoup4            4.7.1                 py36_1001    conda-forge
    blas                      1.0                         mkl
    bleach                    3.1.0                    py36_0
    bottleneck                1.2.1           py36h452e1ab_1001    conda-forge
    ca-certificates           2019.6.16            hecc5488_0    conda-forge
    certifi                   2019.6.16                py36_0    conda-forge
    cffi                      1.12.3           py36h7a1dbc1_0
    chardet                   3.0.4                 py36_1003    conda-forge
    colorama                  0.4.1                    py36_0
    cryptography              2.7              py36hb32ad35_0    conda-forge
    cuda100                   1.0                           0    pytorch
    cudatoolkit               10.0.130                      0
    cycler                    0.10.0                     py_1    conda-forge
    cymem                     2.0.2            py36h6538335_0    conda-forge
    cytoolz                   0.9.0.1         py36hfa6e2cd_1001    conda-forge
    dataclasses               0.6                        py_0    fastai
    decorator                 4.4.0                    py36_1
    defusedxml                0.6.0                      py_0
    dill                      0.2.9                    py36_0
    entrypoints               0.3                      py36_0
    fastai                    1.0.54                        1    fastai
    fastprogress              0.1.21                     py_0    fastai
    freetype                  2.10.0               h5db478b_0    conda-forge
    icc_rt                    2019.0.0             h0cc432a_1
    icu                       58.2                 ha66f8fd_1
    idna                      2.8                   py36_1000    conda-forge
    intel-openmp              2019.4                      245
    ipykernel                 5.1.1            py36h39e3cac_0
    ipython                   7.5.0            py36h39e3cac_0
    ipython_genutils          0.2.0            py36h3c5d0ee_0
    ipywidgets                7.4.2                    py36_0
    jedi                      0.13.3                   py36_0
    jinja2                    2.10.1                   py36_0
    jpeg                      9b                   hb83a4c4_2
    jsonschema                3.0.1                    py36_0
    jupyter                   1.0.0                    py36_7
    jupyter_client            5.2.4                    py36_0
    jupyter_console           6.0.0                    py36_0
    jupyter_core              4.4.0                    py36_0
    kiwisolver                1.1.0            py36he980bc4_0    conda-forge
    libpng                    1.6.37               h2a8f88b_0
    libsodium                 1.0.16               h9d3ae62_0
    libtiff                   4.0.9                hf1753bf_1    conda-forge
    m2w64-gcc-libgfortran     5.3.0                         6
    m2w64-gcc-libs            5.3.0                         7
    m2w64-gcc-libs-core       5.3.0                         7
    m2w64-gmp                 6.1.0                         2
    m2w64-libwinpthread-git   5.0.0.4634.697f757               2
    markupsafe                1.1.1            py36he774522_0
    matplotlib                3.1.0                    py36_1    conda-forge
    matplotlib-base           3.1.0            py36h2852a4a_1    conda-forge
    mistune                   0.8.4            py36he774522_0
    mkl                       2019.4                      245
    mkl_fft                   1.0.12           py36h14836fe_0
    mkl_random                1.0.2            py36h343c172_0
    msgpack-numpy             0.4.3.2                  py36_0
    msgpack-python            0.6.1            py36he980bc4_0    conda-forge
    msys2-conda-epoch         20160418                      1
    murmurhash                1.0.0            py36h6538335_0    conda-forge
    nbconvert                 5.5.0                      py_0
    nbformat                  4.4.0            py36h3a5bc1b_0
    ninja                     1.9.0            py36h74a9793_0
    notebook                  5.7.8                    py36_0
    numexpr                   2.6.9           py36h6538335_1000    conda-forge
    numpy                     1.16.4           py36h19fb1c0_0
    numpy-base                1.16.4           py36hc3f5095_0
    nvidia-ml-py3             7.352.0                    py_0    fastai
    olefile                   0.46                       py_0    conda-forge
    openssl                   1.1.1b               hfa6e2cd_2    conda-forge
    packaging                 19.0                       py_0    conda-forge
    pandas                    0.24.2           py36he350917_0    conda-forge
    pandoc                    2.2.3.2                       0
    pandocfilters             1.4.2                    py36_1
    parso                     0.4.0                      py_0
    pickleshare               0.7.5                    py36_0
    pillow                    5.4.1            py36hdc69c19_0
    pip                       19.1.1                   py36_0
    plac                      0.9.6                    py36_0    conda-forge
    preshed                   2.0.1            py36h33f27b4_0
    prometheus_client         0.6.0                    py36_0
    prompt_toolkit            2.0.9                    py36_0
    pycparser                 2.19                     py36_0
    pygments                  2.4.2                      py_0
    pyopenssl                 19.0.0                   py36_0    conda-forge
    pyparsing                 2.4.0                      py_0    conda-forge
    pyqt                      5.9.2            py36h6538335_2
    pyreadline                2.1                   py36_1000    conda-forge
    pyrsistent                0.14.11          py36he774522_0
    pysocks                   1.7.0                    py36_0    conda-forge
    python                    3.6.8                h9f7ef89_7
    python-dateutil           2.8.0                    py36_0
    pytorch                   1.1.0           py3.6_cuda100_cudnn7_1    pytorch
    pytz                      2019.1                     py_0    conda-forge
    pywinpty                  0.5.5                 py36_1000
    pyyaml                    5.1.1            py36hfa6e2cd_0    conda-forge
    pyzmq                     18.0.0           py36ha925a31_0
    qt                        5.9.7            vc14h73c81de_0
    qtconsole                 4.5.1                      py_0
    regex                     2018.01.10      py36hfa6e2cd_1000    fastai
    requests                  2.22.0                   py36_0    conda-forge
    scipy                     1.2.1            py36h29ff71c_0
    send2trash                1.5.0                    py36_0
    setuptools                41.0.1                   py36_0
    sip                       4.19.8           py36h6538335_0
    six                       1.12.0                   py36_0
    soupsieve                 1.9.2                    py36_0    conda-forge
    spacy                     2.0.18          py36h6538335_1000    fastai
    sqlite                    3.28.0               he774522_0
    terminado                 0.8.2                    py36_0
    testpath                  0.4.2                    py36_0
    thinc                     6.12.1          py36h830ac7b_1000    fastai
    tk                        8.6.9             hfa6e2cd_1002    conda-forge
    toolz                     0.9.0                      py_1    conda-forge
    torchvision               0.3.0              py36_cu100_1    pytorch
    tornado                   6.0.2            py36he774522_0
    tqdm                      4.32.2                     py_0    conda-forge
    traitlets                 4.3.2            py36h096827d_0
    typing                    3.6.4                    py36_0    conda-forge
    ujson                     1.35            py36hfa6e2cd_1001    conda-forge
    urllib3                   1.24.3                   py36_0    conda-forge
    vc                        14.1                 h0510ff6_4
    vs2015_runtime            14.15.26706          h3a45250_4
    wcwidth                   0.1.7            py36h3d5aa90_0
    webencodings              0.5.1                    py36_1
    wheel                     0.33.4                   py36_0
    widgetsnbextension        3.4.2                    py36_0
    win_inet_pton             1.1.0                    py36_0    conda-forge
    wincertstore              0.2              py36h7fe50ca_0
    winpty                    0.4.3                         4
    wrapt                     1.10.11          py36hfa6e2cd_2
    yaml                      0.1.7             hfa6e2cd_1001    conda-forge
    zeromq                    4.3.1                h33f27b4_3
    zlib                      1.2.11               h62dcd97_3

Why are you including the conda-forge channel? I don’t think you need it for any of the packages required by fastai/pytorch/torchvision. Adding it means conda will prefer packages from conda-forge over the default anaconda channel versions so you can end up with a weird mix of packages which won’t be tested against generally. I’d either remove it or instead try conda install -c defaults -c pytorch -c fastai -c conda-forge fastai pytorch torchvision cuda100. Explicitly specifying -c defaults first will at least give higher priority to packages from the default channel (subject to rules about how versions/channels are prioritised which are affected by some options you can see in the Solver mode modifiers section of conda install --help).
The channels you pass only affect the current conda operation, so just because you installed a package from the conda-forge channel before doesn’t mean you have to keep specifying it. Not that such mixing of channels is really supported but continuing to specify the conda-forge channel won’t really help with any issues due to mixing channels.

If that doesn’t help:
A quick google suggests the arpack library is from mkl, so you might also try explicitly adding mkl to the list of packages to install, as in conda install -c pytorch -c fastai fastai pytorch torchvision cuda100 mkl. Conda is a little weird in the way it handles explicitly specified packages as opposed to implicit dependencies.
Or https://github.com/ContinuumIO/anaconda-issues/issues/9333 has the same error and suggests there may be something weird with your system DLLs. No clear fix there but trying the fresh minimal environment install suggested may at least help narrow things down.

Thank you for responding. I used conda-forge following setup guide of another user because other guides did not work. https://medium.com/@pierre_guillou/how-to-install-fastai-v1-on-windows-10-ca1bc370dce4

I just reinstalled windows 10 (i have had dll issues earlier) and tried again without conda-forge, now I get same dll error even earlier running first block of code:


ImportError Traceback (most recent call last)
in
2 #%autoreload 2
3
----> 4 get_ipython().run_line_magic(‘matplotlib’, ‘inline’)

~\Miniconda3\envs\fastai_v1\lib\site-packages\IPython\core\interactiveshell.py in run_line_magic(self, magic_name, line, _stack_depth)
2305 kwargs[‘local_ns’] = sys._getframe(stack_depth).f_locals
2306 with self.builtin_trap:
-> 2307 result = fn(*args, **kwargs)
2308 return result
2309

<C:\Users\eero_\Miniconda3\envs\fastai_v1\lib\site-packages\decorator.py:decorator-gen-109> in matplotlib(self, line)

~\Miniconda3\envs\fastai_v1\lib\site-packages\IPython\core\magic.py in (f, *a, **k)
185 # but it’s overkill for just that one bit of state.
186 def magic_deco(arg):
–> 187 call = lambda f, *a, **k: f(*a, **k)
188
189 if callable(arg):

~\Miniconda3\envs\fastai_v1\lib\site-packages\IPython\core\magics\pylab.py in matplotlib(self, line)
97 print(“Available matplotlib backends: %s” % backends_list)
98 else:
—> 99 gui, backend = self.shell.enable_matplotlib(args.gui)
100 self._show_matplotlib_backend(args.gui, backend)
101

~\Miniconda3\envs\fastai_v1\lib\site-packages\IPython\core\interactiveshell.py in enable_matplotlib(self, gui)
3382 gui, backend = pt.find_gui_and_backend(self.pylab_gui_select)
3383
-> 3384 pt.activate_matplotlib(backend)
3385 pt.configure_inline_support(self, backend)
3386

~\Miniconda3\envs\fastai_v1\lib\site-packages\IPython\core\pylabtools.py in activate_matplotlib(backend)
311 matplotlib.rcParams[‘backend’] = backend
312
–> 313 import matplotlib.pyplot
314 matplotlib.pyplot.switch_backend(backend)
315

~\Miniconda3\envs\fastai_v1\lib\site-packages\matplotlib\pyplot.py in
2347 dict.setitem(rcParams, “backend”, rcsetup._auto_backend_sentinel)
2348 # Set up the backend.
-> 2349 switch_backend(rcParams[“backend”])
2350
2351 # Just to be safe. Interactive mode can be turned on without

~\Miniconda3\envs\fastai_v1\lib\site-packages\matplotlib\pyplot.py in switch_backend(newbackend)
213 else “matplotlib.backends.backend_{}”.format(newbackend.lower()))
214
–> 215 backend_mod = importlib.import_module(backend_name)
216 Backend = type(
217 “Backend”, (matplotlib.backends._Backend,), vars(backend_mod))

~\Miniconda3\envs\fastai_v1\lib\importlib_init_.py in import_module(name, package)
125 break
126 level += 1
–> 127 return _bootstrap._gcd_import(name[level:], package, level)
128
129

~\Miniconda3\envs\fastai_v1\lib\site-packages\ipykernel\pylab\backend_inline.py in
7
8 import matplotlib
----> 9 from matplotlib.backends.backend_agg import new_figure_manager, FigureCanvasAgg # analysis: ignore
10 from matplotlib import colors
11 from matplotlib._pylab_helpers import Gcf

~\Miniconda3\envs\fastai_v1\lib\site-packages\matplotlib\backends\backend_agg.py in
43
44 if _has_pil:
—> 45 from PIL import Image
46
47 backend_version = ‘v2.2’

~\Miniconda3\envs\fastai_v1\lib\site-packages\PIL\Image.py in
91 # Also note that Image.core is not a publicly documented interface,
92 # and should be considered private and subject to change.
—> 93 from . import _imaging as core
94 if version != getattr(core, ‘PILLOW_VERSION’, None):
95 raise ImportError("The _imaging extension was built for another "

ImportError: DLL load failed: The specified module could not be found.

EDIT: got it working finally with following setup:

packages in environment at C:\Users\eero_\Miniconda3\envs\fastai_v1:

Name Version Build Channel

asn1crypto 0.24.0 py36_1003 conda-forge
attrs 19.1.0 py36_1
backcall 0.1.0 py36_0
beautifulsoup4 4.7.1 py36_1001 conda-forge
blas 1.0 mkl
bleach 3.1.0 py36_0
bottleneck 1.2.1 py36h452e1ab_1001 conda-forge
ca-certificates 2019.5.15 0
certifi 2019.6.16 py36_0
cffi 1.12.3 py36hb32ad35_0 conda-forge
chardet 3.0.4 py36_1003 conda-forge
colorama 0.4.1 py36_0
cryptography 2.7 py36hb32ad35_0 conda-forge
cycler 0.10.0 py_1 conda-forge
cymem 2.0.2 py36h6538335_0 conda-forge
cytoolz 0.9.0.1 py36hfa6e2cd_1001 conda-forge
dataclasses 0.6 py_0 fastai
decorator 4.4.0 py36_1
defusedxml 0.6.0 py_0
dill 0.2.9 py36_0
entrypoints 0.3 py36_0
fastai 1.0.54 1 fastai
fastprogress 0.1.21 py_0 fastai
freetype 2.10.0 h5db478b_0 conda-forge
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha66f8fd_1
idna 2.8 py36_1000 conda-forge
intel-openmp 2019.4 245
ipykernel 5.1.1 py36h39e3cac_0
ipython 7.5.0 py36h39e3cac_0
ipython_genutils 0.2.0 py36h3c5d0ee_0
ipywidgets 7.4.2 py36_0
jedi 0.13.3 py36_0
jinja2 2.10.1 py36_0
jpeg 9c hfa6e2cd_1001 conda-forge
jsonschema 3.0.1 py36_0
jupyter 1.0.0 py36_7
jupyter_client 5.2.4 py36_0
jupyter_console 6.0.0 py36_0
jupyter_core 4.4.0 py36_0
kiwisolver 1.1.0 py36he980bc4_0 conda-forge
libblas 3.8.0 8_mkl conda-forge
libcblas 3.8.0 8_mkl conda-forge
liblapack 3.8.0 8_mkl conda-forge
libpng 1.6.37 h7602738_0 conda-forge
libsodium 1.0.16 h9d3ae62_0
libtiff 4.0.10 h6512ee2_1003 conda-forge
lz4-c 1.8.3 he025d50_1001 conda-forge
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markupsafe 1.1.1 py36he774522_0
matplotlib 3.1.0 py36_1 conda-forge
matplotlib-base 3.1.0 py36h2852a4a_1 conda-forge
mistune 0.8.4 py36he774522_0
mkl 2019.4 245
msgpack-numpy 0.4.3.2 py36_0
msgpack-python 0.6.1 py36he980bc4_0 conda-forge
msys2-conda-epoch 20160418 1
murmurhash 1.0.0 py36h6538335_0 conda-forge
nbconvert 5.5.0 py_0
nbformat 4.4.0 py36h3a5bc1b_0
ninja 1.9.0 h1ad3211_0 conda-forge
notebook 5.7.8 py36_0
numexpr 2.6.9 py36h6538335_1000 conda-forge
numpy 1.16.4 py36hc71023c_0 conda-forge
nvidia-ml-py3 7.352.0 py_0 fastai
olefile 0.46 py_0 conda-forge
openssl 1.1.1c he774522_1
packaging 19.0 py_0 conda-forge
pandas 0.24.2 py36he350917_0 conda-forge
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py36_1
parso 0.4.0 py_0
pickleshare 0.7.5 py36_0
pillow 6.0.0 py36h9a613e6_0 conda-forge
pip 19.1.1 py36_0
plac 0.9.6 py36_0 conda-forge
preshed 2.0.1 py36h33f27b4_0
prometheus_client 0.6.0 py36_0
prompt_toolkit 2.0.9 py36_0
pycparser 2.19 py36_1 conda-forge
pygments 2.4.2 py_0
pyopenssl 19.0.0 py36_0 conda-forge
pyparsing 2.4.0 py_0 conda-forge
pyqt 5.9.2 py36h6538335_0 conda-forge
pyreadline 2.1 py36_1000 conda-forge
pyrsistent 0.14.11 py36he774522_0
pysocks 1.7.0 py36_0 conda-forge
python 3.6.8 h9f7ef89_7
python-dateutil 2.8.0 py_0 conda-forge
pytorch 1.0.0 py3.6_cuda90_cudnn7_1 pytorch
pytz 2019.1 py_0 conda-forge
pywinpty 0.5.5 py36_1000
pyyaml 5.1.1 py36hfa6e2cd_0 conda-forge
pyzmq 18.0.0 py36ha925a31_0
qt 5.9.7 hc6833c9_1 conda-forge
qtconsole 4.5.1 py_0
regex 2018.01.10 py36hfa6e2cd_1000 fastai
requests 2.22.0 py36_0 conda-forge
scipy 1.2.1 py36h29ff71c_0
send2trash 1.5.0 py36_0
setuptools 41.0.1 py36_0
sip 4.19.8 py36h6538335_1000 conda-forge
six 1.12.0 py36_1000 conda-forge
soupsieve 1.9.2 py36_0 conda-forge
spacy 2.0.18 py36h6538335_1000 fastai
sqlite 3.28.0 he774522_0
terminado 0.8.2 py36_0
testpath 0.4.2 py36_0
thinc 6.12.1 py36h830ac7b_1000 fastai
tk 8.6.9 hfa6e2cd_1002 conda-forge
toolz 0.9.0 py_1 conda-forge
torchvision 0.2.2 py_3 pytorch
tornado 6.0.3 py36hfa6e2cd_0 conda-forge
tqdm 4.32.2 py_0 conda-forge
traitlets 4.3.2 py36h096827d_0
typing 3.6.4 py36_0 conda-forge
ujson 1.35 py36hfa6e2cd_1001 conda-forge
urllib3 1.24.3 py36_0 conda-forge
vc 14.1 h0510ff6_4
vs2015_runtime 14.15.26706 h3a45250_4
wcwidth 0.1.7 py36h3d5aa90_0
webencodings 0.5.1 py36_1
wheel 0.33.4 py36_0
widgetsnbextension 3.4.2 py36_0
win_inet_pton 1.1.0 py36_0 conda-forge
wincertstore 0.2 py36h7fe50ca_0
winpty 0.4.3 4
wrapt 1.10.11 py36hfa6e2cd_2
xz 5.2.4 h2fa13f4_1001 conda-forge
yaml 0.1.7 hfa6e2cd_1001 conda-forge
zeromq 4.3.1 h33f27b4_3
zlib 1.2.11 h2fa13f4_1004 conda-forge
zstd 1.4.0 hd8a0e53_0 conda-forge

Glad to here that.
Was there anything partiaular you did to get it working after the reinstall? Looks like you had some missing system libraries that caused the second issue. If you know what you installed to fix that then post it in case others encounter the same issue and find this thread.