question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python3 install installs wrapper calling python instead of python3

See original GitHub issue
> sudo pip3 install mssql-cli
Collecting mssql-cli
  Using cached mssql_cli-0.18.2-py2.py3-none-manylinux1_x86_64.whl (43.4 MB)
Requirement already satisfied: [...]
[...]
Installing collected packages: mssql-cli
Successfully installed mssql-cli-0.18.2
> mssql-cli
/usr/local/bin/mssql-cli: Zeile 16: python: command not found
> grep python /usr/local/bin/mssql-cli
[...]
16:python -m mssqlcli.main "$@"

All other Python scripts installed via pip in /usr/local/bin refer to python3[.8].

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
thorstenkampecommented, Apr 13, 2020

I have to correct myself: the distribution is not 18.04 but 19.10, the latest version of Ubuntu.

I guess I have to wait until 20.04 becomes supported.

0reactions
ellboschcommented, Apr 14, 2020

Sorry @thorstenkampe, we don’t support 19.10 at this time. Closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The right and wrong way to set Python 3 as default on a Mac
When I installed a module to tinker around with, I got a reminder that I needed to install Python 3 soon. $ pip...
Read more >
How can I make the "python" command in terminal, run ...
When running scripts through the command line/terminal, I have to type "python3" to run the latest version of Python. With Python 2.X I...
Read more >
How to run Python2 and Python3 together and make ... - Medium
brew install python (Install python 2)brew install python3 (Install ... with pip)pip install virtualenvwrapper (Install virtualenv wrapper ...
Read more >
4. Using Python on Windows — Python 3.11.1 documentation
To access the new installation, use python3.exe or python3.x.exe . The py.exe launcher will detect this Python installation, but will prefer installations from ......
Read more >
Installing Python 3 and Python Packages - Codecademy
Learn how to install Python packages and download Python 3 with Anaconda and Miniconda on Mac and Windows.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found