question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No module named sphinx.util.compat error using `IPython.sphinxext` with Sphinx pre1.7 master branch

See original GitHub issue

Trying out IPython.sphinxext 6.1.0 with Sphinx==1.7.dev20170617 I get the following error on a Sphinx project:

Extension error:
Could not import extension IPython.sphinxext.ipython_directive (exception: No module named 'sphinx.util.compat')

Indeed, the sphinx.util.compat is deprecated at 1.6 and will be removed at Sphinx 1.7.

To reproduce, in a virtual env with IPython 6.1.0 run

pip install git+https://github.com/sphinx-doc/sphinx

and then

mkdir /tmp/IPython-test
cd /tmp/IPython-test
yes "n" | sphinx-quickstart --dot _ --project IPython-test --author "Example" -v 0 --release 0 --language en --suffix .rst --master index --makefile --batchfile .
echo '
extensions = [
    "IPython.sphinxext.ipython_directive",
]
' >> conf.py
make html

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Carreaucommented, Aug 16, 2017

As soon as I have time to polish release notes, triage issues and make a release. Mid September if all goes well.

0reactions
jakirkhamcommented, Aug 16, 2017

When is this scheduled to land in a release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sphinx cannot find my python files. Says 'no module named ...'
When trying to build my html using the sphinx-build -b html source .\build command, I get the following output, with the no module...
Read more >
IPython Sphinx Directive — IPython 8.7.0 documentation
The ipython directive is a stateful shell that can be used in reStructured text files. It knows about standard ipython prompts, and extracts...
Read more >
Compare Packages Between Distributions - DistroWatch.com
This page enables us to quickly perform a side-by-side comparison of the packages available in two different distributions, or in two different versions...
Read more >
Configuration — Sphinx-Gallery 0.11.1-git documentation
When documenting a given function/method/attribute/object/class, Sphinx-Gallery enables you to link to any examples that either: Use the function/method/ ...
Read more >
https://openi.pcl.ac.cn/OpenI/Paddle/commit/3ce617...
+# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found