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

ShimWarning: The IPython.html package has been deprecated since IPython 4.0 #70

Open
lwaldron opened this issue Jan 22, 2018 · 1 comment

Comments

@lwaldron
Copy link

I'm not sure if the warning in the subject is itself a problem, but I can't seem to run your example. I have a new installation of Anaconda with Python3 and have installed notedown by pip install https://github.com/aaren/notedown/tarball/master. Following is from the r-examples directory:

$ notedown r-example.Rmd --knit --rmagic > r-example-me.ipynb
/anaconda3/lib/python3.6/site-packages/IPython/html.py:14: ShimWarning: The `IPython.html` package has been deprecated since IPython 4.0. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.
  "`IPython.html.widgets` has moved to `ipywidgets`.", ShimWarning)
$ 

And I don't get a complete .ipynb output file:

$ cat r-example-me.ipynb 
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "%load_ext rpy2.ipython"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Introduction to ggplot2\n",
    "\n",
    "This is a short demo on how to convert an R Markdown Notebook into an IPython Notebook using knitr and notedown.\n",
    "\n",
    "Adding a Python Chunk"
   ]
  }
 ],
 "metadata": {},
 "nbformat": 4,
 "nbformat_minor": 2
}
@ysaito8015
Copy link

Hi, maybe your notebook is the old version.

Please try this.
pip3 install --upgrade notebook

--
maybe stack here notebook.transutils

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

2 participants