Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

I can't get pip to work in a virual environment.

BrianArbuckle
BrianArbuckle

After running the following:

python3 -m venv venv source venv/bin/activate pip install anypackage

I get the following error:

Traceback (most recent call last): File "/home/runner/galacodingclubinitialproject/our_app/venv/bin/pip", line 5, in <module> from pip._internal.cli.main import main ModuleNotFoundError: No module named 'pip._internal.cli.main'

I tried Python 3.8, which is the default in replit python3.8 -m venv venv and got the same error.

Any thoughts

1 year ago
You are viewing a single comment. View All
1
Coder100
Coder100

Try this: https://replit.com/@replit/Django-App-Template?v=1

i don't believe venv is supported on replit, you can try with nix: https://repl.new/nix

report it as a bug:

image

1 year ago