Giter VIP home page Giter VIP logo

Comments (4)

msiemens avatar msiemens commented on June 3, 2024

I dont' have any clue as to why this happens either 🙁 Does running git-up from your shell work if the git-up is located in /home/.../.local/bin?

from pygitup.

jflorian avatar jflorian commented on June 3, 2024

I just stumbled onto the magic, I believe.

I was confused how Pip could be so wrong about my PATH and being Python I wasn't afraid to find the code and scrutinize it. I see no use of os.path.expanduser() in message_about_scripts_not_on_PATH() of wheel.py. I checked my PATH and sure enough I had this particular entry as ~/.local/bin. I changed this to /home/jflorian/.local/bin and reinstalled PyGitUp. This time the warning was gone with Pip and git up is now happy too.

IMHO both Git and Pip are buggy in that they don't expand ~ in PATH. Maybe that's not conventional as I noticed all the normal default PATH entries that I didn't put there myself were already expanded ... like whomever did the OS defaults knew better.

from pygitup.

jflorian avatar jflorian commented on June 3, 2024

Oh and just to eliminate any confusion here... I'm taking about two different systems one where I'm d13677 and the other I'm jflorian but otherwise all oddities and fixes are alike on both systems.

from pygitup.

msiemens avatar msiemens commented on June 3, 2024

Interesting! I'm glad you were able to find the cause for this issue 🙃 I've had issues with this too on some occasions, but with other tools. Some programs work fine with ~ in PATH, some don't.

from pygitup.

Related Issues (20)

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.