Comments (8)
An even better way to fix this issue may be the use of the universal variablefish_user_paths
, like so:
set -U fish_user_paths ~/.pyenv/shims $fish_user_paths
The fish_user_paths
is automatically prepended to $PATH, see https://fishshell.com/docs/current/tutorial.html#tut_path for details.
from fish-pipenv.
I wanna add, that this issue seems to be the default state, if you manage you python installations with pyenv and install the pyenv
and pipenv
fisherman plugins, since conf.d/pipenv.fish
is evaluated before conf.d/pyenv
.
$ tree .config/fish
...
├── conf.d
│ ├── pipenv.fish -> /Users/markus/.config/fisherman/pipenv/conf.d/pipenv.fish
│ └── pyenv.fish -> /Users/markus/.config/fisherman/pyenv/conf.d/pyenv.fish
...
If I change the ordering like so, the issue is gone.
...
├── conf.d
│ ├── 01_pyenv.fish -> /Users/markus/.config/fisherman/pyenv/conf.d/pyenv.fish
│ └── 02_pipenv.fish -> /Users/markus/.config/fisherman/pipenv/conf.d/pipenv.fish
...
from fish-pipenv.
I'm not sure why you're getting this error.
from fish-pipenv.
So I uninstalled the fish plugin with fisher rm pipenv
, restarted the shell and tried a few pipenv commands and they all worked.
I installed the fish plugin again with fisher install pipenv
and tried the same commands again and they all failed giving me the same Install http://docs.pipenv.org/en/latest/ to use this plugin.
message.
It appears that for some reason the plugin is interpreting the results of command -s pipenv
as pipenv is not installed.
from fish-pipenv.
Closing issue as recommended solution is now available in the Readme.
from fish-pipenv.
✨🍰✨
from fish-pipenv.
Solution in the README didn't work for me. For starters, I didn't even have a ~/.config/fish/config.d directory so the plugin wasn't installing anything there. I created it anyway along with a script to set the path to my Python installation (conda) and that didn't make this problem go away.
from fish-pipenv.
I'm still having this issue as well. Solutions in README don't work and don't acknowledge that the issue exists on platforms outside of MacOS. I'm being prompted to install the latest version, in spite of pipenv being installed with --user using global python version as well as being installed within the virtualenv (via pyenv) that I'm using. This is on a VPS running Ubuntu 16.04, btw.
from fish-pipenv.
Related Issues (16)
- pipenv doesn't allow .envrc files to be sourced HOT 1
- Fish 2.7.1 includes completions HOT 1
- why is it quicker to just use this function in config.fish than installing with fisher HOT 2
- pipenv shell with --Fancy option HOT 8
- Does not switch pipenv when switching directly to another pipenv folder. HOT 2
- Pipenv called for any directory when i cd into it. HOT 2
- Does not enter pipenv shell when creating new terminal directly in a pipenv folder HOT 5
- I love this repo HOT 12
- Does this work with Oh my Fish? HOT 18
- An error in the documentation? HOT 3
- poetry env info -p is slow HOT 2
- C
- "exit" exits parent shell, too HOT 1
- auto-deactivate, like pyenv-virtualenv HOT 2
- Plugin makes shell startup much slower HOT 4
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 fish-pipenv.