-
-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError while Running run_tardis() in Quickstart Notebook #1447
Comments
Can you roll back to python v3.7 to see if the error reappears? |
Please paste the output of |
Please check the output of #
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 1_gnu conda-forge
alabaster 0.7.12 py_0 conda-forge
appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
argon2-cffi 20.1.0 py38h497a2fe_2 conda-forge
astropy 3.2.3 py38h516909a_0 conda-forge
async_generator 1.10 py_0 conda-forge
atk-1.0 2.36.0 h3371d22_4 conda-forge
attrs 20.3.0 pyhd3deb0d_0 conda-forge
babel 2.9.0 pyhd3deb0d_0 conda-forge
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
backports 1.0 py_2 conda-forge
backports.functools_lru_cache 1.6.1 py_0 conda-forge
beautifulsoup4 4.9.3 pyhb0f4dca_0 conda-forge
binutils 2.35.1 hdd6e379_2 conda-forge
binutils_impl_linux-64 2.35.1 h193b22a_2 conda-forge
binutils_linux-64 2.35 hc3fd857_29 conda-forge
black 20.8b1 py_1 conda-forge
bleach 3.3.0 pyh44b312d_0 conda-forge
blosc 1.21.0 h9c3ff4c_0 conda-forge
brotlipy 0.7.0 py38h497a2fe_1001 conda-forge
bzip2 1.0.8 h7f98852_4 conda-forge
c-ares 1.17.1 h36c2ea0_0 conda-forge
c-compiler 1.1.3 h7f98852_0 conda-forge
ca-certificates 2020.12.5 ha878542_0 conda-forge
cached-property 1.5.1 py_0 conda-forge
cairo 1.16.0 h7979940_1007 conda-forge
certifi 2020.12.5 py38h578d9bd_1 conda-forge
cffi 1.14.4 py38ha65f79e_1 conda-forge
chardet 3.0.4 pypi_0 pypi
click 7.1.2 pyh9f0ad1d_0 conda-forge
colorama 0.4.4 pyh9f0ad1d_0 conda-forge
commonmark 0.9.1 py_0 conda-forge
compilers 1.1.3 ha770c72_0 conda-forge
coverage 5.4 py38h497a2fe_0 conda-forge
cryptography 3.3.1 py38h2b97feb_1 conda-forge
cxx-compiler 1.1.3 h4bd325d_0 conda-forge
cycler 0.10.0 py_2 conda-forge
cython 0.29.21 py38h709712a_2 conda-forge
dataclasses 0.7 pyhb2cacf7_7 conda-forge
dbus 1.13.6 hfdff14a_1 conda-forge
decorator 4.4.2 py_0 conda-forge
defusedxml 0.6.0 py_0 conda-forge
docopt 0.6.2 py_1 conda-forge
docutils 0.16 py38h578d9bd_3 conda-forge
dokuwiki 1.2.1 pypi_0 pypi
dot2tex 2.11.dev0 pypi_0 pypi
entrypoints 0.3 pyhd8ed1ab_1003 conda-forge
expat 2.2.10 h9c3ff4c_0 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 2.001 hab24e00_0 conda-forge
font-ttf-source-code-pro 2.030 hab24e00_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.13.1 hba837de_1004 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fortran-compiler 1.1.3 h1990efc_0 conda-forge
freetype 2.10.4 h0708190_1 conda-forge
fribidi 1.0.10 h36c2ea0_0 conda-forge
future 0.18.2 py38h578d9bd_3 conda-forge
gcc_impl_linux-64 9.3.0 h70c0ae5_18 conda-forge
gcc_linux-64 9.3.0 h7247604_29 conda-forge
gdk-pixbuf 2.42.2 h0c95a7a_2 conda-forge
gettext 0.19.8.1 h0b5b191_1005 conda-forge
gfortran_impl_linux-64 9.3.0 hc4a2995_18 conda-forge
gfortran_linux-64 9.3.0 ha1c937c_29 conda-forge
giflib 5.2.1 h36c2ea0_2 conda-forge
git-lfs 2.13.2 ha770c72_0 conda-forge
glib 2.66.4 hc4f0c31_2 conda-forge
glib-tools 2.66.4 hc4f0c31_2 conda-forge
graphite2 1.3.13 h58526e2_1001 conda-forge
graphviz 2.42.3 h6939c30_2 conda-forge
gst-plugins-base 1.14.5 h0935bb2_2 conda-forge
gstreamer 1.18.3 h3560a44_0 conda-forge
gtk2 2.24.33 hab0c2f8_0 conda-forge
gts 0.7.6 h64030ff_2 conda-forge
gxx_impl_linux-64 9.3.0 hd87eabc_18 conda-forge
gxx_linux-64 9.3.0 h0d07fa4_29 conda-forge
h5py 3.1.0 nompi_py38hafa665b_100 conda-forge
harfbuzz 2.7.4 h5cf4720_0 conda-forge
hdf5 1.10.6 nompi_h6a2412b_1114 conda-forge
hypothesis 6.1.1 pyhd8ed1ab_0 conda-forge
icu 68.1 h58526e2_0 conda-forge
idna 2.10 pyh9f0ad1d_0 conda-forge
imagesize 1.2.0 py_0 conda-forge
importlib-metadata 3.4.0 py38h578d9bd_0 conda-forge
importlib_metadata 3.4.0 hd8ed1ab_0 conda-forge
ipykernel 5.4.2 py38h81c977d_0 conda-forge
ipython 7.20.0 py38h81c977d_0 conda-forge
ipython_genutils 0.2.0 py_1 conda-forge
ipywidgets 7.6.3 pyhd3deb0d_0 conda-forge
jedi 0.18.0 py38h578d9bd_2 conda-forge
jinja2 2.11.3 pyh44b312d_0 conda-forge
jpeg 9d h36c2ea0_0 conda-forge
jsonpointer 2.0 pypi_0 pypi
jsonschema 3.2.0 py_2 conda-forge
jupyter 1.0.0 py38h578d9bd_6 conda-forge
jupyter_client 6.1.11 pyhd8ed1ab_1 conda-forge
jupyter_console 6.2.0 py_0 conda-forge
jupyter_core 4.7.1 py38h578d9bd_0 conda-forge
jupyterlab_pygments 0.1.2 pyh9f0ad1d_0 conda-forge
jupyterlab_widgets 1.0.0 pyhd8ed1ab_1 conda-forge
kernel-headers_linux-64 2.6.32 h77966d4_13 conda-forge
kiwisolver 1.3.1 py38h1fd1430_1 conda-forge
krb5 1.17.2 h926e7f8_0 conda-forge
latexcodec 2.0.1 pyh9f0ad1d_0 conda-forge
lcms2 2.11 hcbb858e_1 conda-forge
ld_impl_linux-64 2.35.1 hea4e1c9_2 conda-forge
libblas 3.9.0 7_openblas conda-forge
libcblas 3.9.0 7_openblas conda-forge
libclang 11.0.1 default_ha53f305_1 conda-forge
libcurl 7.71.1 hcdd3856_8 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libevent 2.1.10 hcdb4288_3 conda-forge
libffi 3.3 h58526e2_2 conda-forge
libgcc-devel_linux-64 9.3.0 h7864c58_18 conda-forge
libgcc-ng 9.3.0 h2828fa1_18 conda-forge
libgfortran-ng 9.3.0 hff62375_18 conda-forge
libgfortran5 9.3.0 hff62375_18 conda-forge
libglib 2.66.4 h748fe8e_2 conda-forge
libgomp 9.3.0 h2828fa1_18 conda-forge
libiconv 1.16 h516909a_0 conda-forge
liblapack 3.9.0 7_openblas conda-forge
libllvm11 11.0.1 hf817b99_0 conda-forge
libllvm9 9.0.1 hf817b99_2 conda-forge
libnghttp2 1.43.0 h812cca2_0 conda-forge
libopenblas 0.3.12 pthreads_h4812303_1 conda-forge
libpng 1.6.37 h21135ba_2 conda-forge
libpq 12.3 h255efa7_3 conda-forge
libsodium 1.0.18 h36c2ea0_1 conda-forge
libssh2 1.9.0 hab1572f_5 conda-forge
libstdcxx-devel_linux-64 9.3.0 hb016644_18 conda-forge
libstdcxx-ng 9.3.0 h6de172a_18 conda-forge
libtiff 4.2.0 hdc55705_0 conda-forge
libtool 2.4.6 h58526e2_1007 conda-forge
libuuid 2.32.1 h7f98852_1000 conda-forge
libwebp 1.2.0 h3452ae3_0 conda-forge
libwebp-base 1.2.0 h7f98852_0 conda-forge
libxcb 1.13 h7f98852_1003 conda-forge
libxkbcommon 1.0.3 he3ba5ed_0 conda-forge
libxml2 2.9.10 h72842e0_3 conda-forge
libxslt 1.1.33 h15afd5d_2 conda-forge
llvm-openmp 8.0.1 hc9558a2_0 conda-forge
llvmlite 0.33.0 py38h4f45e52_1 conda-forge
lxml 4.6.2 py38hf1fe3a4_1 conda-forge
lz4-c 1.9.3 h9c3ff4c_0 conda-forge
lzo 2.10 h516909a_1000 conda-forge
markupsafe 1.1.1 py38h497a2fe_3 conda-forge
matplotlib 3.3.4 py38h578d9bd_0 conda-forge
matplotlib-base 3.3.4 py38h0efea84_0 conda-forge
mistune 0.8.4 py38h497a2fe_1003 conda-forge
mock 4.0.3 py38h578d9bd_1 conda-forge
more-itertools 8.6.0 pyhd8ed1ab_0 conda-forge
mypy_extensions 0.4.3 py38h578d9bd_3 conda-forge
mysql-common 8.0.22 ha770c72_3 conda-forge
mysql-libs 8.0.22 h935591d_3 conda-forge
nbclient 0.5.1 py_0 conda-forge
nbconvert 6.0.7 py38h578d9bd_3 conda-forge
nbformat 5.1.2 pyhd8ed1ab_1 conda-forge
nbsphinx 0.8.1 pyh44b312d_0 conda-forge
ncurses 6.2 h58526e2_4 conda-forge
nest-asyncio 1.4.3 pyhd8ed1ab_0 conda-forge
networkx 2.5 py_0 conda-forge
notebook 6.2.0 py38h578d9bd_0 conda-forge
nspr 4.29 h9c3ff4c_1 conda-forge
nss 3.61 hb5efdd6_0 conda-forge
numba 0.50.1 py38hcb8c335_1 conda-forge
numexpr 2.7.2 py38h51da96c_0 conda-forge
numpy 1.19.5 py38h18fd61f_1 conda-forge
numpydoc 1.1.0 py_1 conda-forge
olefile 0.46 pyh9f0ad1d_1 conda-forge
openmp 8.0.1 0 conda-forge
openssl 1.1.1i h7f98852_0 conda-forge
oset 0.1.3 py_1 conda-forge
packaging 20.8 pyhd3deb0d_0 conda-forge
pandas 1.0.5 py38hcb8c335_0 conda-forge
pandoc 2.11.4 h7f98852_0 conda-forge
pandocfilters 1.4.2 py_1 conda-forge
pango 1.42.4 h69149e4_5 conda-forge
parso 0.8.1 pyhd8ed1ab_0 conda-forge
pathspec 0.8.1 pyhd3deb0d_0 conda-forge
pbr 5.5.1 pyh9f0ad1d_0 conda-forge
pcre 8.44 he1b5a44_0 conda-forge
pexpect 4.8.0 pyh9f0ad1d_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 8.1.0 py38h357d4e7_1 conda-forge
pip 21.0.1 pyhd8ed1ab_0 conda-forge
pixman 0.40.0 h36c2ea0_0 conda-forge
plotly 4.14.3 pyh44b312d_0 conda-forge
pluggy 0.13.1 py38h578d9bd_4 conda-forge
prometheus_client 0.9.0 pyhd3deb0d_0 conda-forge
prompt-toolkit 3.0.14 pyha770c72_0 conda-forge
prompt_toolkit 3.0.14 hd8ed1ab_0 conda-forge
psutil 5.8.0 py38h497a2fe_1 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
py 1.10.0 pyhd3deb0d_0 conda-forge
pybtex 0.24.0 py38h578d9bd_0 conda-forge
pybtex-docutils 1.0.0 py38h578d9bd_0 conda-forge
pycparser 2.20 pyh9f0ad1d_2 conda-forge
pygments 2.7.4 pyhd8ed1ab_0 conda-forge
pygraphviz 1.7 py38h0d738da_0 conda-forge
pyne 0.7.3 nomoab_noopenmcpy38hc73fa0b_1 conda-forge
pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge
pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge
pyqt 5.12.3 py38h578d9bd_7 conda-forge
pyqt-impl 5.12.3 py38h7400c14_7 conda-forge
pyqt5-sip 4.19.18 py38h709712a_7 conda-forge
pyqtchart 5.12 py38h7400c14_7 conda-forge
pyqtwebengine 5.12.1 py38h7400c14_7 conda-forge
pyrsistent 0.17.3 py38h497a2fe_2 conda-forge
pyside2 5.13.2 py38h2009f50_4 conda-forge
pysocks 1.7.1 py38h578d9bd_3 conda-forge
pytables 3.6.1 py38hc386592_3 conda-forge
pytest 5.4.3 py38h32f6830_0 conda-forge
pytest-arraydiff 0.3 py_0 conda-forge
pytest-astropy 0.8.0 pyhd8ed1ab_0 conda-forge
pytest-astropy-header 0.1.2 py_0 conda-forge
pytest-cov 2.11.1 pyh44b312d_0 conda-forge
pytest-doctestplus 0.9.0 pyhd8ed1ab_0 conda-forge
pytest-filter-subpackage 0.1.1 py_0 conda-forge
pytest-html 3.1.1 pyhd8ed1ab_0 conda-forge
pytest-metadata 1.11.0 pyhd3deb0d_0 conda-forge
pytest-mock 3.5.1 pyhd8ed1ab_0 conda-forge
pytest-openfiles 0.5.0 py_0 conda-forge
pytest-remotedata 0.3.2 pyh9f0ad1d_0 conda-forge
python 3.8.6 hffdb5ce_5_cpython conda-forge
python-dateutil 2.8.1 py_0 conda-forge
python_abi 3.8 1_cp38 conda-forge
pytz 2021.1 pyhd8ed1ab_0 conda-forge
pyyaml 5.4.1 py38h497a2fe_0 conda-forge
pyzmq 22.0.1 py38h3d7ac18_0 conda-forge
qgrid 1.3.1 py38h32f6830_1 conda-forge
qt 5.12.9 h9d6b050_2 conda-forge
qtconsole 5.0.2 pyhd8ed1ab_0 conda-forge
qtpy 1.9.0 py_0 conda-forge
readline 8.0 he28a2e2_2 conda-forge
recommonmark 0.7.1 pyhd8ed1ab_0 conda-forge
regex 2020.11.13 py38h497a2fe_1 conda-forge
requests 2.25.1 pyhd3deb0d_0 conda-forge
retrying 1.3.3 py_2 conda-forge
scipy 1.5.3 py38hb2138dd_0 conda-forge
send2trash 1.5.0 py_0 conda-forge
setuptools 49.6.0 py38h578d9bd_3 conda-forge
six 1.15.0 pyh9f0ad1d_0 conda-forge
snowballstemmer 2.1.0 pyhd8ed1ab_0 conda-forge
sortedcontainers 2.3.0 pyhd8ed1ab_0 conda-forge
soupsieve 2.0.1 py_1 conda-forge
sphinx 3.4.3 pyhd8ed1ab_0 conda-forge
sphinx-jsonschema 1.16.7 pypi_0 pypi
sphinx_bootstrap_theme 0.8.0 py_0 conda-forge
sphinx_rtd_theme 0.5.1 pyhd3deb0d_0 conda-forge
sphinxcontrib-apidoc 0.3.0 py_1 conda-forge
sphinxcontrib-applehelp 1.0.2 py_0 conda-forge
sphinxcontrib-bibtex 1.0.0 py_0 conda-forge
sphinxcontrib-devhelp 1.0.2 py_0 conda-forge
sphinxcontrib-htmlhelp 1.0.3 py_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.4 py_0 conda-forge
sphinxcontrib-tikz 0.4.11 pypi_0 pypi
sqlite 3.34.0 h74cdb3f_0 conda-forge
sysroot_linux-64 2.12 h77966d4_13 conda-forge
tardis-sn 3.0.dev3904 dev_0 <develop>
terminado 0.9.2 py38h578d9bd_0 conda-forge
testpath 0.4.4 py_0 conda-forge
tk 8.6.10 h21135ba_1 conda-forge
toml 0.10.2 pyhd8ed1ab_0 conda-forge
tornado 6.1 py38h497a2fe_1 conda-forge
tqdm 4.56.0 pyhd8ed1ab_0 conda-forge
traitlets 5.0.5 py_0 conda-forge
typed-ast 1.4.2 py38h497a2fe_0 conda-forge
typing_extensions 3.7.4.3 py_0 conda-forge
urllib3 1.25.11 pypi_0 pypi
wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge
webencodings 0.5.1 py_1 conda-forge
wheel 0.36.2 pyhd3deb0d_0 conda-forge
widgetsnbextension 3.5.1 py38h578d9bd_4 conda-forge
xorg-kbproto 1.0.7 h7f98852_1002 conda-forge
xorg-libice 1.0.10 h516909a_0 conda-forge
xorg-libsm 1.2.3 h84519dc_1000 conda-forge
xorg-libx11 1.6.12 h516909a_0 conda-forge
xorg-libxau 1.0.9 h7f98852_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xorg-libxext 1.3.4 h516909a_0 conda-forge
xorg-libxpm 3.5.13 h516909a_0 conda-forge
xorg-libxrender 0.9.10 h516909a_1002 conda-forge
xorg-libxt 1.1.5 h516909a_1003 conda-forge
xorg-renderproto 0.11.1 h14c3975_1002 conda-forge
xorg-xextproto 7.3.0 h7f98852_1002 conda-forge
xorg-xproto 7.0.31 h7f98852_1007 conda-forge
xz 5.2.5 h516909a_1 conda-forge
yaml 0.2.5 h516909a_0 conda-forge
zeromq 4.3.3 h58526e2_3 conda-forge
zipp 3.4.0 py_0 conda-forge
zlib 1.2.11 h516909a_1010 conda-forge
zstd 1.4.8 ha95c52a_1 conda-forge |
Yes @jamesgillanders, this works in both cases ... This is very strange that it works in Python 3.7 but not in 3.8 🤔 |
Code Sample, a copy-pastable example if possible
Hello, I was trying to run the
quickstart
notebook that can be found here but I am receiving aKeyError
fromPandas
😞Please check this gist out for the traceback
Problem description
The
sim
object created while using the command given below :This code is not being executed properly leading to a
Pandas
'KeyError
which can be found here. I have reinstalled Tardis indevelop
as well asinstall
mode to check if it's a problem with single or both versions & also recreatedconda env
so as to check if it's a dependency issue. But this does seem so to be related to the way the config file is accessing the dataset, downloaded via the previous commands. 🤔Expected Output
This code should run as expected from the
quickstart
notebook. Please advise if it's an issue from my configuration (using defaulttardis_example.yml
config file), machine or is it something of from the development version 🤔If it can be dealt with, I may shoot a PR after the correct guidance 😉
The text was updated successfully, but these errors were encountered: