Coder Social home page Coder Social logo

Comments (8)

mhubig avatar mhubig commented on August 16, 2024 5

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.

mhubig avatar mhubig commented on August 16, 2024 2

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.

kennethreitz avatar kennethreitz commented on August 16, 2024

I'm not sure why you're getting this error.

from fish-pipenv.

Pilgrim1379 avatar Pilgrim1379 commented on August 16, 2024

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.

Pilgrim1379 avatar Pilgrim1379 commented on August 16, 2024

Closing issue as recommended solution is now available in the Readme.

from fish-pipenv.

kennethreitz avatar kennethreitz commented on August 16, 2024

✨🍰✨

from fish-pipenv.

gramster avatar gramster commented on August 16, 2024

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.

WisdomWolf avatar WisdomWolf commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.