Skip to content

Instantly share code, notes, and snippets.

@BaronKimaru
Last active June 8, 2023 05:13
Show Gist options
  • Select an option

  • Save BaronKimaru/b3dc8363ae434e2dc96b569704280406 to your computer and use it in GitHub Desktop.

Select an option

Save BaronKimaru/b3dc8363ae434e2dc96b569704280406 to your computer and use it in GitHub Desktop.
pythonanywhere unable to create virtualenv - no .dist-info Error.md

Problem:

RuntimeError: 
no .dist-info at /home/[YOUR USERNAME]/.local/share/virtualenv/wheel/3.8/image/1/CopyPipInstall/pip-22.1.2-py3-none-any, has pip
  • I was always getting this error whenever i tried to create a virtual environment through pythonanywhere. tried everything (and I mean everything, short of witchcraft) to solve this.
  • Turns out that this last resort below saved me

Solution

  • go to Accounts on the top bar then click System image. change the python versions to the version you wanna work with but limited to the list on offer.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment