holzschu / holzschu/a-shell

Python env does not allow to use pip before and after activated

Open
#874 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

@N-Holzschuch,

Found an issue on python -m venv where I can’t use pip to install anything.

Because of that, can’t :

- Install package using pip.

image

- Deactivate the virtual environment.
- Install pip because python3.11 from a-shell does not support ssl.
image

The reason why is that happened is because virtual environments are created by default without pip.

Did some researches on pyvenv.cnf file and found that python-venv module runs this runs `python3 -m venv --copies --without-pip` by default.

According to help file, since we can’t install a new pip because it cames by default, I guess we should be shared this module, unless I misunderstood the real reason behind virtual environments.

image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.