Skip to content
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

Creation a SIMLIB fail on LINCC framework #322

Open
anibal-art opened this issue Aug 4, 2022 · 0 comments
Open

Creation a SIMLIB fail on LINCC framework #322

anibal-art opened this issue Aug 4, 2022 · 0 comments

Comments

@anibal-art
Copy link

I try to install the software on LSST LINCC framework

Steps to reproduce the behavior:

  1. Clone the repository

  2. Modify the script "pip-requirements.txt" in the install folder
    from this pytest=3.2.5 pytest-cov python-coveralls coverage=4.5.4 matplotlib future numpy pandas to this pytest==3.2.5 pytest-cov python-coveralls coverage==4.5.4 matplotlib future numpy pandas

  3. Run in \OpSimSummary : $bash ./install/install_all.sh

  4. Then when has been installed I run this line make_simlibs.py --dbname baseline_v2.0_10yrs.db --data_root /Users/user_name/Downloads --opsimversion fbsv2 with my directories of course.

Then the follow error arise
(base) anibal-art@lincc-anibal-2dart:~/OpSimSummary/scripts$ python make_simlibs.py --dbname baseline_v2.0_10yrs.db --data_root /home/anibal-art --opsimversion fbsv2 /opt/conda/lib/python3.9/site-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.23.1 warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}" Traceback (most recent call last): File "/home/anibal-art/OpSimSummary/scripts/make_simlibs.py", line 11, in <module> import healpy as hp File "/opt/conda/lib/python3.9/site-packages/healpy/__init__.py", line 93, in <module> from .rotator import Rotator, vec2dir, dir2vec File "/opt/conda/lib/python3.9/site-packages/healpy/rotator.py", line 25, in <module> from astropy.coordinates import SkyCoord File "/opt/conda/lib/python3.9/site-packages/astropy/coordinates/__init__.py", line 10, in <module> from .angles import * File "/opt/conda/lib/python3.9/site-packages/astropy/coordinates/angles.py", line 14, in <module> from . import angle_formats as form File "/opt/conda/lib/python3.9/site-packages/astropy/coordinates/angle_formats.py", line 30, in <module> from astropy import units as u File "/opt/conda/lib/python3.9/site-packages/astropy/units/__init__.py", line 17, in <module> from .quantity import * File "/opt/conda/lib/python3.9/site-packages/astropy/units/quantity.py", line 32, in <module> from .quantity_helper import (converters_and_unit, can_have_arbitrary_unit, File "/opt/conda/lib/python3.9/site-packages/astropy/units/quantity_helper/__init__.py", line 10, in <module> from . import helpers, function_helpers File "/opt/conda/lib/python3.9/site-packages/astropy/units/quantity_helper/function_helpers.py", line 116, in <module> np.asscalar, np.alen, File "/home/anibal-art/.local/lib/python3.9/site-packages/numpy/__init__.py", line 311, in __getattr__ raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'asscalar'

The packages installed in Conda are
`(base) anibal-art@lincc-anibal-2dart:~/OpSimSummary/scripts$ conda list

packages in environment at /opt/conda:

Name Version Build Channel

_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 1_gnu conda-forge
abseil-cpp 20210324.2 h9c3ff4c_0 conda-forge
aiohttp 3.8.1 py39h3811e60_0 conda-forge
aiosignal 1.2.0 pyhd8ed1ab_0 conda-forge
alembic 1.6.5 pyhd8ed1ab_0 conda-forge
alsa-lib 1.2.3 h516909a_0 conda-forge
anyio 3.3.0 py39hf3d152e_0 conda-forge
argon2-cffi 20.1.0 py39h3811e60_2 conda-forge
arrow-cpp 6.0.1 py39h01fd06f_8_cpu conda-forge
astropy 5.0 py39hce5d2b2_0 conda-forge
async-timeout 4.0.2 pyhd8ed1ab_0 conda-forge
async_generator 1.10 py_0 conda-forge
attrs 21.2.0 pyhd8ed1ab_0 conda-forge
aws-c-cal 0.5.11 h95a6274_0 conda-forge
aws-c-common 0.6.2 h7f98852_0 conda-forge
aws-c-event-stream 0.2.7 h3541f99_13 conda-forge
aws-c-io 0.10.5 hfb6a706_0 conda-forge
aws-checksums 0.1.11 ha31a3da_7 conda-forge
aws-sdk-cpp 1.8.186 hb4091e7_3 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
bleach 4.0.0 pyhd8ed1ab_0 conda-forge
blinker 1.4 py_1 conda-forge
blosc 1.21.0 h9c3ff4c_0 conda-forge
bokeh 2.4.2 py39hf3d152e_0 conda-forge
brotli 1.0.9 h7f98852_6 conda-forge
brotli-bin 1.0.9 h7f98852_6 conda-forge
brotlipy 0.7.0 py39h3811e60_1001 conda-forge
bzip2 1.0.8 h7f98852_4 conda-forge
c-ares 1.18.1 h7f98852_0 conda-forge
ca-certificates 2021.10.8 ha878542_0 conda-forge
cachetools 4.2.4 pyhd8ed1ab_0 conda-forge
certifi 2021.10.8 py39hf3d152e_1 conda-forge
certipy 0.1.3 py_0 conda-forge
cffi 1.14.6 py39he32792d_0 conda-forge
cfitsio 4.0.0 h9a35b8e_0 conda-forge
chardet 4.0.0 py39hf3d152e_1 conda-forge
charset-normalizer 2.0.0 pyhd8ed1ab_0 conda-forge
click 8.0.3 py39hf3d152e_1 conda-forge
cloudpickle 2.0.0 pyhd8ed1ab_0 conda-forge
colorama 0.4.4 pyh9f0ad1d_0 conda-forge
conda 4.10.3 py39hf3d152e_0 conda-forge
conda-package-handling 1.7.3 py39h3811e60_0 conda-forge
configurable-http-proxy 4.5.0 node14_hfc12e6c_0 conda-forge
cryptography 3.4.7 py39hbca0aa6_0 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
cytoolz 0.11.2 py39h3811e60_1 conda-forge
dask 2022.1.0 pyhd8ed1ab_0 conda-forge
dask-core 2022.1.0 pyhd8ed1ab_0 conda-forge
dask-kubernetes 2022.1.0 pypi_0 pypi
dbus 1.13.6 h48d8840_2 conda-forge
debugpy 1.4.1 py39he80948d_0 conda-forge
decorator 5.0.9 pyhd8ed1ab_0 conda-forge
defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge
distributed 2022.1.0 py39hf3d152e_0 conda-forge
entrypoints 0.3 pyhd8ed1ab_1003 conda-forge
expat 2.4.3 h9c3ff4c_0 conda-forge
fontconfig 2.13.94 ha180cfb_0 conda-forge
fonttools 4.29.0 py39h3811e60_0 conda-forge
freetype 2.10.4 h0708190_1 conda-forge
frozenlist 1.2.0 py39h3811e60_1 conda-forge
fsspec 2022.1.0 pyhd8ed1ab_0 conda-forge
gettext 0.19.8.1 h0b5b191_1005 conda-forge
gflags 2.2.2 he1b5a44_1004 conda-forge
glib 2.68.4 h9c3ff4c_0 conda-forge
glib-tools 2.68.4 h9c3ff4c_0 conda-forge
glog 0.5.0 h48cff8f_0 conda-forge
google-auth 2.3.3 pyh6c4a22f_0 conda-forge
greenlet 1.1.1 py39he80948d_0 conda-forge
grpc-cpp 1.42.0 ha1441d3_1 conda-forge
gst-plugins-base 1.18.5 hf529b03_0 conda-forge
gstreamer 1.18.5 h76c114f_0 conda-forge
hdf5 1.12.1 nompi_h2750804_103 conda-forge
healpy 1.15.2 py39h69e73af_0 conda-forge
heapdict 1.0.1 py_0 conda-forge
icu 68.1 h58526e2_0 conda-forge
idna 3.1 pyhd3deb0d_0 conda-forge
importlib-metadata 4.6.4 py39hf3d152e_0 conda-forge
iniconfig 1.1.1 pyh9f0ad1d_0 conda-forge
ipykernel 6.2.0 py39hef51801_0 conda-forge
ipython 7.26.0 py39hef51801_0 conda-forge
ipython_genutils 0.2.0 py_1 conda-forge
jbig 2.1 h7f98852_2003 conda-forge
jedi 0.18.0 py39hf3d152e_2 conda-forge
jinja2 3.0.1 pyhd8ed1ab_0 conda-forge
jpeg 9d h36c2ea0_0 conda-forge
json5 0.9.5 pyh9f0ad1d_0 conda-forge
jsonschema 3.2.0 pyhd8ed1ab_3 conda-forge
jupyter-desktop-server 0.1.2 pypi_0 pypi
jupyter-resource-usage 0.6.1 pyhd8ed1ab_0 conda-forge
jupyter-server-proxy 3.2.1 pyhd8ed1ab_0 conda-forge
jupyter_client 6.1.12 pyhd8ed1ab_0 conda-forge
jupyter_core 4.7.1 py39hf3d152e_0 conda-forge
jupyter_server 1.10.2 pyhd8ed1ab_0 conda-forge
jupyter_telemetry 0.1.0 pyhd8ed1ab_1 conda-forge
jupyterhub 1.4.2 py39hf3d152e_0 conda-forge
jupyterhub-base 1.4.2 py39hf3d152e_0 conda-forge
jupyterlab 3.1.8 pyhd8ed1ab_0 conda-forge
jupyterlab-system-monitor 0.8.0 pypi_0 pypi
jupyterlab-topbar 0.6.1 pypi_0 pypi
jupyterlab_pygments 0.1.2 pyh9f0ad1d_0 conda-forge
jupyterlab_server 2.7.2 pyhd8ed1ab_0 conda-forge
kiwisolver 1.3.2 py39h1a9c180_1 conda-forge
krb5 1.19.2 hcc1bbae_0 conda-forge
kubernetes-asyncio 19.15.0 pypi_0 pypi
lcms2 2.12 hddcbb42_0 conda-forge
ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge
lerc 3.0 h9c3ff4c_0 conda-forge
libarchive 3.5.1 hccf745f_2 conda-forge
libblas 3.9.0 13_linux64_openblas conda-forge
libbrotlicommon 1.0.9 h7f98852_6 conda-forge
libbrotlidec 1.0.9 h7f98852_6 conda-forge
libbrotlienc 1.0.9 h7f98852_6 conda-forge
libcblas 3.9.0 13_linux64_openblas conda-forge
libclang 11.1.0 default_ha53f305_1 conda-forge
libcurl 7.81.0 h2574ce0_0 conda-forge
libdeflate 1.8 h7f98852_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libevent 2.1.10 h9b69904_4 conda-forge
libffi 3.3 h58526e2_2 conda-forge
libgcc-ng 11.2.0 h1d223b6_12 conda-forge
libgfortran-ng 11.2.0 h69a702a_12 conda-forge
libgfortran5 11.2.0 h5c6108e_12 conda-forge
libglib 2.68.4 h3e27bee_0 conda-forge
libgomp 11.2.0 h1d223b6_12 conda-forge
libiconv 1.16 h516909a_0 conda-forge
liblapack 3.9.0 13_linux64_openblas conda-forge
libllvm11 11.1.0 hf817b99_2 conda-forge
libnghttp2 1.43.0 h812cca2_0 conda-forge
libogg 1.3.4 h7f98852_1 conda-forge
libopenblas 0.3.18 pthreads_h8fe5266_0 conda-forge
libopus 1.3.1 h7f98852_1 conda-forge
libpng 1.6.37 h21135ba_2 conda-forge
libpq 13.5 hd57d9b9_1 conda-forge
libprotobuf 3.19.3 h780b84a_0 conda-forge
libsodium 1.0.18 h36c2ea0_1 conda-forge
libsolv 0.7.19 h780b84a_5 conda-forge
libssh2 1.10.0 ha56f1ee_2 conda-forge
libstdcxx-ng 11.2.0 he4da1e4_12 conda-forge
libthrift 0.15.0 he6d91bd_1 conda-forge
libtiff 4.3.0 h6f004c6_2 conda-forge
libutf8proc 2.7.0 h7f98852_0 conda-forge
libuuid 2.32.1 h7f98852_1000 conda-forge
libuv 1.42.0 h7f98852_0 conda-forge
libvorbis 1.3.7 h9c3ff4c_0 conda-forge
libwebp-base 1.2.2 h7f98852_1 conda-forge
libxcb 1.13 h7f98852_1004 conda-forge
libxkbcommon 1.0.3 he3ba5ed_0 conda-forge
libxml2 2.9.12 h72842e0_0 conda-forge
libzlib 1.2.11 h36c2ea0_1013 conda-forge
locket 0.2.0 py_2 conda-forge
lz4-c 1.9.3 h9c3ff4c_1 conda-forge
lzo 2.10 h516909a_1000 conda-forge
mako 1.1.5 pyhd8ed1ab_0 conda-forge
mamba 0.15.3 py39h951de11_0 conda-forge
markupsafe 2.0.1 py39h3811e60_0 conda-forge
matplotlib 3.5.1 py39hf3d152e_0 conda-forge
matplotlib-base 3.5.1 py39h2fa2bec_0 conda-forge
matplotlib-inline 0.1.2 pyhd8ed1ab_2 conda-forge
mistune 0.8.4 py39h3811e60_1004 conda-forge
msgpack-python 1.0.3 py39h1a9c180_0 conda-forge
multidict 6.0.2 py39h3811e60_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
mysql-common 8.0.28 ha770c72_0 conda-forge
mysql-libs 8.0.28 hfa10184_0 conda-forge
nb_conda_kernels 2.3.1 py39hf3d152e_1 conda-forge
nbclassic 0.3.1 pyhd8ed1ab_1 conda-forge
nbclient 0.5.4 pyhd8ed1ab_0 conda-forge
nbconvert 6.1.0 py39hf3d152e_0 conda-forge
nbformat 5.1.3 pyhd8ed1ab_0 conda-forge
nbgitpuller 0.10.1 pypi_0 pypi
ncurses 6.2 h58526e2_4 conda-forge
nest-asyncio 1.5.1 pyhd8ed1ab_0 conda-forge
nodejs 14.17.4 h92b4a50_0 conda-forge
nomkl 1.0 h5ca1d4c_0 conda-forge
notebook 6.4.3 pyha770c72_0 conda-forge
nspr 4.32 h9c3ff4c_1 conda-forge
nss 3.72 hb5efdd6_0 conda-forge
numexpr 2.8.0 py39hbd72853_100 conda-forge
numpy 1.22.1 py39h91f2184_0 conda-forge
oauthlib 3.1.1 pyhd8ed1ab_0 conda-forge
olefile 0.46 pyh9f0ad1d_1 conda-forge
openjpeg 2.4.0 hb52868f_1 conda-forge
openssl 1.1.1l h7f98852_0 conda-forge
orc 1.7.2 h1be678f_0 conda-forge
packaging 21.0 pyhd8ed1ab_0 conda-forge
pamela 1.0.0 py_0 conda-forge
pandas 1.4.0 py39hde0f152_0 conda-forge
pandoc 2.14.1 h7f98852_0 conda-forge
pandocfilters 1.4.2 py_1 conda-forge
parquet-cpp 1.5.1 1 conda-forge
parso 0.8.2 pyhd8ed1ab_0 conda-forge
partd 1.2.0 pyhd8ed1ab_0 conda-forge
pcre 8.45 h9c3ff4c_0 conda-forge
pexpect 4.8.0 pyh9f0ad1d_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 8.4.0 py39ha612740_0 conda-forge
pip 21.2.4 pyhd8ed1ab_0 conda-forge
pluggy 1.0.0 py39hf3d152e_2 conda-forge
prometheus_client 0.11.0 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.19 pyha770c72_0 conda-forge
psutil 5.9.0 py39h3811e60_0 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
py 1.11.0 pyh6c4a22f_0 conda-forge
pyarrow 6.0.1 py39hff6fa39_8_cpu conda-forge
pyasn1 0.4.8 py_0 conda-forge
pyasn1-modules 0.2.7 py_0 conda-forge
pycosat 0.6.3 py39h3811e60_1006 conda-forge
pycparser 2.20 pyh9f0ad1d_2 conda-forge
pycurl 7.44.1 py39h72e3413_0 conda-forge
pyerfa 2.0.0.1 py39hce5d2b2_1 conda-forge
pygments 2.10.0 pyhd8ed1ab_0 conda-forge
pyjwt 2.1.0 pyhd8ed1ab_0 conda-forge
pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge
pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge
pyqt 5.12.3 py39hf3d152e_8 conda-forge
pyqt-impl 5.12.3 py39hde8b62d_8 conda-forge
pyqt5-sip 4.19.18 py39he80948d_8 conda-forge
pyqtchart 5.12 py39h0fcd23e_8 conda-forge
pyqtwebengine 5.12.1 py39h0fcd23e_8 conda-forge
pyrsistent 0.17.3 py39h3811e60_2 conda-forge
pysocks 1.7.1 py39hf3d152e_3 conda-forge
pytables 3.7.0 py39h2669a42_0 conda-forge
pytest 6.2.5 py39hf3d152e_2 conda-forge
pytest-runner 5.3.1 pyhd8ed1ab_0 conda-forge
python 3.9.6 h49503c6_1_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-editor 1.0.4 py_0 conda-forge
python-json-logger 2.0.1 pyh9f0ad1d_0 conda-forge
python-kubernetes 21.7.0 pyhd8ed1ab_0 conda-forge
python_abi 3.9 2_cp39 conda-forge
pytz 2021.1 pyhd8ed1ab_0 conda-forge
pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge
pyyaml 6.0 py39h3811e60_3 conda-forge
pyzmq 22.2.1 py39h37b5a0c_0 conda-forge
qt 5.12.9 hda022c4_4 conda-forge
re2 2021.11.01 h9c3ff4c_0 conda-forge
readline 8.1 h46c0cb4_0 conda-forge
reproc 14.2.1 h36c2ea0_0 conda-forge
reproc-cpp 14.2.1 h58526e2_0 conda-forge
requests 2.26.0 pyhd8ed1ab_0 conda-forge
requests-oauthlib 1.3.0 pyh9f0ad1d_0 conda-forge
requests-unixsocket 0.2.0 py_0 conda-forge
rsa 4.8 pyhd8ed1ab_0 conda-forge
ruamel.yaml 0.17.13 py39h3811e60_0 conda-forge
ruamel.yaml.clib 0.2.2 py39h3811e60_2 conda-forge
ruamel_yaml 0.15.80 py39h3811e60_1004 conda-forge
s2n 1.0.10 h9b69904_0 conda-forge
scipy 1.7.3 py39hee8e79c_0 conda-forge
send2trash 1.8.0 pyhd8ed1ab_0 conda-forge
setuptools 57.4.0 py39hf3d152e_0 conda-forge
simpervisor 0.4 pyhd8ed1ab_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
snappy 1.1.8 he1b5a44_3 conda-forge
sniffio 1.2.0 py39hf3d152e_1 conda-forge
sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge
sqlalchemy 1.4.23 py39h3811e60_0 conda-forge
sqlite 3.36.0 h9cd32fc_0 conda-forge
tblib 1.7.0 pyhd8ed1ab_0 conda-forge
terminado 0.11.1 py39hf3d152e_0 conda-forge
testpath 0.5.0 pyhd8ed1ab_0 conda-forge
tk 8.6.11 h21135ba_0 conda-forge
toml 0.10.2 pyhd8ed1ab_0 conda-forge
toolz 0.11.2 pyhd8ed1ab_0 conda-forge
tornado 6.1 py39h3811e60_1 conda-forge
tqdm 4.62.2 pyhd8ed1ab_0 conda-forge
traitlets 5.0.5 py_0 conda-forge
typing-extensions 4.0.1 hd8ed1ab_0 conda-forge
typing_extensions 4.0.1 pyha770c72_0 conda-forge
tzdata 2021a he74cb21_1 conda-forge
unicodedata2 14.0.0 py39h3811e60_0 conda-forge
urllib3 1.26.6 pyhd8ed1ab_0 conda-forge
wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge
webencodings 0.5.1 py_1 conda-forge
websocket-client 0.57.0 py39hf3d152e_4 conda-forge
websockify 0.10.0 py39h3811e60_1 conda-forge
wheel 0.37.0 pyhd8ed1ab_1 conda-forge
xorg-libxau 1.0.9 h7f98852_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xz 5.2.5 h516909a_1 conda-forge
yaml 0.2.5 h516909a_0 conda-forge
yarl 1.7.2 py39h3811e60_1 conda-forge
zeromq 4.3.4 h9c3ff4c_0 conda-forge
zict 2.0.0 py_0 conda-forge
zipp 3.5.0 pyhd8ed1ab_0 conda-forge
zlib 1.2.11 h36c2ea0_1013 conda-forge`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant