How do I get Juypter Widgets to render properly through Sphinx and nbconvert?

I am using Jupyter widgets in my notebooks. My notebooks are then processed through Sphinx + nbsphinx to generate HTML. I noticed that even the simple example below shows a slider in my notebook...

searching with Sphinx using bootstrap-theme

I cloned from author's https://github.com/ryan-roemer/sphinx-bootstrap-theme and finished all configuration. Everything looks fine, except when you use the search function, it will display...

How to create a requirements.txt file in Django project?

I have been trying to create a requirements.txt file from the Pycharm terminal but it is adding all unnecessary packages as well. What should I do to show only used...

sphinx_rtd_theme is no longer a hard dependency since version 1.4.0. even if the theme is installed

The issue running make html on Sphinx and using sphinx-rtd-theme work no more A hint The preview works on Visual Studio Code (vscode) using exactly the same conda environment. The error on the...

Issue installing numpy on Heroku: Could not find a version that satisfies the requirement numpy==1.20.1 (from -r /tmp/build_795c7f47/requirements.txt

I am deploying my first Flask app onto Heroku, but am getting the following error: <br>Could not find a version that satisfies the requirement numpy==1.20.1 (from -r...

Docstrings are not included in Read the Docs Sphinx build

I built a Sphinx documentation and the build works well locally. My docstrings appear as shown below. When moving to readthedoc.io, I added a specific requirement file under docs/requirement.txt...

mamba fails to create env

I had just installed Anaconda from anaconda.com. The installation proceeded smoothly. After that, I was trying to create a new environment from this environment.yml file. (nbdev.yml) ```yaml name:...

Why can't I see spyder-terminal after installing plugin using pip (Windows 10)?

I am using Python 3.9.0 and Spyder 4.2.0 on Windows 10 (x64) machine. Via official repo, I installed the spyder-terminal plugin using pip. It installed successfully. After installation, when I...

"IndexError: list index out of range" on msaf evaluate

Screenshot of the runtime error I got this error when trying the evaluate part of the tutorial: "IndexError: list index out of range". I have tried some solutions but none of them work. Also, when...

pip getting killed in Docker

I am building a Docker container based on python:3.7-slim-stretch (same problem also happens on python:3.7-slim-stretch), and it is getting Killed on pip install --no-cache-dir --verbose...

Sphinx Docs not rendering Styling/CSS after running `make html`

I have a project and use Sphinx, combined with the sphinx_rtd_theme, to produce documentation. Basically when I run the make html command to build the docs, when I try open the .html, it just...

Jupyter Notebook not importing Geopandas

I try to import Geopandas on my Jupyter Notebook but it says that there is no module named geopandas. However, when I run !pip list it appears in the list so it must be installed in the...

Sphinx unable to import some modules

I am using to generate documentation for codebase. While building the docs, I could see that they were built for some modules only and many were left undocumented with warning in console - failed...

I have a ModuleNotFoundError: No module named 'Crypto'

Please need help When I try to run myfile.py it says, ModuleNotFoundError: No module named 'Crypto' ,but I already have the path for 'conda' and 'anaconda3' in my environment variables, I also...

Why do I get O365 module not found error?

I wanted to get Outlook calendar data but the module is not recognized, constantly giving the following error: > ModuleNotFoundError: No module named 'O365' Right from the first line (from O365...

what's happend to me ? "django-admin : command not found"

I make a new Environment for django-project but as you can see <br> when I typed pip list I could see django in the list.<br> but when did django-admin it returned command not found<br> and also...

Problem using mermaid.cli in Sphinx on Windows

I have a simple Sphinx project where I'd like to be able to render my Mermaid charts as png. To do so, I have installed the mermaid.cli via yarn, but I've not managed to get it to work. My...

AttributeError: module 'numpy.polynomial' has no attribute 'polynomial'

I try to run a scikit-learn simple example from the documentation, but I keep getting the following error AttributeError: module &#39;numpy.polynomial&#39; has no attribute &#39;polynomial&#39; I...

Conda export giving useless .yml file

I'm working with an environment named gcloud, with many google APIs packages installed. I wanted to export said environment to install it elsewhere, but when I do that I get a very useless .yml...

How to store result of pip command into Pandas Datafarme

For getting the list of installed libraries, I run the following command in Jupyter Notebook: !pip list and I get the following as output: ``` Package Version alabaster...

Sphinx build error since v2.4.0 ValueError: invalid literal for int() with base 10: '100px'

Since I upgraded the sphinx package from v2.3.4 to 2.4.0 my build fails. When I revert back to 2.3.4 all is fine again. Since Sphinx >=2.4.0 I got the follwing build error. With Sphinx 2.3.4 all...

Python 3.7 NetCDF4 1.5.4 seem to autoscale unexpectedly

I have a NetCDF 4 file containing (among others) two variables which Panoply (Windows 10 64) can read and plot correctly: ``` float PriESCA(eTime=41, y=82, x=114); :x = "x"; :coordinates =...

Python - Compatibility Issues between Shapely and Geopandas

I am attempting to run shapely.ops and my kernel dies. I believe this is due to version controls between GeoPandas and Shapely but am unable to figure out the issues. For more information, note...

Error in importing module in make html in Sphinx Documentation

When I type make html, I got error about auto-summary failed to import the python module. sphinx-build -b html -d build/doctrees source build/html Running Sphinx v3.2.1 making output...

No module named 'matplotlib.artist'

I faced with this error No module named &#39;matplotlib.artist&#39; here is the complete error: ``` ModuleNotFoundError Traceback (most recent call...

Anaconda mass delete huge amount standard of libraries (numpy, pandas, matplotlib, etc)

Anaconda deleted many of my standard library (numpy, pandas, matplotlib) that shipped with Anaconda installation, possible when I run conda update --all. OS: macOS Mojave. conda 4.7.5; Python...

conda install -n base --revision 1 doesn't clean up pypi packages

I attempted cleaning up my base (mini)conda environment by installing revision 1 of the base environment. bash $ conda install -n base --revision 1 For reference, here is what revision 1 means in...

git push heroku master - error in requirements.txt file

I was pushing my app through Heroku master but this was the error I received. I tried resolving the problem by deleting some of the files that were showing up as errors. Earlier, I was getting an...

Jupyter keeps producing a 500 error no matter what (new and existing notebooks)

I am running into a 500: Internal Server Error when launching Jupyter, and trying to open or create a notebook. I checked multiple threads here, but nothing worked. I also tried installing,...

Importing stix2, ModuleNotFoundError: No module named 'six.moves.collections_abc'

I have issues importing the stix2 library regardless of the code I have written. Following https://github.com/oasis-open/cti-python-stix2, I followed the installations instructions and...