Comments (3)
It looks like the activate.sh shell script updates your PATH.
Original Comment By: Kelsey Hightower
from virtualenv.
Looking at the docs, the "Using Virtualenv without bin/python" section should
give you more details on what activate_this.py does.
http://virtualenv.openplans.org/#using-virtualenv-without-bin-python
Original Comment By: Kelsey Hightower
from virtualenv.
This should still update the environment to add bin (or Scripts on windows) to your PATH. This is in keeping with the principal that this activation will extend/override, but not replace a previous activation as denoted in the documentation. It will meanrly cause items to first be searched for in this environment which includes BOTH the modules, and the top level scripts.
To do otherwise causes many more problems. For instance if you use activate_this.py and then try to spawn a call to sphinx-build, it will use the executable from the old env, as that is what is on the PATH, but the module from the new env, as that is what is on the PYTHONPATH.
This is patently wrong.
from virtualenv.
Related Issues (20)
- sdist is missing tasks/make_zipapp.py HOT 3
- Missing file: activation/bash/activate.sh HOT 2
- RuntimeError: no .dist-info python3.9 macos HOT 1
- Move to PyPA org on PyPI? HOT 11
- Add PKG_CONFIG_PATH to variables set by venv activate HOT 1
- Extra Closing Parenthesis in the Code
- deactivate command not available in shell scripts or sub-shells (activate script does not export "deactivate") HOT 1
- `try-first-with` behaves differently for `--python` full paths and version specs HOT 3
- post-create hooks for discoverers/discovery HOT 1
- not work properly with pywin32 HOT 2
- Update for platformdirs v4 HOT 14
- pytest fails in five units HOT 14
- tests/unit/create/test_creator.py::test_create_no_seed --creator venv fails on Python 3.13 HOT 7
- cpython3_win_embed test failures with Python 3.13 HOT 6
- mkvirtualenv fails with: ModuleNotFoundError: No module named 'platformdirs' HOT 3
- venv base-executable path does not resolve symlinks using realpath() HOT 2
- Values in `pyvenv.cfg` do not reflect the real paths on case insensitive file systems HOT 5
- Virtualenv should support workon command by default. HOT 3
- https://bootstrap.pypa.io/virtualenv/3.11/virtualenv.pyz returns "Error 503 No healthy backends" HOT 3
- (Bitcoin wallet )15RFhHGkrB8F3TTtt4KgsyB5Mn3UQrGQnz
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtualenv.