ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.22k stars 806 forks source link

autopep8 module not found error #1300

Open echosori opened 6 years ago

echosori commented 6 years ago

as the snapshot shows, when I check the autopep8 option the error messege showd up. How can I solve this ?

2018-06-02 8 05 10
jfbercher commented 6 years ago

As indicated, install autopep8, with something like

pip install autopep8 --user
sedghi commented 4 years ago

@jfbercher I have the same problem and your solution didn't work for me, any other ideas?

AnastasiiaKarliuk commented 4 years ago

@jfbercher I have the same problem and your solution didn't work for me, any other ideas?

try

conda install autopep8
vaylon-fernandes commented 3 years ago

Before installing autopep8 via pip or conda, close all open notebooks and shutdown the jupyter notebook server or close and restart any notebooks and server which were active during the library installation. Also make sure you install the library in the same virtual environment as Jupyter notebook. You can install a library by running the command within jupyter or using the jupyter terminal to be sure of this. Close and restart your server and notebook after installation as mentioned before. To install the library within jupyter notebook run,
!pip install autopep8

ghost commented 3 years ago

Make sure you install the library in the same virtual environment as Jupyter notebook. For example: if you want to use in env: (env)conda install autopep8 if you want to use in base: (base)conda install atuopep8