Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

'hy.macros' is no longer part of Hy #24

Open
josiah14 opened this issue Feb 23, 2019 · 1 comment
Open

'hy.macros' is no longer part of Hy #24

josiah14 opened this issue Feb 23, 2019 · 1 comment

Comments

@josiah14
Copy link

josiah14 commented Feb 23, 2019

╰─$ ipython  console --TerminalInteractiveShell.editing_mode=vi --kernel hy                                                                                                                                                                                                                      1 ↵
[TerminalIPythonApp] WARNING | Subcommand `ipython console` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter console` in the future
/home/josiah/miniconda3/envs/scipy-lectures/lib/python3.7/site-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated since IPython 4.0.You should import from ipykernel or jupyter_client instead.
  "You should import from ipykernel or jupyter_client instead.", ShimWarning)
Traceback (most recent call last):
  File "/home/josiah/miniconda3/envs/scipy-lectures/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/josiah/miniconda3/envs/scipy-lectures/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/josiah/miniconda3/envs/scipy-lectures/lib/python3.7/site-packages/hy_kernel/hy_kernel.py", line 18, in <module>
    from hy.macros import _hy_macros, load_macros
ImportError: cannot import name '_hy_macros' from 'hy.macros' (/home/josiah/miniconda3/envs/scipy-lectures/lib/python3.7/site-packages/hy/macros.py)

Environment

╰─$ conda list
# packages in environment at /home/josiah/miniconda3/envs/scipy-lectures:
#
# Name                    Version                   Build  Channel
appdirs                   1.4.3                     <pip>
args                      0.1.0                     <pip>
astor                     0.7.1                     <pip>
backcall                  0.1.0                    py37_0
bleach                    3.1.0                    py37_0
ca-certificates           2019.1.23                     0
calysto-hy                0.1.1                     <pip>
certifi                   2018.11.29               py37_0
clint                     0.5.1                     <pip>
dbus                      1.13.6               h746ee38_0
decorator                 4.3.2                    py37_0
entrypoints               0.3                      py37_0
expat                     2.2.6                he6710b0_0
fontconfig                2.13.0               h9420a91_0
freetype                  2.9.1                h8a8886c_1
funcparserlib             0.3.6                     <pip>
glib                      2.56.2               hd408876_0
gmp                       6.1.2                h6c8ec71_1
gst-plugins-base          1.14.0               hbbd80ab_1
gstreamer                 1.14.0               hb453b48_1
hy                        0.16.0+3.g952ca3a           <pip>
hy-kernel                 0.3.0                     <pip>
icu                       58.2                 h9c2bf20_1
ipykernel                 5.1.0            py37h39e3cac_0
ipython                   7.2.0            py37h39e3cac_0
ipython_genutils          0.2.0                    py37_0
ipywidgets                7.4.2                    py37_0
jedhy                     1                         <pip>
jedi                      0.13.2                   py37_0
jedi                      0.13.2                    <pip>
jinja2                    2.10                     py37_0
jpeg                      9b                   h024ee3a_2
jsonschema                2.6.0                    py37_0
jupyter                   1.0.0                    py37_7
jupyter_client            5.2.4                    py37_0
jupyter_console           6.0.0                    py37_0
jupyter_core              4.4.0                    py37_0
libedit                   3.1.20181209         hc058e9b_0
libffi                    3.2.1                hd88cf55_4
libgcc-ng                 8.2.0                hdf63c60_1
libpng                    1.6.36               hbc83047_0
libsodium                 1.0.16               h1bed415_0
libstdcxx-ng              8.2.0                hdf63c60_1
libuuid                   1.0.3                h1bed415_2
libxcb                    1.13                 h1bed415_1
libxml2                   2.9.9                he19cac6_0
markupsafe                1.1.0            py37h7b6447c_0
metakernel                0.20.14                   <pip>
mistune                   0.8.4            py37h7b6447c_0
nbconvert                 5.3.1                    py37_0
nbformat                  4.4.0                    py37_0
ncurses                   6.1                  he6710b0_1
notebook                  5.7.4                    py37_0
openssl                   1.1.1a               h7b6447c_0
pandoc                    2.2.3.2                       0
pandocfilters             1.4.2                    py37_1
parso                     0.3.4                     <pip>
parso                     0.3.2                    py37_0
pcre                      8.42                 h439df22_0
pexpect                   4.6.0                    py37_0
pickleshare               0.7.5                    py37_0
pickleshare               0.7.5                     <pip>
pip                       19.0.1                   py37_0
prometheus_client         0.5.0                    py37_0
prompt_toolkit            2.0.8                      py_0
ptyprocess                0.6.0                    py37_0
pygments                  2.3.1                    py37_0
Pygments                  2.3.1                     <pip>
pyqt                      5.9.2            py37h05f1152_2
python                    3.7.2                h0371630_0
python-dateutil           2.7.5                    py37_0
pyzmq                     17.1.2           py37he6710b0_2
qt                        5.9.7                h5867ecd_1
qtconsole                 4.4.3                    py37_0
readline                  7.0                  h7b6447c_5
rply                      0.7.7                     <pip>
send2trash                1.5.0                    py37_0
setuptools                40.8.0                    <pip>
setuptools                40.8.0                   py37_0
sip                       4.19.8           py37hf484d3e_0
six                       1.12.0                   py37_0
six                       1.12.0                    <pip>
sqlite                    3.26.0               h7b6447c_0
terminado                 0.8.1                    py37_1
testpath                  0.4.2                    py37_0
tk                        8.6.8                hbc83047_0
toolz                     0.9.0                     <pip>
tornado                   5.1.1            py37h7b6447c_0
traitlets                 4.3.2                    py37_0
wcwidth                   0.1.7                    py37_0
webencodings              0.5.1                    py37_1
wheel                     0.32.3                   py37_0
widgetsnbextension        3.4.2                    py37_0
xz                        5.2.4                h14c3975_4
zeromq                    4.3.1                he6710b0_3
zlib                      1.2.11               h7b6447c_3
@bollwyvl
Copy link
Owner

This kernel isn't so much maintained anymore. Please try https://github.com/Calysto/calysto_hy!

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

No branches or pull requests

2 participants