Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7786367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:24:22+00:00 2026-06-01T20:24:22+00:00

python command is generally mapped to the latest Python 2.x compiler across different operating

  • 0

python command is generally mapped to the latest Python 2.x compiler across different operating systems. However, are there yet such standard way to invoke Python 3.x interpreter (any or the latest version installed)?

… so one could run your Python 3.x compatible script as:

 python3 yourscript.py

As a bonus, if there also exists a cross-platform way to invoke virtualenv command to create a local installation for Python 3?

  • Ubuntu seems to provide python3 command, does not seem to provide virtualenv for Python 3.x as prepackaged

  • OSX (Macports, BSD?) prefer python-3.2, python-3.1 commands, provides virtualenv-3.2, virtualenv-3.1

Currently I am trying to have some trial-and-error heuristics to get things done

  • https://github.com/miohtama/vvv/blob/master/vvv/sysdeps.py#L80
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:24:22+00:00Added an answer on June 1, 2026 at 8:24 pm

    After reading PEP 394 The “python” Command on Unix-Like Systems and PEP 397 Python launcher for Windows I guess your best option is to use #! /usr/bin/python3 shebang in your script and direct Windows users to install and use Python launcher (py command) instead of python command.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I like the python-send-buffer command, however I very often use Python embedded in applications,
When tools such as cx_freeze tell you to use a command such as python
I'm trying to open a Python script from the Python command line. There's a
I was just playing around with the python command line and the ** operator,
I can import MySQLdb from the interactive python command line but Zope gives me
I cannot get the example Python programs to run. When executing the Python command
Id like to know how to perform the functionality of the 'execfile' Python command
i need to check existing of Character (*,&,$) in Given String using python command
I'm uploadig my package to PyPi with this command: python setup.py sdist upload This
How do I call an external command within Python as if I had typed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.