Installing autopep8 with pipenv throws an error #7393
Labels
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
Environment data
Expected behaviour
VS Code would install the autopep8 package using pipenv
Actual behaviour
An error is ocurring and the installation failing
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)Output from the CMD Windows console when trying to install autopep8
Not sure if this is a Python issue or a VS Code issue
EDIT: When trying to run
pipenv install autopep8 --dev
manually (inside the venv) that command does not work alsoAnother Edit: If inside the current venv i run
pipenv shell
, these commands work normally. VS Code is not launching the correct Virtual Enviroment.In order to pipenv venv's to work, we need to run the
pipenv shell
and not using theactivate
script, like VS Code is doing.Again, I think this may not be related to the Python Extension.
The text was updated successfully, but these errors were encountered: