astroconda / astroconda-releases

This repository is used for preparing and recording deliveries
Other
5 stars 9 forks source link

Installing astroconda-releases/hstdp/2019.5.2/ through anaconda on Windows 10 gives TypeError('not all arguments converted during string formatting') #136

Open wostling opened 3 years ago

wostling commented 3 years ago

EDIT: all commands were tried through anaconda prompt

Problem: I have been trying to install astroconda in order to magnitude calibrate HLA data, and the installation through github has always yielded the problem: TypeError('not all arguments converted during string formatting')

Steps to Reproduce: Windows 10, Anaconda version 2021.05, all required C++ libraries installed

Conda commands tried: conda create -n hstdp-2019.5.2 --file http://ssb.stsci.edu/releases/hstdp/2019.5.2/latest-linux conda create -n hstdp-2019.5.2 --file http://ssb.stsci.edu/releases/hstdp/2019.5.2/latest-linux --force

These commands both yield this error message:

C:\Users\willi>conda create -n hstdp-2019.5.2 --file http://ssb.stsci.edu/releases/hstdp/2019.5.2/latest-linux

Downloading and Extracting Packages
blas-1.0             | ##################################################################################################################################################################################################################################################################### | 100%
ca-certificates-2019 | ##################################################################################################################################################################################################################################################################### | 100%
cfitsio-3.440        | ##################################################################################################################################################################################################################################################################### | 100%
intel-openmp-2019.3  | ##################################################################################################################################################################################################################################################################### | 100%
jpeg-9b              | ##################################################################################################################################################################################################################################################################### | 100%
libgcc-ng-8.2.0      | ##################################################################################################################################################################################################################################################################### | 100%
libgfortran-ng-7.3.0 | ##################################################################################################################################################################################################################################################################### | 100%
libstdcxx-ng-8.2.0   | ##################################################################################################################################################################################################################################################################### | 100%
expat-2.2.6          | ##################################################################################################################################################################################################################################################################### | 100%
fitsverify-4.18      | ##################################################################################################################################################################################################################################################################### | 100%
icu-58.2             | ##################################################################################################################################################################################################################################################################### | 100%
libffi-3.2.1         | ##################################################################################################################################################################################################################################################################### | 100%
libgcc-7.2.0         | ##################################################################################################################################################################################################################################################################### | 100%
libuuid-1.0.3        | ##################################################################################################################################################################################################################################################################### | 100%
libxcb-1.13          | ##################################################################################################################################################################################################################################################################### | 100%
mkl-2019.3           | ##################################################################################################################################################################################################################################################################### | 100%
ncurses-6.1          | ##########################################################################1                                                                                                                                                                                           |  28% WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(143): Could not remove or rename C:\Users\willi\anaconda3\pkgs\ncurses-6.1-he6710b0_1.tar.bz2.  Please remove this file manually (you may need to reboot to free file handles)
ncurses-6.1          | ##################################################################################################################################################################################################################################################################### | 100%
openssl-1.1.1c       | ##################################################################################################################################################################################################################################################################### | 100%
pcre-8.43            | ##################################################################################################################################################################################################################################################################### | 100%
xz-5.2.4             | ##################################################################################################################################################################################################################################################################### | 100%
yaml-0.1.7           | ##################################################################################################################################################################################################################################################################### | 100%
zlib-1.2.11          | ##################################################################################################################################################################################################################################################################### | 100%
glib-2.56.2          | ##################################################################################################################################################################################################################################################################### | 100%
hstcal-2.3.1         | ##################################################################################################################################################################################################################################################################### | 100%
libedit-3.1.20181209 | ##################################################################################################################################################################################################################################################################### | 100%
libpng-1.6.37        | ##################################################################################################################################################################################################################################################################### | 100%
libxml2-2.9.9        | ##################################################################################################################################################################################################################################################################### | 100%
readline-7.0         | ##################################################################################################################################################################################################################################################################### | 100%
tk-8.6.8             | ##################################################################################################################################################################################################################################################################### | 100%
zstd-1.3.7           | ##################################################################################################################################################################################################################################################################### | 100%
dbus-1.13.6          | ##################################################################################################################################################################################################################################################################### | 100%
freetype-2.9.1       | ##################################################################################################################################################################################################################################################################### | 100%
gstreamer-1.14.0     | ##################################################################################################################################################################################################################################################################### | 100%
libtiff-4.0.10       | ##################################################################################################################################################################################################################################################################### | 100%
libxslt-1.1.33       | ##################################################################################################################################################################################################################################################################### | 100%
sqlite-3.28.0        | ##################################################################################################################################################################################################################################################################### | 100%
dbus-glib-0.108      | ##################################################################################################################################################################################################################################################################### | 100%
fontconfig-2.13.0    | ##################################################################################################################################################################################################################################################################### | 100%
gst-plugins-base-1.1 | ##################################################################################################################################################################################################################################################################### | 100%
python-3.6.8         | ##################################################################################################################################################################################################################################################################### | 100%
asn1crypto-0.24.0    | ##################################################################################################################################################################################################################################################################### | 100%
atomicwrites-1.3.0   | ##################################################################################################################################################################################################################################################################### | 100%
attrs-19.1.0         | ##################################################################################################################################################################################################################################################################### | 100%
certifi-2019.3.9     | ##################################################################################################################################################################################################################################################################### | 100%
chardet-3.0.4        | ##################################################################################################################################################################################################################################################################### | 100%
cloudpickle-1.0.0    | ##################################################################################################################################################################################################################################################################### | 100%
dask-core-1.2.2      | ##################################################################################################################################################################################################################################################################### | 100%
dbus-python-1.2.4    | ##################################################################################################################################################################################################################################################################### | 100%
decorator-4.4.0      | ##################################################################################################################################################################################################################################################################### | 100%
entrypoints-0.3      | ##################################################################################################################################################################################################################################################################### | 100%
filelock-3.0.10      | ##################################################################################################################################################################################################################################################################### | 100%
idna-2.8             | ##################################################################################################################################################################################################################################################################### | 100%
joblib-0.13.2        | ##################################################################################################################################################################################################################################################################### | 100%
kiwisolver-1.1.0     | ##################################################################################################################################################################################################################################################################### | 100%
lxml-4.3.3           | ##################################################################################################################################################################################################################################################################### | 100%
more-itertools-7.0.0 | ##################################################################################################################################################################################################################################################################### | 100%
numpy-base-1.16.4    | ##################################################################################################################################################################################################################################################################### | 100%
olefile-0.46         | ##################################################################################################################################################################################################################################################################### | 100%
parsley-1.3          | ##################################################################################################################################################################################################################################################################### | 100%
pluggy-0.11.0        | ##################################################################################################################################################################################################################################################################### | 100%
psutil-5.6.2         | ##################################################################################################################################################################################################################################################################### | 100%
py-1.8.0             | ##################################################################################################################################################################################################################################################################### | 100%
pycparser-2.19       | ##################################################################################################################################################################################################################################################################### | 100%
pyparsing-2.4.0      | ##################################################################################################################################################################################################################################################################### | 100%
pysocks-1.7.0        | ##################################################################################################################################################################################################################################################################### | 100%
pytz-2019.1          | ##################################################################################################################################################################################################################################################################### | 100%
pyyaml-5.1           | ##################################################################################################################################################################################################################################################################### | 100%
qt-5.9.7             | ##################################################################################################################################################################################################################################################################### | 100%
semantic_version-2.6 | ##################################################################################################################################################################################################################################################################### | 100%
sip-4.19.8           | ##################################################################################################################################################################################################################################################################### | 100%
six-1.12.0           | ##################################################################################################################################################################################################################################################################### | 100%
soupsieve-1.8        | ##################################################################################################################################################################################################################################################################### | 100%
toolz-0.9.0          | ##################################################################################################################################################################################################################################################################### | 100%
tornado-6.0.2        | ##################################################################################################################################################################################################################################################################### | 100%
wcwidth-0.1.7        | ##################################################################################################################################################################################################################################################################### | 100%
webencodings-0.5.1   | ##################################################################################################################################################################################################################################################################### | 100%
beautifulsoup4-4.7.1 | ##################################################################################################################################################################################################################################################################### | 100%
cffi-1.12.3          | ##################################################################################################################################################################################################################################################################### | 100%
cycler-0.10.0        | ##################################################################################################################################################################################################################################################################### | 100%
cytoolz-0.9.0.1      | ##################################################################################################################################################################################################################################################################### | 100%
html5lib-1.0.1       | ##################################################################################################################################################################################################################################################################### | 100%
mkl_random-1.0.2     | ##################################################################################################################################################################################################################################################################### | 100%
pillow-6.0.0         | ##################################################################################################################################################################################################################################################################### | 100%
pyqt-5.9.2           | ##################################################################################################################################################################################################################################################################### | 100%
python-dateutil-2.8. | ##################################################################################################################################################################################################################################################################### | 100%
setuptools-41.0.1    | ##################################################################################################################################################################################################################################################################### | 100%
cryptography-2.6.1   | ##################################################################################################################################################################################################################################################################### | 100%
cython-0.29.8        | ##################################################################################################################################################################################################################################################################### | 100%
d2to1-0.2.12         | ##################################################################################################################################################################################################################################################################### | 100%
jsonschema-2.6.0     | ##################################################################################################################################################################################################################################################################### | 100%
networkx-2.3         | ##################################################################################################################################################################################################################################################################### | 100%
nose-1.3.7           | ##################################################################################################################################################################################################################################################################### | 100%
pytest-4.5.0         | ##################################################################################################################################################################################################################################################################### | 100%
wheel-0.33.4         | ##################################################################################################################################################################################################################################################################### | 100%
pip-19.1.1           | ##################################################################################################################################################################################################################################################################### | 100%
pyopenssl-19.0.0     | ##################################################################################################################################################################################################################################################################### | 100%
pytest-openfiles-0.3 | ##################################################################################################################################################################################################################################################################### | 100%
pytest-remotedata-0. | ##################################################################################################################################################################################################################################################################### | 100%
secretstorage-2.3.1  | ##################################################################################################################################################################################################################################################################### | 100%
keyring-18.0.0       | ##################################################################################################################################################################################################################################################################### | 100%
urllib3-1.24.2       | ##################################################################################################################################################################################################################################################################### | 100%
requests-2.21.0      | ##################################################################################################################################################################################################################################################################### | 100%
asdf-2.3.3           | ##################################################################################################################################################################################################################################################################### | 100%
astroquery-0.3.9     | ##################################################################################################################################################################################################################################################################### | 100%
imageio-2.5.0        | ##################################################################################################################################################################################################################################################################### | 100%
matplotlib-3.1.0     | ##################################################################################################################################################################################################################################################################### | 100%
mkl_fft-1.0.12       | ##################################################################################################################################################################################################################################################################### | 100%
numpy-1.16.4         | ##################################################################################################################################################################################################################################################################### | 100%
pytest-arraydiff-0.3 | ##################################################################################################################################################################################################################################################################### | 100%
pytest-doctestplus-0 | ##################################################################################################################################################################################################################################################################### | 100%
pywavelets-1.0.3     | ##################################################################################################################################################################################################################################################################### | 100%
scipy-1.2.1          | ##################################################################################################################################################################################################################################################################### | 100%
stsci.convolve-2.2.2 | ##################################################################################################################################################################################################################################################################### | 100%
stsci.distutils-0.3. | ##################################################################################################################################################################################################################################################################### | 100%
stsci.imagestats-1.6 | ##################################################################################################################################################################################################################################################################### | 100%
stsci.stimage-0.2.2  | ##################################################################################################################################################################################################################################################################### | 100%
pytest-astropy-0.5.0 | ##################################################################################################################################################################################################################################################################### | 100%
scikit-image-0.15.0  | ##################################################################################################################################################################################################################################################################### | 100%
scikit-learn-0.21.1  | ##################################################################################################################################################################################################################################################################### | 100%
astropy-3.2.1        | ##################################################################################################################################################################################################################################################################### | 100%
crds-7.3.3           | ##################################################################################################################################################################################################################################################################### | 100%
gwcs-0.10.0          | ##################################################################################################################################################################################################################################################################### | 100%
photutils-0.7.1      | ##################################################################################################################################################################################################################################################################### | 100%
pysynphot-0.9.12     | ##################################################################################################################################################################################################################################################################### | 100%
reftools-1.7.4       | ##################################################################################################################################################################################################################################################################### | 100%
spherical-geometry-1 | ##################################################################################################################################################################################################################################################################### | 100%
stregion-1.1.4       | ##################################################################################################################################################################################################################################################################### | 100%
stsci.ndimage-0.10.1 | ##################################################################################################################################################################################################################################################################### | 100%
stsci.tools-3.6.0    | ##################################################################################################################################################################################################################################################################### | 100%
acstools-3.0.0       | ##################################################################################################################################################################################################################################################################### | 100%
calcos-3.3.7         | ##################################################################################################################################################################################################################################################################### | 100%
fitsblender-0.3.5    | ##################################################################################################################################################################################################################################################################### | 100%
nictools-1.1.4       | ##################################################################################################################################################################################################################################################################### | 100%
stistools-1.3.0      | ##################################################################################################################################################################################################################################################################### | 100%
stsci.image-2.3.1    | ##################################################################################################################################################################################################################################################################### | 100%
stsci.imagemanip-1.1 | ##################################################################################################################################################################################################################################################################### | 100%
stwcs-1.5.1          | ##################################################################################################################################################################################################################################################################### | 100%
tweakwcs-0.5.1       | ##################################################################################################################################################################################################################################################################### | 100%
wfc3tools-1.3.5      | ##################################################################################################################################################################################################################################################################### | 100%
wfpc2tools-1.0.4     | ##################################################################################################################################################################################################################################################################### | 100%
costools-1.2.3       | ##################################################################################################################################################################################################################################################################### | 100%
stsci.skypac-1.0.4   | ##################################################################################################################################################################################################################################################################### | 100%
drizzlepac-3.1.6     | ##################################################################################################################################################################################################################################################################### | 100%

TypeError('not all arguments converted during string formatting')

Alternate solutions tried: I also tried to install astroconda through the instructions detailed here, but apparently conda could not find the stsci module on the provided directory.

I also tried deleting the C:\Users\willi\anaconda3\pkgs\ncurses-6.1-he6710b0_1.tar.bz2. file, but when I retried the installation after deleting this file I got the same error message:

C:\Users\willi>conda create -n hstdp-2019.5.2 --file http://ssb.stsci.edu/releases/hstdp/2019.5.2/latest-linux

Downloading and Extracting Packages
ncurses-6.1          | ##################################################################################################################################################################################################################################################################### | 100%

TypeError('not all arguments converted during string formatting')
jhunkeler commented 3 years ago

The Astroconda channel does not provide packages for Windows. The files you are attempting to install the software with are for Linux. You will need to create a Linux virtual machine using VMWare or VirtualBox. Alternatively, install and configure WSL1 or WSL2.

wostling commented 3 years ago

Thank you! After installing WSL2 and installing astroconda through ubuntu, will it be possible to run jupyter notebook with astroconda in windows 10?