This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2017年09月06日 07:59 by Ilya.Kulakov, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg301454 - (view) | Author: Ilya Kulakov (Ilya.Kulakov) * | Date: 2017年09月06日 07:59 | |
There are 2 venvs. One has the pkg_resources (pkgr_venv) package installed, another (venv) doesn't.
Venv without pkg_resources is currently active.
Works: $ <pkgr_venv>/python -c "import pkg_resources"
Doesn't work: $ python -c "import subprocess; subprocess.check_call(['<pkgr_venv>/python', '-c', 'import pkg_resources'])"
Works: $ python -c "import os, subprocess; env = os.environ.copy(); env.pop('__PYVENV_LAUNCHER__'); subprocess.check_call(['< pkgr_venv>/python', '-c', 'import pkg_resources'], env=env)"
|
|||
| msg367407 - (view) | Author: Ned Deily (ned.deily) * (Python committer) | Date: 2020年04月27日 07:40 | |
This issue has been fixed in the code for Issue22490 which will be released in Python 3.8.3 and 3.7.8. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:52 | admin | set | github: 75544 |
| 2020年04月27日 07:40:52 | ned.deily | set | status: open -> closed versions: + Python 3.7, Python 3.8, Python 3.9, - Python 3.6 superseder: Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile messages: + msg367407 resolution: duplicate stage: resolved |
| 2017年09月06日 17:19:21 | ned.deily | set | nosy:
+ vinay.sajip, ned.deily |
| 2017年09月06日 07:59:22 | Ilya.Kulakov | create | |