Closed jsilvaf closed 2 years ago
@jsilvaf we tested the client installation and import in several python versions, can you send us the output from pip freeze
to replicate your environment and test them there.
@cvalenzu
alabaster==0.7.12 alerce==1.0.1 anaconda-client==1.7.2 anaconda-navigator==1.10.0 anaconda-project==0.8.3 argh==0.26.2 argon2-cffi @ file:///tmp/build/80754af9/argon2-cffi_1596828493937/work asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work astroid @ file:///tmp/build/80754af9/astroid_1592495912941/work astropy==4.0.2 async-generator==1.10 atomicwrites==1.4.0 attrs @ file:///tmp/build/80754af9/attrs_1604765588209/work autopep8 @ file:///tmp/build/80754af9/autopep8_1596578164842/work Babel==2.9.0 backcall==0.2.0 backports.functools-lru-cache==1.6.1 backports.shutil-get-terminal-size==1.0.0 backports.tempfile==1.0 backports.weakref==1.0.post1 beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1601924105527/work bitarray @ file:///tmp/build/80754af9/bitarray_1605065113847/work bkcharts==0.2 bleach @ file:///tmp/build/80754af9/bleach_1600439572647/work bokeh @ file:///tmp/build/80754af9/bokeh_1603297833684/work boto==2.49.0 Bottleneck==1.3.2 brotlipy==0.7.0 certifi==2020.6.20 cffi @ file:///tmp/build/80754af9/cffi_1600699146221/work chardet==3.0.4 click==7.1.2 cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1598884132938/work clyent==1.2.2 colorama @ file:///tmp/build/80754af9/colorama_1603211150991/work conda==4.9.2 conda-build==3.20.5 conda-package-handling @ file:///tmp/build/80754af9/conda-package-handling_1603018141399/work conda-verify==3.4.2 contextlib2==0.6.0.post1 cryptography @ file:///tmp/build/80754af9/cryptography_1601046815590/work cycler==0.10.0 Cython @ file:///tmp/build/80754af9/cython_1594831566883/work cytoolz==0.11.0 dask @ file:///tmp/build/80754af9/dask-core_1602083700509/work decorator==4.4.2 defusedxml==0.6.0 diff-match-patch @ file:///tmp/build/80754af9/diff-match-patch_1594828741838/work distributed @ file:///tmp/build/80754af9/distributed_1605066520644/work docutils==0.16 entrypoints==0.3 et-xmlfile==1.0.1 fastcache==1.1.0 filelock==3.0.12 flake8 @ file:///tmp/build/80754af9/flake8_1601911421857/work Flask==1.1.2 fsspec @ file:///tmp/build/80754af9/fsspec_1602684995936/work future==0.18.2 gevent @ file:///tmp/build/80754af9/gevent_1601397537062/work glob2==0.7 gmpy2==2.0.8 greenlet @ file:///tmp/build/80754af9/greenlet_1600874013538/work h5py==2.10.0 HeapDict==1.0.1 html5lib @ file:///tmp/build/80754af9/html5lib_1593446221756/work idna @ file:///tmp/build/80754af9/idna_1593446292537/work imageio @ file:///tmp/build/80754af9/imageio_1594161405741/work imagesize==1.2.0 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1602276842396/work iniconfig @ file:///tmp/build/80754af9/iniconfig_1602780191262/work intervaltree @ file:///tmp/build/80754af9/intervaltree_1598376443606/work ipykernel @ file:///tmp/build/80754af9/ipykernel_1596207638929/work/dist/ipykernel-5.3.4-py3-none-any.whl ipython==5.8.0 ipython-genutils==0.2.0 ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1601490159889/work isort @ file:///tmp/build/80754af9/isort_1602603989581/work itsdangerous==1.1.0 jdcal==1.4.1 jedi @ file:///tmp/build/80754af9/jedi_1592841866100/work jeepney @ file:///tmp/build/80754af9/jeepney_1605069705079/work Jinja2==2.11.2 joblib @ file:///tmp/build/80754af9/joblib_1601912903842/work json5==0.9.5 jsonschema @ file:///tmp/build/80754af9/jsonschema_1602607155483/work jupyter==1.0.0 jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1601311786391/work jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1598884538475/work jupyter-core==4.6.3 jupyterlab==2.2.6 jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1594164409481/work keyring @ file:///tmp/build/80754af9/keyring_1601490835422/work kiwisolver @ file:///tmp/build/80754af9/kiwisolver_1604014535162/work lazy-object-proxy==1.4.3 libarchive-c==2.9 llvmlite==0.34.0 locket==0.2.0 lxml @ file:///tmp/build/80754af9/lxml_1603216285000/work MarkupSafe==1.1.1 matplotlib @ file:///tmp/build/80754af9/matplotlib-base_1603378225747/work mccabe==0.6.1 mistune==0.8.4 mkl-fft==1.2.0 mkl-random==1.1.1 mkl-service==2.3.0 mock==4.0.2 more-itertools @ file:///tmp/build/80754af9/more-itertools_1605111547926/work mpmath==1.1.0 msgpack==1.0.0 multipledispatch==0.6.0 navigator-updater==0.2.1 nbclient @ file:///tmp/build/80754af9/nbclient_1602783176460/work nbconvert @ file:///tmp/build/80754af9/nbconvert_1601914830498/work nbformat @ file:///tmp/build/80754af9/nbformat_1602783287752/work nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1605115881283/work networkx @ file:///tmp/build/80754af9/networkx_1598376031484/work nltk @ file:///tmp/build/80754af9/nltk_1592496090529/work nose==1.3.7 notebook @ file:///tmp/build/80754af9/notebook_1601501575118/work numba @ file:///tmp/build/80754af9/numba_1600100669015/work numexpr==2.7.1 numpy @ file:///tmp/build/80754af9/numpy_and_numpy_base_1603570489231/work numpydoc==0.9.1 olefile==0.46 openpyxl @ file:///tmp/build/80754af9/openpyxl_1598113097404/work packaging==20.4 pandas==1.2.4 pandocfilters @ file:///tmp/build/80754af9/pandocfilters_1605120460739/work parso==0.7.0 partd==1.1.0 path @ file:///tmp/build/80754af9/path_1598376507494/work pathlib2==2.3.5 pathtools==0.1.2 patsy==0.5.1 pep8==1.7.1 pexpect==4.8.0 pickleshare==0.7.5 Pillow @ file:///tmp/build/80754af9/pillow_1603822255246/work pkginfo==1.6.1 pluggy==0.13.1 ply==3.11 prometheus-client==0.8.0 prompt-toolkit==1.0.18 psutil @ file:///tmp/build/80754af9/psutil_1598370257551/work ptyprocess==0.6.0 py @ file:///tmp/build/80754af9/py_1593446248552/work pycodestyle==2.6.0 pycosat==0.6.3 pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work pycurl==7.43.0.6 pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1598885001695/work pyflakes==2.2.0 Pygments @ file:///tmp/build/80754af9/pygments_1604103097372/work pylint @ file:///tmp/build/80754af9/pylint_1598623985952/work pyodbc===4.0.0-unsupported pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1594392929924/work pyparsing==2.4.7 pyrsistent @ file:///tmp/build/80754af9/pyrsistent_1600141720057/work PySocks==1.7.1 pytest==0.0.0 python-dateutil==2.8.1 python-jsonrpc-server @ file:///tmp/build/80754af9/python-jsonrpc-server_1600278539111/work python-language-server @ file:///tmp/build/80754af9/python-language-server_1600454544709/work pytz==2020.1 PyWavelets @ file:///tmp/build/80754af9/pywavelets_1601658317819/work pyxdg @ file:///tmp/build/80754af9/pyxdg_1603822279816/work PyYAML==5.3.1 pyzmq==19.0.2 QDarkStyle==2.8.1 QtAwesome @ file:///tmp/build/80754af9/qtawesome_1602272867890/work qtconsole @ file:///tmp/build/80754af9/qtconsole_1600870028330/work QtPy==1.9.0 regex @ file:///tmp/build/80754af9/regex_1602786672676/work requests @ file:///tmp/build/80754af9/requests_1592841827918/work rope @ file:///tmp/build/80754af9/rope_1602264064449/work Rtree==0.9.4 ruamel-yaml==0.15.87 scikit-image==0.17.2 scikit-learn @ file:///tmp/build/80754af9/scikit-learn_1598376899566/work scipy @ file:///tmp/build/80754af9/scipy_1597686649129/work seaborn @ file:///tmp/build/80754af9/seaborn_1600553570093/work SecretStorage==3.1.2 Send2Trash==1.5.0 simplegeneric==0.8.1 singledispatch @ file:///tmp/build/80754af9/singledispatch_1602523705405/work sip==4.19.13 six @ file:///tmp/build/80754af9/six_1605205327372/work snowballstemmer==2.0.0 sortedcollections==1.2.1 sortedcontainers==2.2.2 soupsieve==2.0.1 Sphinx==3.4.3 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==1.0.3 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.4 sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work spyder @ file:///tmp/build/80754af9/spyder_1599056981321/work spyder-kernels @ file:///tmp/build/80754af9/spyder-kernels_1599056754858/work SQLAlchemy @ file:///tmp/build/80754af9/sqlalchemy_1603397987316/work statsmodels @ file:///tmp/build/80754af9/statsmodels_1602280205159/work sympy @ file:///tmp/build/80754af9/sympy_1605119542615/work tables==3.6.1 tblib @ file:///tmp/build/80754af9/tblib_1597928476713/work terminado==0.9.1 testpath==0.4.4 threadpoolctl @ file:///tmp/tmp9twdgx9k/threadpoolctl-2.1.0-py3-none-any.whl tifffile==2020.10.1 toml @ file:///tmp/build/80754af9/toml_1592853716807/work toolz @ file:///tmp/build/80754af9/toolz_1601054250827/work tornado==6.0.4 tqdm @ file:///tmp/build/80754af9/tqdm_1602185206534/work traitlets @ file:///tmp/build/80754af9/traitlets_1602787416690/work typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1598376058250/work ujson @ file:///tmp/build/80754af9/ujson_1602523317881/work unicodecsv==0.14.1 urllib3 @ file:///tmp/build/80754af9/urllib3_1603305693037/work watchdog @ file:///tmp/build/80754af9/watchdog_1593447344699/work wcwidth @ file:///tmp/build/80754af9/wcwidth_1593447189090/work webencodings==0.5.1 Werkzeug==1.0.1 widgetsnbextension==3.5.1 wrapt==1.11.2 wurlitzer @ file:///tmp/build/80754af9/wurlitzer_1594753850195/work xlrd==1.2.0 XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1602692860603/work xlwt==1.3.0 xmltodict==0.12.0 yapf @ file:///tmp/build/80754af9/yapf_1593528177422/work zict==2.0.0 zipp @ file:///tmp/build/80754af9/zipp_1604001098328/work zope.event==4.5.0 zope.interface @ file:///tmp/build/80754af9/zope.interface_1602002420968/work
I did this to check if there is an error with the alerce client or maybe is something with the environment.
I followed this thread https://github.com/ipython/ipython/issues/12558 and is a similar issue, maybe is a problem with the ipython version rather than the alerce client itself.
It's been over a year from this happening and it appears that the issue is not related to the ALeRCE client itself. Closing this for now.
Describe the bug I can't import the alerce client
To Reproduce from alerce.core import Alerce
Expected behavior
Screenshots
Environment (please complete the following information): -Python version 3.8.5
Additional context pip show alerce displays the following:
Name: alerce Version: 1.0.1 Summary: ALeRCE Client Home-page: UNKNOWN Author: ALeRCE Team Author-email: contact@alerce.online License: UNKNOWN Location: /home/javier/anaconda3/lib/python3.8/site-packages Requires: requests, pandas, astropy Required-by: