scipp: conda package on Windows does not work
Steps to reproduce:
- Install fresh Anaconda with Python3 as per instructions https://docs.anaconda.com/anaconda/install/windows/
conda create -n scipp -c conda-forge -c scipp/label/dev scipp
import scipp
fails withImportError: DLL load failed: The specified module could not be found.
at https://github.com/scipp/scipp/blob/90f6eb1e96f81979151fe06222f67c2b91f0022e/python/src/scipp/__init__.py#L13.
Things we tried:
- It works for Piotr with an existing Anaconda install. We failed to determine the difference.
- Does not work with the release channel either.
- Does not work without
conda-forge
either(related issue: apparently withoutconda-forge
and extremely old version of scipp is installed?).
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (18 by maintainers)
Commits related to this issue
- Added a note for Windows users telling them to download and install the up-to-date VC runtime. #1007 — committed to scipp/scipp by rozyczko 4 years ago
One of the VMs we have exhibits this behaviour. It has conda with python 3.8 installed as local user (to c:\users).
Identical setup on two other machines runs scipp successfully.
Compared:
conda version: 4.8.2
python version: 3.8.2
%PATH% for relevant sections
%PYTHONPATH%
conda list: identical entries after running the same command:
conda create -n scipp -c conda-forge -c scipp/label/dev python=3.8 scipp
redid the environment with python=3.7 but still getting the same
ImportError
.One difference - the affected VM runs Danish version of OS (Win10 64). Not an issue, most likely.