GithubHelp home page GithubHelp logo

Command 'python' not found about bass HOT 5 CLOSED

edc avatar edc commented on July 30, 2024
Command 'python' not found

from bass.

Comments (5)

edc avatar edc commented on July 30, 2024 1

If you have python installed already, it is not on your PATH, and your shell cannot find it. You need to update your PATH to add the directory where python binary is. For example, if python is installed to /opt/bin/python, then you need to add this line to your fish config at ~/.config/fish/config.fish:

set -x PATH /opt/bin $PATH

from bass.

nirvdrum avatar nirvdrum commented on July 30, 2024 1

Investigating this a bit more, the bass.fish properly invokes python3 if available, but __bass.py does not. I'll open a PR.

from bass.

nirvdrum avatar nirvdrum commented on July 30, 2024

@edc The problem here is there is no binary named python, only python3 (at least in Ubuntu), if Python 3 is the only one installed. Ubuntu says they will not symlink python to python3, citing the advice provided in PEP 394. Without every user explicitly creating symlinks or a shell alias, bass does not work out of the box with Ubuntu 20.04+. Even with Python 2 and 3 installed, there is no python command on the PATH; instead there is python2 and python3.

from bass.

Talent30 avatar Talent30 commented on July 30, 2024

对此进行更多调查,如果有的话,bass.fish适当地调用python3,但__bass.py没有。我要开公关

Thank you very much!

from bass.

lougreenwood avatar lougreenwood commented on July 30, 2024

Im still getting this on a new Mac OS install (Ventura 13.1). Is this still a known issue?

from bass.

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.