ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 223 forks source link

DLL Load Failed for multiple packages....Tried other solutions previously listed #11897

Open desanti6 opened 4 years ago

desanti6 commented 4 years ago

I had a working conda suite running. I ran this exact code last week and everything was fine. I don't know why it changed now but I'm kind've desperate to get a working system going again. I will say that I am something of a layman when it comes to fixing these system issues.

Also, I know this has to do with different packages, but I reinstalled the entire anaconda package this morning and am still getting the same problem.

Actual Behavior

I try to run a program using lmfit, seaborn, (sometimes scipy or numpy) and I get a traceback error. This program was working several days ago and I did not change anything in python, anaconda, or windows.

Traceback (most recent call last):

File "Y:\H2 Production and Pathways\2016 H2 Production and Delivery\AEM\Python\AEM_v2.py", line 12, in import seaborn as sns

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\seaborn__init__.py", line 6, in from .rcmod import *

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\seaborn\rcmod.py", line 7, in from . import palettes, _orig_rc_params

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\seaborn\palettes.py", line 9, in from .utils import desaturate, set_hls_values, get_color_cycle

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\seaborn\utils.py", line 6, in from scipy import stats

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\stats__init__.py", line 388, in from .stats import *

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\stats\stats.py", line 180, in from . import distributions

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\stats\distributions.py", line 8, in from ._distn_infrastructure import (entropy, rv_discrete, rv_continuous,

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\stats_distn_infrastructure.py", line 23, in from scipy import optimize

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\optimize__init__.py", line 387, in from .optimize import *

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\optimize\optimize.py", line 36, in from ._numdiff import approx_derivative

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\optimize_numdiff.py", line 6, in from scipy.sparse.linalg import LinearOperator

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\sparse\linalg__init__.py", line 114, in from .eigen import *

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\sparse\linalg\eigen__init__.py", line 9, in from .arpack import *

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\sparse\linalg\eigen\arpack__init__.py", line 20, in from .arpack import *

File "C:\Users\ddesantis\Anaconda3\envs\py37\lib\site-packages\scipy\sparse\linalg\eigen\arpack\arpack.py", line 43, in from . import _arpack

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

Expected Behavior

I would expect the program to run normally and set up a class that is found later in the problem.

Steps to Reproduce

Anytime I try to import seaborn or lmfit this has happens

Anaconda or Miniconda version:

Running Conda 4.8.3 (Downloaded on 6.29.2020 - whatever the latest distribution is)

Operating System:
conda info

''' active environment : base active env location : C:\Users\ddesantis\Anaconda3\envs\py37 shell level : 1 user config file : C:\Users\ddesantis.condarc populated config files : C:\Users\ddesantis.condarc conda version : 4.8.3 conda-build version : 3.18.11 python version : 3.7.7.final.0 virtual packages : base environment : C:\Users\ddesantis\Anaconda3\envs\py37 (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\ddesantis\Anaconda3\envs\py37\pkgs C:\Users\ddesantis.conda\pkgs C:\Users\ddesantis\AppData\Local\conda\conda\pkgs envs directories : C:\Users\ddesantis\Anaconda3\envs\py37\envs C:\Users\ddesantis.conda\envs C:\Users\ddesantis\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.8.3 requests/2.24.0 CPython/3.7.7 Windows/10 Windows/10.0.18362 administrator : False netrc file : None offline mode : False '''

conda list --show-channel-urls
# packages in environment at C:\Users\ddesantis\Anaconda3\envs\py37:
#
# Name                    Version                   Build  Channel
_anaconda_depends         2020.02                  py37_0    defaults
_ipyw_jlab_nb_ext_conf    0.1.0                    py37_0    defaults
alabaster                 0.7.12                   py37_0    defaults
anaconda                  custom                   py37_1    defaults
anaconda-client           1.7.2                    py37_0    defaults
anaconda-navigator        1.9.12                   py37_0    defaults
anaconda-project          0.8.4                      py_0    defaults
argh                      0.26.2                   py37_0    defaults
asn1crypto                1.3.0                    py37_0    defaults
asteval                   0.9.16             pyh5ca1d4c_0    conda-forge
astroid                   2.3.3                    py37_0    defaults
astropy                   4.0.1.post1      py37he774522_1    defaults
atomicwrites              1.4.0                      py_0    defaults
attrs                     19.3.0                     py_0    defaults
autopep8                  1.4.4                      py_0    defaults
babel                     2.8.0                      py_0    defaults
backcall                  0.2.0                      py_0    defaults
backports                 1.0                        py_2    defaults
backports.functools_lru_cache 1.6.1                      py_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
bcrypt                    3.1.7            py37he774522_1    defaults
beautifulsoup4            4.9.1                    py37_0    defaults
bitarray                  1.2.2            py37he774522_0    defaults
bkcharts                  0.2                      py37_0    defaults
blas                      1.0                         mkl    defaults
bleach                    3.1.5                      py_0    defaults
blosc                     1.19.0               h7bd577a_0    defaults
bokeh                     2.1.1                    py37_0    defaults
boto                      2.49.0                   py37_0    defaults
bottleneck                1.3.2            py37h2a96729_1    defaults
brotlipy                  0.7.0           py37he774522_1000    defaults
bzip2                     1.0.8                he774522_0    defaults
ca-certificates           2020.6.20            hecda079_0    conda-forge
certifi                   2020.6.20        py37hc8dfbb8_0    conda-forge
cffi                      1.14.0           py37h7a1dbc1_0    defaults
chardet                   3.0.4                 py37_1003    defaults
click                     7.1.2                      py_0    defaults
cloudpickle               1.4.1                      py_0    defaults
clyent                    1.2.2                    py37_1    defaults
colorama                  0.4.3                      py_0    defaults
comtypes                  1.1.7                 py37_1001    defaults
conda                     4.8.3            py37hc8dfbb8_1    conda-forge
conda-build               3.18.11                  py37_0    defaults
conda-env                 2.6.0                         1    defaults
conda-package-handling    1.6.1            py37h62dcd97_0    defaults
conda-verify              3.4.2                      py_1    defaults
console_shortcut          0.1.1                         4    defaults
contextlib2               0.6.0.post1                py_0    defaults
cryptography              2.9.2            py37h7a1dbc1_0    defaults
curl                      7.71.0               h2a8f88b_0    defaults
cycler                    0.10.0                   py37_0    defaults
cython                    0.29.20          py37ha925a31_0    defaults
cytoolz                   0.10.1           py37he774522_0    defaults
dask                      2.19.0                     py_0    defaults
dask-core                 2.19.0                     py_0    defaults
decorator                 4.4.2                      py_0    defaults
defusedxml                0.6.0                      py_0    defaults
diff-match-patch          20181111                   py_0    defaults
distributed               2.19.0                   py37_0    defaults
docutils                  0.16                     py37_1    defaults
entrypoints               0.3                      py37_0    defaults
et_xmlfile                1.0.1                    py37_0    defaults
fastcache                 1.1.0            py37he774522_0    defaults
filelock                  3.0.12                     py_0    defaults
flake8                    3.7.9                    py37_0    defaults
flask                     1.1.2                      py_0    defaults
freetype                  2.10.2               hd328e21_0    defaults
fsspec                    0.7.4                      py_0    defaults
future                    0.18.2                   py37_1    defaults
get_terminal_size         1.0.0                h38e98db_0    defaults
gevent                    20.6.2           py37he774522_0    defaults
glob2                     0.7                        py_0    defaults
greenlet                  0.4.16           py37he774522_0    defaults
h5py                      2.10.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
hypothesis                5.18.3                     py_0    defaults
icc_rt                    2019.0.0             h0cc432a_1    defaults
icu                       58.2                 ha925a31_3    defaults
idna                      2.9                        py_1    defaults
imageio                   2.8.0                      py_0    defaults
imagesize                 1.2.0                      py_0    defaults
importlib-metadata        1.6.1                    py37_0    defaults
importlib_metadata        1.6.1                         0    defaults
intel-openmp              2020.1                      216    defaults
intervaltree              3.0.2                      py_0    defaults
ipykernel                 5.3.0            py37h5ca1d4c_0    defaults
ipython                   7.15.0                   py37_0    defaults
ipython_genutils          0.2.0                    py37_0    defaults
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.2                   py37_0    defaults
jinja2                    2.11.2                     py_0    defaults
joblib                    0.15.1                     py_0    defaults
jpeg                      9b                   hb83a4c4_2    defaults
json5                     0.9.5                      py_0    defaults
jsonschema                3.2.0                    py37_0    defaults
jupyter                   1.0.0                    py37_7    defaults
jupyter_client            6.1.3                      py_0    defaults
jupyter_console           6.1.0                      py_0    defaults
jupyter_core              4.6.3                    py37_0    defaults
jupyterlab                2.1.4                      py_1    defaults
jupyterlab_server         1.1.5                      py_0    defaults
keyring                   21.2.1                   py37_0    defaults
kiwisolver                1.2.0            py37h74a9793_0    defaults
krb5                      1.18.2               hc04afaa_0    defaults
lazy-object-proxy         1.5.0            py37he774522_0    defaults
libarchive                3.4.2                h5e25573_0    defaults
libcurl                   7.71.0               h2a8f88b_0    defaults
libiconv                  1.15                 h1df5818_7    defaults
liblief                   0.10.1               ha925a31_0    defaults
libllvm9                  9.0.1                h21ff451_0    defaults
libpng                    1.6.37               h2a8f88b_0    defaults
libsodium                 1.0.18               h62dcd97_0    defaults
libspatialindex           1.9.3                h33f27b4_0    defaults
libssh2                   1.9.0                h7a1dbc1_1    defaults
libtiff                   4.1.0                h56a325e_1    defaults
libxml2                   2.9.10               h464c3ec_1    defaults
libxslt                   1.1.34               he774522_0    defaults
llvmlite                  0.33.0           py37ha925a31_0    defaults
lmfit                     1.0.0                      py_0    conda-forge
locket                    0.2.0                    py37_1    defaults
lxml                      4.5.1            py37h1350720_0    defaults
lz4-c                     1.9.2                h62dcd97_0    defaults
lzo                       2.10                 he774522_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
markupsafe                1.1.1            py37he774522_0    defaults
matplotlib                3.2.2                         0    defaults
matplotlib-base           3.2.2            py37h64f37c6_0    defaults
mccabe                    0.6.1                    py37_1    defaults
menuinst                  1.4.16           py37he774522_1    defaults
mistune                   0.8.4            py37he774522_0    defaults
mkl                       2020.1                      216    defaults
mkl-service               2.3.0            py37hb782905_0    defaults
mkl_fft                   1.1.0            py37h45dec08_0    defaults
mkl_random                1.1.1            py37h47e9c7a_0    defaults
mock                      4.0.2                      py_0    defaults
more-itertools            8.4.0                      py_0    defaults
mpmath                    1.1.0                    py37_0    defaults
msgpack-python            1.0.0            py37h74a9793_1    defaults
msys2-conda-epoch         20160418                      1    defaults
multipledispatch          0.6.0                    py37_0    defaults
navigator-updater         0.2.1                    py37_0    defaults
nbconvert                 5.6.1                    py37_0    defaults
nbformat                  5.0.7                      py_0    defaults
networkx                  2.4                        py_0    defaults
nltk                      3.5                        py_0    defaults
nose                      1.3.7                    py37_2    defaults
notebook                  6.0.3                    py37_0    defaults
numba                     0.50.1           py37h47e9c7a_0    defaults
numexpr                   2.7.1            py37h25d0782_0    defaults
numpy                     1.18.5           py37h6530119_0    defaults
numpy-base                1.18.5           py37hc3f5095_0    defaults
numpydoc                  1.0.0                      py_0    defaults
olefile                   0.46                     py37_0    defaults
openpyxl                  3.0.3                      py_0    defaults
openssl                   1.1.1g               he774522_0    conda-forge
packaging                 20.4                       py_0    defaults
pandas                    1.0.5            py37h47e9c7a_0    defaults
pandoc                    2.9.2.1                       0    defaults
pandocfilters             1.4.2                    py37_1    defaults
paramiko                  2.7.1                      py_0    defaults
parso                     0.5.2                      py_0    defaults
partd                     1.1.0                      py_0    defaults
path                      13.1.0                   py37_0    defaults
path.py                   12.4.0                        0    defaults
pathlib2                  2.3.5                    py37_0    defaults
pathtools                 0.1.2                      py_1    defaults
patsy                     0.5.1                    py37_0    defaults
pep8                      1.7.1                    py37_0    defaults
pexpect                   4.8.0                    py37_0    defaults
pickleshare               0.7.5                    py37_0    defaults
pillow                    7.1.2            py37hcc1f983_0    defaults
pip                       20.1.1                   py37_1    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                         3    defaults
prometheus_client         0.8.0                      py_0    defaults
prompt-toolkit            3.0.5                      py_0    defaults
prompt_toolkit            3.0.5                         0    defaults
psutil                    5.7.0            py37he774522_0    defaults
py                        1.8.2                      py_0    defaults
py-lief                   0.10.1           py37ha925a31_0    defaults
pycodestyle               2.5.0                    py37_0    defaults
pycosat                   0.6.3            py37he774522_0    defaults
pycparser                 2.20                       py_0    defaults
pycrypto                  2.6.1           py37he774522_10    defaults
pycurl                    7.43.0.5         py37h7a1dbc1_0    defaults
pydocstyle                5.0.2                      py_0    defaults
pyflakes                  2.1.1                    py37_0    defaults
pygments                  2.6.1                      py_0    defaults
pylint                    2.4.4                    py37_0    defaults
pynacl                    1.4.0            py37h62dcd97_0    defaults
pyodbc                    4.0.30           py37ha925a31_0    defaults
pyopenssl                 19.1.0                   py37_0    defaults
pyparsing                 2.4.7                      py_0    defaults
pyqt                      5.9.2            py37h6538335_2    defaults
pyreadline                2.1                      py37_1    defaults
pyrsistent                0.16.0           py37he774522_0    defaults
pysocks                   1.7.1                    py37_0    defaults
pytables                  3.6.1            py37h1da0976_0    defaults
pytest                    5.4.3                    py37_0    defaults
pytest-arraydiff          0.3              py37h39e3cac_0    defaults
pytest-astropy            0.8.0                      py_0    defaults
pytest-astropy-header     0.1.2                      py_0    defaults
pytest-doctestplus        0.7.0                      py_0    defaults
pytest-openfiles          0.5.0                      py_0    defaults
pytest-remotedata         0.3.2                    py37_0    defaults
python                    3.7.7                h81c818b_4    defaults
python-dateutil           2.8.1                      py_0    defaults
python-jsonrpc-server     0.3.4                      py_0    defaults
python-language-server    0.31.10                  py37_0    defaults
python-libarchive-c       2.9                        py_0    defaults
python_abi                3.7                     1_cp37m    conda-forge
pytz                      2020.1                     py_0    defaults
pywavelets                1.1.1            py37he774522_0    defaults
pywin32                   227              py37he774522_1    defaults
pywin32-ctypes            0.2.0                 py37_1000    defaults
pywinpty                  0.5.7                    py37_0    defaults
pyyaml                    5.3.1            py37he774522_1    defaults
pyzmq                     19.0.1           py37ha925a31_1    defaults
qdarkstyle                2.8.1                      py_0    defaults
qt                        5.9.7            vc14h73c81de_0    defaults
qtawesome                 0.7.2                      py_0    defaults
qtconsole                 4.7.5                      py_0    defaults
qtpy                      1.9.0                      py_0    defaults
regex                     2020.6.8         py37he774522_0    defaults
requests                  2.24.0                     py_0    defaults
rope                      0.17.0                     py_0    defaults
rtree                     0.9.4            py37h21ff451_1    defaults
ruamel_yaml               0.15.87          py37he774522_1    defaults
scikit-image              0.16.2           py37h47e9c7a_0    defaults
scikit-learn              0.23.1           py37h25d0782_0    defaults
scipy                     1.5.0            py37h9439919_0    defaults
seaborn                   0.10.1                     py_0    defaults
send2trash                1.5.0                    py37_0    defaults
setuptools                47.3.1                   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.15.0                     py_0    defaults
snappy                    1.1.8                h33f27b4_0    defaults
snowballstemmer           2.0.0                      py_0    defaults
sortedcollections         1.2.1                      py_0    defaults
sortedcontainers          2.2.2                      py_0    defaults
soupsieve                 2.0.1                      py_0    defaults
sphinx                    3.1.1                      py_0    defaults
sphinxcontrib             1.0                      py37_1    defaults
sphinxcontrib-applehelp   1.0.2                      py_0    defaults
sphinxcontrib-devhelp     1.0.2                      py_0    defaults
sphinxcontrib-htmlhelp    1.0.3                      py_0    defaults
sphinxcontrib-jsmath      1.0.1                      py_0    defaults
sphinxcontrib-qthelp      1.0.3                      py_0    defaults
sphinxcontrib-serializinghtml 1.1.4                      py_0    defaults
sphinxcontrib-websupport  1.2.2                      py_0    defaults
spyder                    4.1.3                    py37_0    defaults
spyder-kernels            1.9.1                    py37_0    defaults
sqlalchemy                1.3.17           py37he774522_0    defaults
sqlite                    3.32.3               h2a8f88b_0    defaults
statsmodels               0.11.1           py37he774522_0    defaults
sympy                     1.6                      py37_0    defaults
tbb                       2020.0               h74a9793_0    defaults
tblib                     1.6.0                      py_0    defaults
terminado                 0.8.3                    py37_0    defaults
testpath                  0.4.4                      py_0    defaults
threadpoolctl             2.1.0              pyh5ca1d4c_0    defaults
tk                        8.6.10               he774522_0    defaults
toolz                     0.10.0                     py_0    defaults
tornado                   6.0.4            py37he774522_1    defaults
tqdm                      4.46.1                     py_0    defaults
traitlets                 4.3.3                    py37_0    defaults
typing_extensions         3.7.4.2                    py_0    defaults
ujson                     1.35             py37hfa6e2cd_0    defaults
uncertainties             3.1.4                      py_0    conda-forge
unicodecsv                0.14.1                   py37_0    defaults
urllib3                   1.25.9                     py_0    defaults
vc                        14.1                 h0510ff6_4    defaults
vs2015_runtime            14.16.27012          hf0eaf9b_2    defaults
watchdog                  0.10.2                   py37_0    defaults
wcwidth                   0.2.4                      py_0    defaults
webencodings              0.5.1                    py37_1    defaults
werkzeug                  1.0.1                      py_0    defaults
wheel                     0.34.2                   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.12.1           py37he774522_1    defaults
xlrd                      1.2.0                    py37_0    defaults
xlsxwriter                1.2.9                      py_0    defaults
xlwings                   0.19.4                   py37_0    defaults
xlwt                      1.3.0                    py37_0    defaults
xmltodict                 0.12.0                     py_0    defaults
xz                        5.2.5                h62dcd97_0    defaults
yaml                      0.2.5                he774522_0    defaults
yapf                      0.29.0                     py_0    defaults
zeromq                    4.3.2                ha925a31_2    defaults
zict                      2.0.0                      py_0    defaults
zipp                      3.1.0                      py_0    defaults
zlib                      1.2.11               h62dcd97_4    defaults
zope                      1.0                      py37_1    defaults
zope.event                4.4                      py37_0    defaults
zope.interface            4.7.1            py37he774522_0    defaults
zstd                      1.4.4                ha9fde0e_3    defaults
desanti6 commented 4 years ago

After some review, I've learned that there is a scipy problem in the install. Scipy cannot find it's modules like optimize. Anyone have any ideas?