Comments (4)
Hey Matthew. Could you elaborate regarding precisely what you are trying to accomplish? It's not clear from the brief description provided.
Activating a virtual environment, regardless of which tool does it, entails setting the shell's $PATH
such that the environment's executables take precedence. VirtualFish is no different in that respect, and the operation performed is quite straightforward.
In other shells we just source path/to/venv/activate but this obviously doesn't work with fish
Well, in the virtual environments I have seen, a Fish-specific activation script is already included at your-virtual-environment/bin/activate.fish
, so other than appending .fish
to your usual invocation, I don't see any other differences in terms of process flow.
In any case, could VirtualFish source that file instead of using its own activation logic? Sure, but in the absence of presented evidence to the contrary, I don't believe that would accomplish anything, and the reasons why it doesn't activate via Virtualenv's activate.fish
are already explained in the FAQ.
from virtualfish.
You're right
Thanks!
from virtualfish.
Related Issues (20)
- Option to create virtual environment with last version of pip HOT 5
- Bug with ls --details with macos provided python HOT 2
- vf desactivate give The subcommand desactivate is not defined HOT 2
- Issue customising my fish_prompt HOT 7
- Create an environment for a self-hosted service ran as a system user? HOT 4
- vf: command not found HOT 4
- How to specify minor python version when using pyenv? HOT 4
- Semi-automatic activation HOT 6
- Global requirements plugin: don't install by default on `vf tmp`
- auto_activation: 2.5.3 breaks auto-deactivation HOT 3
- can't create the new environment HOT 4
- Using tab for autocompletion with `vf activate` causes `direnv` to load and unload leading to cluttered output
- vf upgrade can sometimes fail
- Install doesn't work with python packaging 21.x
- Not autoactivating virtualenv when using tmux split pane HOT 4
- Dependency issue in Archlinux HOT 4
- What does vf check when it decides an env is "broken" ? HOT 5
- Cannot create new environment with python3.10, 3.9 and 3.8 works fine HOT 5
- bin folder isn't added to path correctly for Python3.10 (local/bin/ isn't used) HOT 7
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 virtualfish.