# Unable to install PEP8 extension on vscode

**URL:** <https://forum.codewithmosh.com/t/unable-to-install-pep8-extension-on-vscode/2962>\
**Category:** Python\
**Created:** [February 24, 2021, 3:00am UTC](https://forum.codewithmosh.com/t/unable-to-install-pep8-extension-on-vscode/2962 "2021-02-24T03:00:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chimz2002](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@chimz2002](https://forum.codewithmosh.com/u/chimz2002)\
**Post date:** [February 24, 2021, 3:00am UTC](https://forum.codewithmosh.com/t/unable-to-install-pep8-extension-on-vscode/2962/1 "2021-02-24T03:00:10Z")

</div>

Hi All, I am trying to replicate the example from lesson 8 under module 1(Complete Python Mastery). In this lesson, section Mosh talked about formatting python code using PEP8.

I am currently using a Windows 10 computer and I have visual studio code installed already. I have installed the python extension

I tried to format using ctrl+shift+p and I got the prompt of formatter autopep8 not being installed. I clicked on yes to allow the extension to be installed and then I have been stuck with the error message in the screenshot attached.

 ![PEP8 Error](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/8/842961077935bec1ad319ba346c37d82a7d9b307.png)

I have looked at StackOverflow for solutions but did not really find so much and even the solutions that I found could not help me

Any help in resolving this will be really appreciated

---

<div class="post-metadata">

**Author:** ![chimz2002](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@chimz2002](https://forum.codewithmosh.com/u/chimz2002)\
**Post date:** [February 24, 2021, 12:01pm UTC](https://forum.codewithmosh.com/t/unable-to-install-pep8-extension-on-vscode/2962/2 "2021-02-24T12:01:27Z")

</div>

Thanks guys I was able to fund a solution for this by deleting the code folder for vscode. this actually reset my vscode and it worked perfectly

---

<div class="post-metadata">

**Author:** ![Jethro](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@Jethro](https://forum.codewithmosh.com/u/Jethro)\
**Post date:** [May 4, 2021, 4:56am UTC](https://forum.codewithmosh.com/t/unable-to-install-pep8-extension-on-vscode/2962/3 "2021-05-04T04:56:57Z")

</div>

I am having the same issue so what code folder did you delete?

---

<div class="post-metadata">

**Author:** ![ChrisMaringka](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@ChrisMaringka](https://forum.codewithmosh.com/u/ChrisMaringka)\
**Post date:** [November 11, 2021, 7:38pm UTC](https://forum.codewithmosh.com/t/unable-to-install-pep8-extension-on-vscode/2962/4 "2021-11-11T19:38:11Z")

</div>

Hello Jethro,

I was having an issue with this as well and tried to run ‘exit()’ command. After that, I could install the PEP8 just like in the tutorial. Hope it helps!
