spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.38k stars 1.63k forks source link

joblib muliprocessing not working on > spyder 5? #16415

Closed dkent287 closed 3 years ago

dkent287 commented 3 years ago

Issue Report Checklist

Problem Description

I am using joblib for multiprocessing.

I get the following error with 5.1.3 and later: BrokenProcessPool: A task has failed to un-serialize. Please ensure that the arguments of the function are all picklable.

I seem not to get the problem with 5.0.3.

What steps reproduce the problem?

  1. run joblib multiprocessing with 5.0.3
  2. run joblib multiprocessing with 5.1.4

What is the expected output? What do you see instead?

Both of the above should work. I obsrve today that only step #1 works.

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

Dependencies

PASTE DEPENDENCIES HERE
steff456 commented 3 years ago

Hi @dkent-trimac,

Can you please post here an example code that I can use to try to reproduce this issue?

dkent287 commented 3 years ago

The code below reproduces the problem. The code runs fine on 5.0.3, but not on 5.1.4. For 5.1.4, it seems that passing in the sklearn object is causing the problem - if you uncomment ' # helper[0] = 'other string', then the code also works fine in 5.1.4

import pandas as pd
from joblib import Parallel, delayed
from multiprocessing import cpu_count
from sklearn.preprocessing import PowerTransformer, MinMaxScaler

series = [100000,102000,67000,67000,26000,145000,139000,133000,64000,128000]

yj = PowerTransformer(method='yeo-johnson', standardize = False)
series = pd.DataFrame(series)
yj = yj.fit(series)

# Vars
helper = []
helper.append(yj)
helper.append('random string')
# helper[0] = 'other string'
my_list = range(6,14)
squares = []

# Function 2
def fun2(j, **kwargs):
    x =  kwargs['x']
    return j*x

# Function to parallelize
def find_square(i, **kwargs):
    helper =  kwargs['helper']
    helper[0] = 'hello'
    y =  fun2(i,**kwargs)

    return [y, helper]

# With parallel processing
squares = Parallel(n_jobs=cpu_count(),verbose=50)(delayed(find_square)(i, helper = helper,
                                                                       x = 7) for i in my_list)
ccordoba12 commented 3 years ago

Works for me on Linux.

dkent287 commented 3 years ago

Could it be just a Windows 10 problem then?

ccordoba12 commented 3 years ago

@dalthviz, could you test @dkent-trimac example on Windows?

ccordoba12 commented 3 years ago

These are some resources to deal with this problem:

https://joblib.readthedocs.io/en/latest/auto_examples/serialization_and_wrappers.html https://stackoverflow.com/questions/56154654/a-task-failed-to-un-serialize

dkent287 commented 3 years ago

These are some resources to deal with this problem:

https://joblib.readthedocs.io/en/latest/auto_examples/serialization_and_wrappers.html https://stackoverflow.com/questions/56154654/a-task-failed-to-un-serialize

Thanks - but am interested to see if you can replicate the problem on your side in Windows 10.

dalthviz commented 3 years ago

@ccordoba12 I was able to run the code provided by @dkent-trimac . This is the output that I'm seeing:

image

However for the test I used the Windows installer and an environment with sklearn, pandas and other libraries:

``` # Name Version Build Channel backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge blas 1.0 mkl brotlipy 0.7.0 py39hb82d6ee_1001 conda-forge ca-certificates 2021.5.30 h5b45459_0 conda-forge catalogue 2.0.5 py39hcbf5309_0 conda-forge certifi 2021.5.30 py39hcbf5309_0 conda-forge cffi 1.14.6 py39h0878f49_0 conda-forge chardet 4.0.0 py39hcbf5309_1 conda-forge charset-normalizer 2.0.0 pyhd8ed1ab_0 conda-forge click 7.1.2 pyh9f0ad1d_0 conda-forge cloudpickle 1.6.0 py_0 conda-forge colorama 0.4.4 pyh9f0ad1d_0 conda-forge cryptography 3.4.7 py39hd8d06c1_0 conda-forge cudatoolkit 10.2.89 h74a9793_1 cymem 2.0.5 py39h415ef7b_2 conda-forge cython-blis 0.7.4 py39h5d4886f_0 conda-forge dataclasses 0.8 pyhc8e2a94_3 conda-forge debugpy 1.4.1 py39h415ef7b_0 conda-forge decorator 5.0.9 pyhd8ed1ab_0 conda-forge en-core-web-sm 3.1.0 pypi_0 pypi freetype 2.10.4 hd328e21_0 idna 3.1 pyhd3deb0d_0 conda-forge intel-openmp 2021.3.0 haa95532_3372 ipykernel 6.3.1 py39h832f523_0 conda-forge ipython 7.27.0 py39h832f523_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jedi 0.18.0 py39hcbf5309_2 conda-forge jinja2 3.0.1 pyhd8ed1ab_0 conda-forge joblib 1.0.1 pyhd8ed1ab_0 conda-forge jpeg 9b hb83a4c4_2 jupyter_client 6.1.12 pyhd8ed1ab_0 conda-forge jupyter_core 4.7.1 py39hcbf5309_0 conda-forge libblas 3.9.0 1_h8933c1f_netlib conda-forge libcblas 3.9.0 5_hd5c7e75_netlib conda-forge liblapack 3.9.0 5_hd5c7e75_netlib conda-forge libpng 1.6.37 h2a8f88b_0 libsodium 1.0.18 h8d14728_1 conda-forge libtiff 4.2.0 hd0e1b90_0 libuv 1.40.0 he774522_0 lz4-c 1.9.3 h2bbff1b_1 m2w64-gcc-libgfortran 5.3.0 6 conda-forge m2w64-gcc-libs 5.3.0 7 conda-forge m2w64-gcc-libs-core 5.3.0 7 conda-forge m2w64-gmp 6.1.0 2 conda-forge m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge markupsafe 2.0.1 py39hb82d6ee_0 conda-forge matplotlib-inline 0.1.2 pyhd8ed1ab_2 conda-forge mkl 2021.3.0 haa95532_524 mkl-service 2.4.0 py39h2bbff1b_0 mkl_fft 1.3.0 py39h277e83a_2 mkl_random 1.2.2 py39hf11a4ad_0 msys2-conda-epoch 20160418 1 conda-forge murmurhash 1.0.5 py39h415ef7b_0 conda-forge ninja 1.10.2 h6d14046_1 numpy 1.20.3 py39ha4e8547_0 numpy-base 1.20.3 py39hc2deb75_0 olefile 0.46 py_0 openssl 1.1.1l h8ffe710_0 conda-forge packaging 21.0 pyhd8ed1ab_0 conda-forge pandas 1.3.3 py39h2e25243_0 conda-forge parso 0.8.2 pyhd8ed1ab_0 conda-forge pathy 0.6.0 pyhd8ed1ab_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 8.3.1 py39h4fa10fc_0 pip 21.2.4 py38haa95532_0 preshed 3.0.5 py39h415ef7b_1 conda-forge prompt-toolkit 3.0.20 pyha770c72_0 conda-forge pycparser 2.20 pyh9f0ad1d_2 conda-forge pydantic 1.8.2 py39hb82d6ee_0 conda-forge pygments 2.10.0 pyhd8ed1ab_0 conda-forge pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge pysocks 1.7.1 py39hcbf5309_3 conda-forge python 3.9.6 h6244533_1 python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python_abi 3.9 2_cp39 conda-forge pytorch 1.9.0 py3.9_cuda10.2_cudnn7_0 pytorch pytz 2021.1 pyhd8ed1ab_0 conda-forge pywin32 301 py39hb82d6ee_0 conda-forge pyzmq 22.2.1 py39he46f08e_0 conda-forge requests 2.26.0 pyhd8ed1ab_0 conda-forge scikit-learn 0.24.2 py39h74df8f2_1 conda-forge scipy 1.7.1 py39hc0c34ad_0 conda-forge setuptools 52.0.0 py39haa95532_0 shellingham 1.4.0 pyh44b312d_0 conda-forge six 1.16.0 pyhd3eb1b0_0 smart_open 5.2.1 pyhd8ed1ab_0 conda-forge spacy 3.1.2 py39hefe7e4c_0 conda-forge spacy-legacy 3.0.8 pyhd8ed1ab_0 conda-forge spyder-kernels 2.1.1 py39hcbf5309_0 conda-forge sqlite 3.36.0 h2bbff1b_0 srsly 2.4.1 py39h415ef7b_0 conda-forge thinc 8.0.10 py39hefe7e4c_0 conda-forge threadpoolctl 2.2.0 pyh8a188c0_0 conda-forge tk 8.6.10 he774522_0 torchaudio 0.9.0 py39 pytorch torchvision 0.10.0 py39_cu102 pytorch tornado 6.1 py39hb82d6ee_1 conda-forge tqdm 4.62.2 pyhd8ed1ab_0 conda-forge traitlets 5.1.0 pyhd8ed1ab_0 conda-forge typer 0.3.2 pyhd8ed1ab_0 conda-forge typing-extensions 3.10.0.0 hd3eb1b0_0 typing_extensions 3.10.0.0 pyh06a4308_0 tzdata 2021a h5d7bf9c_0 urllib3 1.26.6 pyhd8ed1ab_0 conda-forge vc 14.2 h21ff451_1 vs2015_runtime 14.27.29016 h5e58377_2 wasabi 0.8.2 pyh44b312d_0 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge wheel 0.37.0 pyhd3eb1b0_0 win_inet_pton 1.1.0 py39hcbf5309_2 conda-forge wincertstore 0.2 py39h2bbff1b_0 xz 5.2.5 h62dcd97_0 zeromq 4.3.4 h0e60522_1 conda-forge zlib 1.2.11 h62dcd97_4 zstd 1.4.9 h19a0ad4_0 ```

@dkent-trimac is there any difference between the packages I have in my testing env and your setup related with joblib?

dkent287 commented 3 years ago

@dkent-trimac is there any difference between the packages I have in my testing env and your setup related with joblib?

joblib and scikit-learn are the same. Are there any other I should check?

Does your test run ok if you run the script within Spyder (5.1.4) as opposed to running a file from the command line?

dalthviz commented 3 years ago

joblib and scikit-learn are the same. Are there any other I should check?

I don't think so but could you share with us the list of packages your using when the code fails? Also, maybe doing a diff of the packages list between the install with Spyder 5.0.3 and the one with Spyder 5.1.4 could give us some clues.

Does your test run ok if you run the script within Spyder (5.1.4) as opposed to running a file from the command line?

I'm running the script within Spyder with a file open and the Run file functionality (the green arrow or F5). How are you running the code in your case?

@dkent-trimac let us know!

dkent287 commented 3 years ago

I am running the code the same way as you - but I get the output below.

(Happy to close this if we have done the doable here - thanks for having a look.)

Traceback (most recent call last):
  File "C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\joblib\externals\loky\process_executor.py", line 404, in _process_worker
    call_item = call_queue.get(block=True, timeout=timeout)
  File "C:\Users\dkent\Anaconda3\envs\env2\lib\multiprocessing\queues.py", line 116, in get
    return _ForkingPickler.loads(res)
  File "C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\sklearn\__init__.py", line 82, in <module>
    from .base import clone
  File "C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\sklearn\base.py", line 17, in <module>
    from .utils import _IS_32BIT
  File "C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\sklearn\utils\__init__.py", line 20, in <module>
    from scipy.sparse import issparse
  File "C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\scipy\__init__.py", line 136, in <module>
    from . import _distributor_init
  File "C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\scipy\_distributor_init.py", line 59, in <module>
    WinDLL(os.path.abspath(filename))
  File "C:\Users\dkent\Anaconda3\envs\env2\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\scipy\.libs\libbanded5x.UGR6EUQPIWHQH7SL62IWIXB5545VDNQZ.gfortran-win_amd64.dll' (or one of its dependencies). Try using the full path with constructor syntax.
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "C:\Users\dkent\AppData\Local\Temp/ipykernel_96/3242259911.py", line 34, in <module>
    squares = Parallel(n_jobs=cpu_count(),verbose=50)(delayed(find_square)(i, helper = helper,

  File "C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\joblib\parallel.py", line 1054, in __call__
    self.retrieve()

  File "C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\joblib\parallel.py", line 933, in retrieve
    self._output.extend(job.get(timeout=self.timeout))

  File "C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\joblib\_parallel_backends.py", line 542, in wrap_future_result
    return future.result(timeout=timeout)

  File "C:\Users\dkent\Anaconda3\envs\env2\lib\concurrent\futures\_base.py", line 444, in result
    return self.__get_result()

  File "C:\Users\dkent\Anaconda3\envs\env2\lib\concurrent\futures\_base.py", line 389, in __get_result
    raise self._exception

BrokenProcessPool: A task has failed to un-serialize. Please ensure that the arguments of the function are all picklable.
dkent287 commented 3 years ago

Sending my list of packages in case that might be helpful.

alabaster                 0.7.12                     py_0    conda-forge
anaconda-client           1.7.2              pyhd8ed1ab_1    conda-forge
anaconda-project          0.10.1             pyhd8ed1ab_0    conda-forge
anyio                     3.3.0            py38haa244fe_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
argh                      0.26.2          pyh9f0ad1d_1002    conda-forge
argon2-cffi               20.1.0           py38h294d835_2    conda-forge
arrow                     1.1.1              pyhd8ed1ab_0    conda-forge
arviz                     0.11.2             pyhd8ed1ab_1    conda-forge
asn1crypto                1.4.0              pyh9f0ad1d_0    conda-forge
astroid                   2.7.3            py38haa244fe_0    conda-forge
astropy                   4.3.1            py38h294d835_0    conda-forge
async_generator           1.10                       py_0    conda-forge
atomicwrites              1.4.0              pyh9f0ad1d_0    conda-forge
attrs                     21.2.0             pyhd8ed1ab_0    conda-forge
autopep8                  1.5.5              pyh44b312d_0    conda-forge
babel                     2.9.1              pyh44b312d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
backports.shutil_get_terminal_size 1.0.0                      py_3    conda-forge
bcrypt                    3.2.0            py38h294d835_1    conda-forge
beautifulsoup4            4.9.3              pyhb0f4dca_0    conda-forge
binaryornot               0.4.4                      py_1    conda-forge
bitarray                  2.3.2            py38h294d835_0    conda-forge
bkcharts                  0.2                      py38_0
black                     21.8b0             pyhd8ed1ab_0    conda-forge
blas                      1.0                         mkl
bleach                    4.1.0              pyhd8ed1ab_0    conda-forge
blosc                     1.21.0               h0e60522_0    conda-forge
bokeh                     2.3.3            py38haa244fe_0    conda-forge
boto                      2.49.0                     py_0    conda-forge
bottleneck                1.3.2            py38h6f4d8f0_4    conda-forge
brotlipy                  0.7.0           py38h294d835_1001    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2021.5.30            h5b45459_0    conda-forge
cached-property           1.5.2                hd8ed1ab_1    conda-forge
cached_property           1.5.2              pyha770c72_1    conda-forge
certifi                   2021.5.30        py38haa244fe_0    conda-forge
cffi                      1.14.6           py38hd8c33c5_0    conda-forge
cfitsio                   3.470                h0af3d06_7    conda-forge
cftime                    1.5.0            py38hcb5f9af_0    conda-forge
chardet                   4.0.0            py38haa244fe_1    conda-forge
charls                    2.2.0                h39d44d4_0    conda-forge
charset-normalizer        2.0.0              pyhd8ed1ab_0    conda-forge
click                     8.0.1            py38haa244fe_0    conda-forge
cloudpickle               1.6.0                      py_0    conda-forge
clyent                    1.2.2                      py_1    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
comtypes                  1.1.10           py38haa244fe_0    conda-forge
conda-content-trust       0.1.3              pyhd8ed1ab_0    conda-forge
conda-pack                0.6.0              pyhd3deb0d_0    conda-forge
conda-package-handling    1.7.3            py38h31c79cd_0    conda-forge
conda-repo-cli            1.0.4              pyhd3eb1b0_0
conda-verify              3.1.1           py38haa244fe_1003    conda-forge
contextlib2               21.6.0             pyhd8ed1ab_0    conda-forge
convertdate               2.3.2              pyhd8ed1ab_0    conda-forge
cookiecutter              1.7.3              pyh6c4a22f_0    conda-forge
cryptography              3.4.7            py38hd7da0ea_0    conda-forge
curl                      7.78.0               h789b8ee_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cython                    0.29.24          py38h885f38d_0    conda-forge
cytoolz                   0.11.0           py38h294d835_3    conda-forge
dask                      2021.8.1           pyhd8ed1ab_0    conda-forge
dask-core                 2021.8.1           pyhd8ed1ab_0    conda-forge
dataclasses               0.8                pyhc8e2a94_3    conda-forge
debugpy                   1.4.1            py38h885f38d_0    conda-forge
decorator                 4.4.2                      py_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
diff-match-patch          20200713           pyh9f0ad1d_0    conda-forge
distributed               2021.8.1         py38haa244fe_0    conda-forge
docutils                  0.17.1           py38haa244fe_0    conda-forge
entrypoints               0.3             pyhd8ed1ab_1003    conda-forge
ephem                     4.0.0.2          py38h294d835_0    conda-forge
et_xmlfile                1.0.1                   py_1001    conda-forge
fastcache                 1.1.0            py38h294d835_2    conda-forge
filelock                  3.0.12             pyh9f0ad1d_0    conda-forge
flake8                    3.8.4                      py_0    conda-forge
flask                     1.1.2              pyh9f0ad1d_0    conda-forge
freetype                  2.10.4               h546665d_1    conda-forge
fsspec                    2021.8.1           pyhd8ed1ab_0    conda-forge
future                    0.18.2           py38haa244fe_3    conda-forge
get_terminal_size         1.0.0                h38e98db_0
gevent                    21.8.0           py38h294d835_0    conda-forge
giflib                    5.2.1                h8d14728_2    conda-forge
git                       2.33.0               h57928b3_0    conda-forge
glob2                     0.7                        py_0    conda-forge
gmpy2                     2.1.0b5          py38hb63f22f_0    conda-forge
greenlet                  1.1.1            py38h885f38d_0    conda-forge
h5py                      3.4.0           nompi_py38hde0384b_100    conda-forge
hdf4                      4.2.15               h0e5069d_3    conda-forge
hdf5                      1.12.1          nompi_h2a0e4a3_100    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
hijri-converter           2.2.0              pyhd8ed1ab_0    conda-forge
holidays                  0.11.2             pyhd8ed1ab_0    conda-forge
html5lib                  1.1                pyh9f0ad1d_0    conda-forge
icc_rt                    2019.0.0             h0cc432a_1
icu                       68.1                 h0e60522_0    conda-forge
idna                      3.1                pyhd3deb0d_0    conda-forge
imagecodecs               2021.7.30        py38hc88f965_0    conda-forge
imageio                   2.9.0                      py_0    conda-forge
imagesize                 1.2.0                      py_0    conda-forge
importlib-metadata        4.8.1            py38haa244fe_0    conda-forge
importlib_metadata        4.8.1                hd8ed1ab_0    conda-forge
inflection                0.5.1              pyh9f0ad1d_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
intel-openmp              2021.3.0          h57928b3_3372    conda-forge
intervaltree              3.0.2                      py_0    conda-forge
ipykernel                 6.3.1            py38h595d716_0    conda-forge
ipython                   7.27.0           py38h595d716_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.6.4              pyhd8ed1ab_0    conda-forge
isort                     5.9.3              pyhd8ed1ab_0    conda-forge
itsdangerous              2.0.1              pyhd8ed1ab_0    conda-forge
jdcal                     1.4.1                      py_0    conda-forge
jedi                      0.17.2           py38haa244fe_1    conda-forge
jinja2                    2.11.3             pyh44b312d_0    conda-forge
jinja2-time               0.2.0                      py_2    conda-forge
joblib                    1.0.1              pyhd8ed1ab_0    conda-forge
jpeg                      9d                   h8ffe710_0    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsonschema                3.2.0              pyhd8ed1ab_3    conda-forge
jupyter                   1.0.0            py38haa244fe_6    conda-forge
jupyter_client            6.1.12             pyhd8ed1ab_0    conda-forge
jupyter_console           6.4.0              pyhd8ed1ab_0    conda-forge
jupyter_core              4.7.1            py38haa244fe_0    conda-forge
jupyter_server            1.10.2             pyhd8ed1ab_0    conda-forge
jupyterlab                3.1.10             pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
jupyterlab_server         2.7.2              pyhd8ed1ab_0    conda-forge
jupyterlab_widgets        1.0.1              pyhd8ed1ab_0    conda-forge
jxrlib                    1.1                  h8ffe710_2    conda-forge
keyring                   23.1.0           py38haa244fe_0    conda-forge
kiwisolver                1.3.2            py38hbd9d945_0    conda-forge
korean_lunar_calendar     0.2.1              pyh9f0ad1d_0    conda-forge
krb5                      1.19.2               hbae68bd_0    conda-forge
lazy-object-proxy         1.6.0            py38h294d835_0    conda-forge
lcms2                     2.12                 h2a16943_0    conda-forge
lerc                      2.2.1                h0e60522_0    conda-forge
libaec                    1.0.5                h39d44d4_0    conda-forge
libarchive                3.5.2                hb45042f_0    conda-forge
libblas                   3.9.0              11_win64_mkl    conda-forge
libbrotlicommon           1.0.9                h8ffe710_5    conda-forge
libbrotlidec              1.0.9                h8ffe710_5    conda-forge
libbrotlienc              1.0.9                h8ffe710_5    conda-forge
libcblas                  3.9.0              11_win64_mkl    conda-forge
libclang                  11.1.0          default_h5c34c98_1    conda-forge
libcurl                   7.78.0               h789b8ee_0    conda-forge
libdeflate                1.8                  h8ffe710_0    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
liblapack                 3.9.0              11_win64_mkl    conda-forge
liblief                   0.11.5               h0e60522_0    conda-forge
libllvm9                  9.0.1                hab3b255_3    conda-forge
libnetcdf                 4.8.1           nompi_h1cc8e9d_101    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
libpython                 2.0              py38haa244fe_1    conda-forge
libsodium                 1.0.18               h8d14728_1    conda-forge
libspatialindex           1.9.3                h39d44d4_4    conda-forge
libssh2                   1.10.0               h680486a_0    conda-forge
libtiff                   4.3.0                h0c97f57_0    conda-forge
libwebp-base              1.2.1                h8ffe710_0    conda-forge
libxml2                   2.9.12               hf5bbc77_0    conda-forge
libxslt                   1.1.33               h65864e5_2    conda-forge
libzip                    1.8.0                hfed4ece_0    conda-forge
libzopfli                 1.0.3                h0e60522_0    conda-forge
llvmlite                  0.37.0           py38h57a6900_0    conda-forge
locket                    0.2.0                      py_2    conda-forge
lunarcalendar             0.0.9                      py_0    conda-forge
lxml                      4.6.3            py38h292cb97_0    conda-forge
lz4-c                     1.9.3                h8ffe710_1    conda-forge
lzo                       2.10              he774522_1000    conda-forge
m2-msys2-runtime          2.5.0.17080.65c939c               3    conda-forge
m2-patch                  2.7.5                         2    conda-forge
m2w64-binutils            2.25.1                        5    conda-forge
m2w64-bzip2               1.0.6                         6    conda-forge
m2w64-crt-git             5.0.0.4636.2595836               2    conda-forge
m2w64-gcc                 5.3.0                         6    conda-forge
m2w64-gcc-ada             5.3.0                         6    conda-forge
m2w64-gcc-fortran         5.3.0                         6    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gcc-objc            5.3.0                         6    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-headers-git         5.0.0.4636.c0ad18a               2    conda-forge
m2w64-isl                 0.16.1                        2    conda-forge
m2w64-libiconv            1.14                          6    conda-forge
m2w64-libmangle-git       5.0.0.4509.2e5a9a2               2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
m2w64-make                4.1.2351.a80a8b8               2    conda-forge
m2w64-mpc                 1.0.3                         3    conda-forge
m2w64-mpfr                3.1.4                         4    conda-forge
m2w64-pkg-config          0.29.1                        2    conda-forge
m2w64-toolchain           5.3.0                         7    conda-forge
m2w64-toolchain_win-64    2.4.0                         0    conda-forge
m2w64-tools-git           5.0.0.4592.90b8472               2    conda-forge
m2w64-windows-default-manifest 6.4                           3    conda-forge
m2w64-winpthreads-git     5.0.0.4634.697f757               2    conda-forge
m2w64-zlib                1.2.8                        10    conda-forge
markupsafe                1.1.1            py38h294d835_3    conda-forge
matplotlib                3.4.3            py38haa244fe_0    conda-forge
matplotlib-base           3.4.3            py38h1f000d6_0    conda-forge
matplotlib-inline         0.1.2              pyhd8ed1ab_2    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
menuinst                  1.4.17           py38haa244fe_1    conda-forge
mistune                   0.8.4           py38h294d835_1004    conda-forge
mkl                       2021.3.0           hb70f87d_564    conda-forge
mkl-service               2.4.0            py38h294d835_0    conda-forge
mkl_fft                   1.3.0            py38h277e83a_2
mkl_random                1.2.2            py38h60cbd38_0    conda-forge
mock                      4.0.3            py38haa244fe_1    conda-forge
more-itertools            8.8.0              pyhd8ed1ab_0    conda-forge
mpc                       1.1.0             h7edee0f_1009    conda-forge
mpfr                      4.1.0                h8d14728_1    conda-forge
mpir                      3.0.0             he025d50_1002    conda-forge
mpmath                    1.2.1              pyhd8ed1ab_0    conda-forge
msgpack-python            1.0.2            py38hbd9d945_1    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
multipledispatch          0.6.0                      py_0    conda-forge
mypy_extensions           0.4.3            py38haa244fe_3    conda-forge
navigator-updater         0.2.1                    py38_0
nbclassic                 0.3.1              pyhd8ed1ab_1    conda-forge
nbclient                  0.5.4              pyhd8ed1ab_0    conda-forge
nbconvert                 6.1.0            py38haa244fe_0    conda-forge
nbformat                  5.1.3              pyhd8ed1ab_0    conda-forge
nest-asyncio              1.5.1              pyhd8ed1ab_0    conda-forge
netcdf4                   1.5.7           nompi_py38h0500770_102    conda-forge
networkx                  2.6.2              pyhd8ed1ab_0    conda-forge
nltk                      3.6.2              pyhd8ed1ab_0    conda-forge
nose                      1.3.7                   py_1006    conda-forge
notebook                  6.4.3              pyha770c72_0    conda-forge
numba                     0.54.0           py38h5858985_0    conda-forge
numexpr                   2.7.3            py38h4c96930_0    conda-forge
numpy                     1.20.3           py38ha4e8547_0
numpy-base                1.20.3           py38hc2deb75_0
numpydoc                  1.1.0                      py_1    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openjpeg                  2.4.0                hb211442_1    conda-forge
openpyxl                  3.0.7              pyhd8ed1ab_0    conda-forge
openssl                   1.1.1l               h8ffe710_0    conda-forge
packaging                 21.0               pyhd8ed1ab_0    conda-forge
pandas                    1.3.2            py38h5d928e2_0    conda-forge
pandoc                    2.14.2               h8ffe710_0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
paramiko                  2.7.2              pyh9f0ad1d_0    conda-forge
parso                     0.7.0                      py_0
partd                     1.2.0              pyhd8ed1ab_0    conda-forge
path                      16.2.0           py38haa244fe_0    conda-forge
path.py                   12.5.0                        0    conda-forge
pathlib2                  2.3.6            py38haa244fe_0    conda-forge
pathspec                  0.9.0              pyhd8ed1ab_0    conda-forge
pathtools                 0.1.2                      py_1    conda-forge
patsy                     0.5.1                      py_0    conda-forge
pep8                      1.7.1                      py_0    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    8.3.1            py38h794f750_0    conda-forge
pip                       21.2.4             pyhd8ed1ab_0    conda-forge
pkginfo                   1.7.1              pyhd8ed1ab_0    conda-forge
platformdirs              2.3.0              pyhd8ed1ab_0    conda-forge
pluggy                    0.13.1           py38haa244fe_4    conda-forge
ply                       3.11                       py_1    conda-forge
pooch                     1.5.1              pyhd8ed1ab_0    conda-forge
poyo                      0.5.0                      py_0    conda-forge
prometheus_client         0.11.0             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.20             pyha770c72_0    conda-forge
prompt_toolkit            3.0.20               hd8ed1ab_0    conda-forge
prophet                   1.0.1            py38h43734a8_3    conda-forge
psutil                    5.8.0            py38h294d835_1    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
py                        1.10.0             pyhd3deb0d_0    conda-forge
py-lief                   0.11.5           py38h885f38d_0    conda-forge
pycodestyle               2.6.0              pyh9f0ad1d_0    conda-forge
pycosat                   0.6.3           py38h294d835_1006    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pycurl                    7.44.1           py38hdf897c8_0    conda-forge
pydocstyle                6.1.1              pyhd8ed1ab_0    conda-forge
pyerfa                    2.0.0            py38hcb5f9af_0    conda-forge
pyflakes                  2.2.0              pyh9f0ad1d_0    conda-forge
pygments                  2.10.0             pyhd8ed1ab_0    conda-forge
pylint                    2.10.2             pyhd8ed1ab_0    conda-forge
pyls-black                0.4.6              pyh9f0ad1d_0    conda-forge
pyls-spyder               0.3.2              pyhd3eb1b0_0
pymeeus                   0.5.10             pyhd8ed1ab_0    conda-forge
pynacl                    1.4.0            py38h31c79cd_2    conda-forge
pyodbc                    4.0.32           py38h885f38d_0    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyqt                      5.12.3           py38haa244fe_7    conda-forge
pyqt-impl                 5.12.3           py38h885f38d_7    conda-forge
pyqt5-sip                 4.19.18          py38h885f38d_7    conda-forge
pyqtchart                 5.12             py38h885f38d_7    conda-forge
pyqtwebengine             5.12.1           py38h885f38d_7    conda-forge
pyreadline                2.1             py38haa244fe_1003    conda-forge
pyrsistent                0.17.3           py38h294d835_2    conda-forge
pysocks                   1.7.1            py38haa244fe_3    conda-forge
pystan                    2.19.1.1         py38h02adce6_3    conda-forge
pytables                  3.6.1            py38h7deab4d_4    conda-forge
pytest                    6.2.5            py38haa244fe_0    conda-forge
python                    3.8.10          h7840368_1_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-jsonrpc-server     0.4.0              pyh9f0ad1d_0    conda-forge
python-language-server    0.36.2             pyhd8ed1ab_0    conda-forge
python-libarchive-c       3.1              py38haa244fe_0    conda-forge
python-slugify            5.0.2              pyhd8ed1ab_0    conda-forge
python_abi                3.8                      2_cp38    conda-forge
pytz                      2021.1             pyhd8ed1ab_0    conda-forge
pywavelets                1.1.1            py38h347fdf6_3    conda-forge
pywin32                   301              py38h294d835_0    conda-forge
pywin32-ctypes            0.2.0           py38haa244fe_1003    conda-forge
pywinpty                  1.1.4            py38hd3f51b4_0    conda-forge
pyyaml                    5.4.1            py38h294d835_1    conda-forge
pyzmq                     22.2.1           py38h09162b1_0    conda-forge
qdarkstyle                3.0.2              pyhd8ed1ab_0    conda-forge
qstylizer                 0.2.1              pyhd8ed1ab_0    conda-forge
qt                        5.12.9               h5909a2a_4    conda-forge
qtawesome                 1.0.3              pyhd8ed1ab_0    conda-forge
qtconsole                 5.1.1              pyhd8ed1ab_0    conda-forge
qtpy                      1.10.0             pyhd8ed1ab_0    conda-forge
regex                     2021.8.28        py38h294d835_0    conda-forge
requests                  2.26.0             pyhd8ed1ab_0    conda-forge
requests-unixsocket       0.2.0                      py_0    conda-forge
ripgrep                   13.0.0               h7f3b576_0    conda-forge
rope                      0.19.0             pyhd8ed1ab_0    conda-forge
rtree                     0.9.7            py38h8b54edf_2    conda-forge
ruamel_yaml               0.15.80         py38h294d835_1004    conda-forge
scikit-image              0.18.3           py38h5d928e2_0    conda-forge
scikit-learn              0.24.2           py38hb60ee80_1    conda-forge
scipy                     1.7.1            py38ha1292f7_0    conda-forge
seaborn                   0.11.2               hd8ed1ab_0    conda-forge
seaborn-base              0.11.2             pyhd8ed1ab_0    conda-forge
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setuptools                57.4.0           py38haa244fe_0    conda-forge
simplegeneric             0.8.1                      py_1    conda-forge
singledispatch            3.6.1              pyh44b312d_0    conda-forge
sip                       4.19.25          py38h885f38d_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.8                ha925a31_3    conda-forge
sniffio                   1.2.0            py38haa244fe_1    conda-forge
snowballstemmer           2.1.0              pyhd8ed1ab_0    conda-forge
sortedcollections         2.1.0              pyhd8ed1ab_0    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.0.1                      py_1    conda-forge
sphinx                    4.1.2              pyh6c4a22f_1    conda-forge
sphinxcontrib             1.0                      py38_1
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    2.0.0              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_0    conda-forge
sphinxcontrib-websupport  1.2.4              pyh9f0ad1d_0    conda-forge
spyder-kernels            2.1.1            py38haa244fe_0    conda-forge
sqlalchemy                1.4.23           py38h294d835_0    conda-forge
sqlite                    3.36.0               h8ffe710_0    conda-forge
statsmodels               0.12.2           py38h347fdf6_0    conda-forge
sympy                     1.8              py38haa244fe_0    conda-forge
tbb                       2021.3.0             h2d74725_0    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
terminado                 0.11.1           py38haa244fe_0    conda-forge
testpath                  0.5.0              pyhd8ed1ab_0    conda-forge
text-unidecode            1.3                        py_0    conda-forge
textdistance              4.2.1              pyhd8ed1ab_0    conda-forge
threadpoolctl             2.2.0              pyh8a188c0_0    conda-forge
three-merge               0.1.1              pyh9f0ad1d_0    conda-forge
tifffile                  2021.8.30          pyhd8ed1ab_0    conda-forge
tinycss2                  1.1.0              pyhd8ed1ab_0    conda-forge
tk                        8.6.11               h8ffe710_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     1.2.1              pyhd8ed1ab_0    conda-forge
toolz                     0.11.1                     py_0    conda-forge
tornado                   6.1              py38h294d835_1    conda-forge
tqdm                      4.62.2             pyhd8ed1ab_0    conda-forge
tradingeconomics          0.2.979                  py38_0    tradingeconomics
traitlets                 5.1.0              pyhd8ed1ab_0    conda-forge
typed-ast                 1.4.3            py38h294d835_0    conda-forge
typing_extensions         3.10.0.0           pyha770c72_0    conda-forge
ucrt                      10.0.20348.0         h57928b3_0    conda-forge
ujson                     4.0.2            py38h885f38d_0    conda-forge
unicodecsv                0.14.1                     py_1    conda-forge
unidecode                 1.2.0              pyhd8ed1ab_0    conda-forge
urllib3                   1.26.6             pyhd8ed1ab_0    conda-forge
vc                        14.2                 hb210afc_5    conda-forge
vs2015_runtime            14.29.30037          h902a5da_5    conda-forge
watchdog                  2.1.5            py38haa244fe_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          0.57.0           py38haa244fe_4    conda-forge
werkzeug                  2.0.1              pyhd8ed1ab_0    conda-forge
wheel                     0.37.0             pyhd8ed1ab_1    conda-forge
widgetsnbextension        3.5.1            py38haa244fe_4    conda-forge
win_inet_pton             1.1.0            py38haa244fe_2    conda-forge
win_unicode_console       0.5             py38h32f6830_1001    conda-forge
wincertstore              0.2             py38haa244fe_1006    conda-forge
winpty                    0.4.3                         4    conda-forge
wrapt                     1.12.1           py38h294d835_3    conda-forge
xarray                    0.19.0             pyhd8ed1ab_1    conda-forge
xlrd                      2.0.1              pyhd8ed1ab_3    conda-forge
xlsxwriter                3.0.1              pyhd8ed1ab_0    conda-forge
xlwings                   0.24.9           py38haa244fe_0    conda-forge
xlwt                      1.3.0                      py_1    conda-forge
xmltodict                 0.12.0                     py_0    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
yaml                      0.2.5                he774522_0    conda-forge
yapf                      0.31.0             pyhd8ed1ab_0    conda-forge
zeromq                    4.3.4                h0e60522_1    conda-forge
zfp                       0.5.5                h0e60522_5    conda-forge
zict                      2.0.0                      py_0    conda-forge
zipp                      3.5.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.11            h62dcd97_1010    conda-forge
zope                      1.0                      py38_1
zope.event                4.5.0              pyh9f0ad1d_0    conda-forge
zope.interface            5.4.0            py38h294d835_0    conda-forge
zstd                      1.5.0                h6255e5f_0    conda-forge
dkent287 commented 3 years ago

I don't think so but could you share with us the list of packages your using when the code fails? Also, maybe doing a diff of the packages list between the install with Spyder 5.0.3 and the one with Spyder 5.1.4 could give us some clues.

Here is the diff (i.e. diff list1 list2)

< # packages in environment at C:\Users\dkent\Anaconda3\envs\env3:
---
> # packages in environment at C:\Users\dkent\Anaconda3\envs\env2:
> _ipyw_jlab_nb_ext_conf    0.1.0                    py38_0
4a6,9
> anaconda-client           1.7.2              pyhd8ed1ab_1    conda-forge
> anaconda-project          0.10.1             pyhd8ed1ab_0    conda-forge
> anyio                     3.3.0            py38haa244fe_0    conda-forge
> appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
5a11
> argon2-cffi               20.1.0           py38h294d835_2    conda-forge
7a14
> asn1crypto                1.4.0              pyh9f0ad1d_0    conda-forge
8a16
> astropy                   4.3.1            py38h294d835_0    conda-forge
12c20
< autopep8                  1.5.6              pyhd8ed1ab_0    conda-forge
---
> autopep8                  1.5.5              pyh44b312d_0    conda-forge
16a25
> backports.shutil_get_terminal_size 1.0.0                      py_3    conda-forge
17a27
> beautifulsoup4            4.9.3              pyhb0f4dca_0    conda-forge
18a29,30
> bitarray                  2.3.2            py38h294d835_0    conda-forge
> bkcharts                  0.2                      py38_0
19a32
> blas                      1.0                         mkl
20a34,37
> blosc                     1.21.0               h0e60522_0    conda-forge
> bokeh                     2.3.3            py38haa244fe_0    conda-forge
> boto                      2.49.0                     py_0    conda-forge
> bottleneck                1.3.2            py38h6f4d8f0_4    conda-forge
23a41,42
> cached-property           1.5.2                hd8ed1ab_1    conda-forge
> cached_property           1.5.2              pyha770c72_1    conda-forge
25a45
> cfitsio                   3.470                h0af3d06_7    conda-forge
27a48,49
> charls                    2.2.0                h39d44d4_0    conda-forge
> charset-normalizer        2.0.0              pyhd8ed1ab_0    conda-forge
29a52
> clyent                    1.2.2                      py_1    conda-forge
30a54,60
> comtypes                  1.1.10           py38haa244fe_0    conda-forge
> conda-content-trust       0.1.3              pyhd8ed1ab_0    conda-forge
> conda-pack                0.6.0              pyhd3deb0d_0    conda-forge
> conda-package-handling    1.7.3            py38h31c79cd_0    conda-forge
> conda-repo-cli            1.0.4              pyhd3eb1b0_0
> conda-verify              3.1.1           py38haa244fe_1003    conda-forge
> contextlib2               21.6.0             pyhd8ed1ab_0    conda-forge
32c62
< cookiecutter              1.7.0                      py_0    conda-forge
---
> cookiecutter              1.7.3              pyh6c4a22f_0    conda-forge
36a67,69
> cytoolz                   0.11.0           py38h294d835_3    conda-forge
> dask                      2021.8.1           pyhd8ed1ab_0    conda-forge
> dask-core                 2021.8.1           pyhd8ed1ab_0    conda-forge
39c72
< decorator                 5.0.9              pyhd8ed1ab_0    conda-forge
---
> decorator                 4.4.2                      py_0    conda-forge
41a75
> distributed               2021.8.1         py38haa244fe_0    conda-forge
44a79,81
> et_xmlfile                1.0.1                   py_1001    conda-forge
> fastcache                 1.1.0            py38h294d835_2    conda-forge
> filelock                  3.0.12             pyh9f0ad1d_0    conda-forge
45a83
> flask                     1.1.2              pyh9f0ad1d_0    conda-forge
46a85
> fsspec                    2021.8.1           pyhd8ed1ab_0    conda-forge
47a87,94
> get_terminal_size         1.0.0                h38e98db_0
> gevent                    21.8.0           py38h294d835_0    conda-forge
> giflib                    5.2.1                h8d14728_2    conda-forge
> git                       2.33.0               h57928b3_0    conda-forge
> glob2                     0.7                        py_0    conda-forge
> gmpy2                     2.1.0b5          py38hb63f22f_0    conda-forge
> greenlet                  1.1.1            py38h885f38d_0    conda-forge
> h5py                      3.4.0           nompi_py38hde0384b_100    conda-forge
49a97
> heapdict                  1.0.1                      py_0    conda-forge
51a100,101
> html5lib                  1.1                pyh9f0ad1d_0    conda-forge
> icc_rt                    2019.0.0             h0cc432a_1
53c103,105
< idna                      2.10               pyh9f0ad1d_0    conda-forge
---
> idna                      3.1                pyhd3deb0d_0    conda-forge
> imagecodecs               2021.7.30        py38hc88f965_0    conda-forge
> imageio                   2.9.0                      py_0    conda-forge
58c110,111
< intel-openmp              2020.2                      254    anaconda
---
> iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
> intel-openmp              2021.3.0          h57928b3_3372    conda-forge
62a116
> ipywidgets                7.6.4              pyhd8ed1ab_0    conda-forge
64c118,119
< jbig                      2.1               h8d14728_2003    conda-forge
---
> itsdangerous              2.0.1              pyhd8ed1ab_0    conda-forge
> jdcal                     1.4.1                      py_0    conda-forge
65a121
> jinja2                    2.11.3             pyh44b312d_0    conda-forge
67,68c123
< jinja2                    3.0.1              pyhd8ed1ab_0    conda-forge
< joblib                    0.17.0                     py_0    anaconda
---
> joblib                    1.0.1              pyhd8ed1ab_0    conda-forge
69a125
> json5                     0.9.5              pyh9f0ad1d_0    conda-forge
71c127,129
< jupyter_client            7.0.2              pyhd8ed1ab_0    conda-forge
---
> jupyter                   1.0.0            py38haa244fe_6    conda-forge
> jupyter_client            6.1.12             pyhd8ed1ab_0    conda-forge
> jupyter_console           6.4.0              pyhd8ed1ab_0    conda-forge
72a131,132
> jupyter_server            1.10.2             pyhd8ed1ab_0    conda-forge
> jupyterlab                3.1.10             pyhd8ed1ab_0    conda-forge
73a134,136
> jupyterlab_server         2.7.2              pyhd8ed1ab_0    conda-forge
> jupyterlab_widgets        1.0.1              pyhd8ed1ab_0    conda-forge
> jxrlib                    1.1                  h8ffe710_2    conda-forge
80a144,145
> libaec                    1.0.5                h39d44d4_0    conda-forge
> libarchive                3.5.2                hb45042f_0    conda-forge
81a147,149
> libbrotlicommon           1.0.9                h8ffe710_5    conda-forge
> libbrotlidec              1.0.9                h8ffe710_5    conda-forge
> libbrotlienc              1.0.9                h8ffe710_5    conda-forge
85c153,154
< libdeflate                1.7                  h8ffe710_5    conda-forge
---
> libdeflate                1.8                  h8ffe710_0    conda-forge
> libiconv                  1.16                 he774522_0    conda-forge
86a156,157
> liblief                   0.11.5               h0e60522_0    conda-forge
> libllvm9                  9.0.1                hab3b255_3    conda-forge
93c164,167
< libtiff                   4.3.0                h0c97f57_1    conda-forge
---
> libtiff                   4.3.0                h0c97f57_0    conda-forge
> libwebp-base              1.2.1                h8ffe710_0    conda-forge
> libxml2                   2.9.12               hf5bbc77_0    conda-forge
> libxslt                   1.1.33               h65864e5_2    conda-forge
94a169,171
> libzopfli                 1.0.3                h0e60522_0    conda-forge
> llvmlite                  0.37.0           py38h57a6900_0    conda-forge
> locket                    0.2.0                      py_2    conda-forge
95a173
> lxml                      4.6.3            py38h292cb97_0    conda-forge
96a175,177
> lzo                       2.10              he774522_1000    conda-forge
> m2-msys2-runtime          2.5.0.17080.65c939c               3    conda-forge
> m2-patch                  2.7.5                         2    conda-forge
99a181
> m2w64-gcc                 5.3.0                         6    conda-forge
103d184
< m2w64-gcc-libs-core       5.3.0                         7    conda-forge
104a186
> m2w64-gcc-libs-core       5.3.0                         7    conda-forge
106d187
< m2w64-gcc                 5.3.0                         6    conda-forge
123c204,205
< markupsafe                2.0.1            py38h294d835_0    conda-forge
---
> markupsafe                1.1.1            py38h294d835_3    conda-forge
> matplotlib                3.4.3            py38haa244fe_0    conda-forge
126a209
> menuinst                  1.4.17           py38haa244fe_1    conda-forge
128a212,221
> mkl-service               2.4.0            py38h294d835_0    conda-forge
> mkl_fft                   1.3.0            py38h277e83a_2
> mkl_random                1.2.2            py38h60cbd38_0    conda-forge
> mock                      4.0.3            py38haa244fe_1    conda-forge
> more-itertools            8.8.0              pyhd8ed1ab_0    conda-forge
> mpc                       1.1.0             h7edee0f_1009    conda-forge
> mpfr                      4.1.0                h8d14728_1    conda-forge
> mpir                      3.0.0             he025d50_1002    conda-forge
> mpmath                    1.2.1              pyhd8ed1ab_0    conda-forge
> msgpack-python            1.0.2            py38hbd9d945_1    conda-forge
129a223
> multipledispatch          0.6.0                      py_0    conda-forge
130a225,226
> navigator-updater         0.2.1                    py38_0
> nbclassic                 0.3.1              pyhd8ed1ab_1    conda-forge
136c232,239
< numpy                     1.21.2           py38h089cfbf_0    conda-forge
---
> networkx                  2.6.2              pyhd8ed1ab_0    conda-forge
> nltk                      3.6.2              pyhd8ed1ab_0    conda-forge
> nose                      1.3.7                   py_1006    conda-forge
> notebook                  6.4.3              pyha770c72_0    conda-forge
> numba                     0.54.0           py38h5858985_0    conda-forge
> numexpr                   2.7.3            py38h4c96930_0    conda-forge
> numpy                     1.20.3           py38ha4e8547_0
> numpy-base                1.20.3           py38hc2deb75_0
139a243
> openpyxl                  3.0.7              pyhd8ed1ab_0    conda-forge
142c246
< pandas                    1.1.3            py38ha925a31_0    anaconda
---
> pandas                    1.3.2            py38h5d928e2_0    conda-forge
146c250,254
< parso                     0.7.0              pyh9f0ad1d_0    conda-forge
---
> parso                     0.7.0                      py_0
> partd                     1.2.0              pyhd8ed1ab_0    conda-forge
> path                      16.2.0           py38haa244fe_0    conda-forge
> path.py                   12.5.0                        0    conda-forge
> pathlib2                  2.3.6            py38haa244fe_0    conda-forge
147a256
> pathtools                 0.1.2                      py_1    conda-forge
148a258
> pep8                      1.7.1                      py_0    conda-forge
151c261
< pillow                    8.3.2            py38h794f750_0    conda-forge
---
> pillow                    8.3.1            py38h794f750_0    conda-forge
152a263
> pkginfo                   1.7.1              pyhd8ed1ab_0    conda-forge
154a266,267
> ply                       3.11                       py_1    conda-forge
> pooch                     1.5.1              pyhd8ed1ab_0    conda-forge
155a269
> prometheus_client         0.11.0             pyhd8ed1ab_0    conda-forge
156a271
> prompt_toolkit            3.0.20               hd8ed1ab_0    conda-forge
159a275,276
> py                        1.10.0             pyhd3deb0d_0    conda-forge
> py-lief                   0.11.5           py38h885f38d_0    conda-forge
160a278
> pycosat                   0.6.3           py38h294d835_1006    conda-forge
161a280
> pycurl                    7.44.1           py38hdf897c8_0    conda-forge
162a282
> pyerfa                    2.0.0            py38hcb5f9af_0    conda-forge
167c287
< pyls-spyder               0.3.2              pyhd8ed1ab_0    conda-forge
---
> pyls-spyder               0.3.2              pyhd3eb1b0_0
169a290
> pyodbc                    4.0.32           py38h885f38d_0    conda-forge
172d292
< pyqt-impl                 5.12.3           py38h885f38d_7    conda-forge
173a294
> pyqt-impl                 5.12.3           py38h885f38d_7    conda-forge
176a298
> pyreadline                2.1             py38haa244fe_1003    conda-forge
179a302,304
> pytables                  3.6.1            py38h7deab4d_4    conda-forge
> pytest                    6.2.5            py38haa244fe_0    conda-forge
> python                    3.8.10          h7840368_1_cpython    conda-forge
183c308,309
< python                    3.8.10          h7840368_1_cpython    conda-forge
---
> python-libarchive-c       3.1              py38haa244fe_0    conda-forge
> python-slugify            5.0.2              pyhd8ed1ab_0    conda-forge
186c312
< pywin32-ctypes            0.2.0           py38haa244fe_1003    conda-forge
---
> pywavelets                1.1.1            py38h347fdf6_3    conda-forge
187a314,315
> pywin32-ctypes            0.2.0           py38haa244fe_1003    conda-forge
> pywinpty                  1.1.4            py38hd3f51b4_0    conda-forge
195c323
< qtpy                      1.11.0             pyhd8ed1ab_0    conda-forge
---
> qtpy                      1.10.0             pyhd8ed1ab_0    conda-forge
197c325,327
< requests                  2.25.1             pyhd3deb0d_0    conda-forge
---
> requests                  2.26.0             pyhd8ed1ab_0    conda-forge
> requests-unixsocket       0.2.0                      py_0    conda-forge
> ripgrep                   13.0.0               h7f3b576_0    conda-forge
200c330,332
< scikit-learn              0.23.2           py38h47e9c7a_0    anaconda
---
> ruamel_yaml               0.15.80         py38h294d835_1004    conda-forge
> scikit-image              0.18.3           py38h5d928e2_0    conda-forge
> scikit-learn              0.24.2           py38hb60ee80_1    conda-forge
201a334,336
> seaborn                   0.11.2               hd8ed1ab_0    conda-forge
> seaborn-base              0.11.2             pyhd8ed1ab_0    conda-forge
> send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
202a338,340
> simplegeneric             0.8.1                      py_1    conda-forge
> singledispatch            3.6.1              pyh44b312d_0    conda-forge
> sip                       4.19.25          py38h885f38d_0    conda-forge
203a342,343
> snappy                    1.1.8                ha925a31_3    conda-forge
> sniffio                   1.2.0            py38haa244fe_1    conda-forge
204a345
> sortedcollections         2.1.0              pyhd8ed1ab_0    conda-forge
205a347
> soupsieve                 2.0.1                      py_1    conda-forge
206a349
> sphinxcontrib             1.0                      py38_1
213,214c356,358
< spyder-kernels            2.0.5            py38haa244fe_0    conda-forge
< spyder                    5.0.3            py38haa244fe_0    conda-forge
---
> sphinxcontrib-websupport  1.2.4              pyh9f0ad1d_0    conda-forge
> spyder-kernels            2.1.1            py38haa244fe_0    conda-forge
> sqlalchemy                1.4.23           py38h294d835_0    conda-forge
216c360,361
< statsmodels               0.12.2           py38h6f4d8f0_0    conda-forge
---
> statsmodels               0.12.2           py38h347fdf6_0    conda-forge
> sympy                     1.8              py38haa244fe_0    conda-forge
217a363,364
> tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
> terminado                 0.11.1           py38haa244fe_0    conda-forge
218a366
> text-unidecode            1.3                        py_0    conda-forge
220c368
< threadpoolctl             2.1.0              pyh5ca1d4c_0    anaconda
---
> threadpoolctl             2.2.0              pyh8a188c0_0    conda-forge
221a370
> tifffile                  2021.8.30          pyhd8ed1ab_0    conda-forge
225a375
> toolz                     0.11.1                     py_0    conda-forge
233a384,385
> unicodecsv                0.14.1                     py_1    conda-forge
> unidecode                 1.2.0              pyhd8ed1ab_0    conda-forge
237c389
< watchdog                  1.0.2            py38haa244fe_1    conda-forge
---
> watchdog                  2.1.5            py38haa244fe_0    conda-forge
240a393
> werkzeug                  2.0.1              pyhd8ed1ab_0    conda-forge
242c395
< whichcraft                0.6.1                      py_0    conda-forge
---
> widgetsnbextension        3.5.1            py38haa244fe_4    conda-forge
243a397,399
> win_unicode_console       0.5             py38h32f6830_1001    conda-forge
> wincertstore              0.2             py38haa244fe_1006    conda-forge
> winpty                    0.4.3                         4    conda-forge
245a402
> xlrd                      2.0.1              pyhd8ed1ab_3    conda-forge
246a404,406
> xlwings                   0.24.9           py38haa244fe_0    conda-forge
> xlwt                      1.3.0                      py_1    conda-forge
> xmltodict                 0.12.0                     py_0    conda-forge
250a411,412
> zfp                       0.5.5                h0e60522_5    conda-forge
> zict                      2.0.0                      py_0    conda-forge
252a415,417
> zope                      1.0                      py38_1
> zope.event                4.5.0              pyh9f0ad1d_0    conda-forge
> zope.interface            5.4.0            py38h294d835_0    conda-forge
ccordoba12 commented 3 years ago

FileNotFoundError: Could not find module 'C:\Users\dkent\Anaconda3\envs\env2\lib\site-packages\scipy.libs\libbanded5x.UGR6EUQPIWHQH7SL62IWIXB5545VDNQZ.gfortran-win_amd64.dll' (or one of its dependencies). Try using the full path with constructor syntax.

You omitted this crucial part, which shows that this problem has nothing to do with Spyder. Please recreate your environment and install everything from conda-forge. The problem is conda-forge and defaults packages are binary incompatible, so you can't mix them (as you're doing right now).

dkent287 commented 3 years ago

You omitted this crucial part, which shows that this problem has nothing to do with Spyder. Please recreate your environment and install everything from conda-forge. The problem is conda-forge and defaults packages are binary incompatible, so you can't mix them (as you're doing right now).

That worked - works find now.