Skip to content

Conversation

@daj
Copy link
Contributor

@daj daj commented May 5, 2025

Description:

When following the instructions on macOS 15.4, after installing the recommended version of Python from python.org, I found that the Python 3 executable is python3, not python.

Some quick internet searching suggests that python3 is probably the most reliable command to run across multiple OSes.

I confirmed the command seems to work as expected:

% python3 -m http.server
Serving HTTP on :: port 8000 (http://[::]:8000/) ...
::1 - - [04/May/2025 23:10:46] "GET /my-test-vr.html HTTP/1.1" 200 -

Changes proposed:

Simple docs change from python to python3.

When following the instructions on macOS, after installing the recommended version of Python from python.org, I found that the Python 3 executable is `python3`, not `python`.

Some quick internet searching suggests that `python3` is probably the most reliable command to run across multiple OSes.
@dmarcos
Copy link
Member

dmarcos commented May 5, 2025

@mrxz @vincentfretin Any thoughts?

@vincentfretin
Copy link
Contributor

It's the same on latest ubuntu, at least on 22.04, there is no python alias anymore (that was pointing to python2), you need to execute python3 command or python2 explicitly.
I personally would get rid of the python -m SimpleHTTPServer completely in the doc now and only document the python3 -m http.server command. Python 2 end of life was January 1st, 2020.

@mrxz
Copy link
Contributor

mrxz commented May 6, 2025

As far as I've encountered, it's common to have python3 and python2 for their respective versions, with python symlinking to the "default" one, though virtually always python 2 for backwards compatibility.

I agree with @vincentfretin that we should just list the python3 command and remove the old one.

@dmarcos
Copy link
Member

dmarcos commented May 6, 2025

@daj can we switch to python3 as described above?

@daj
Copy link
Contributor Author

daj commented May 7, 2025

@dmarcos I updated it, please let me know if I need to make any other changes.

@dmarcos
Copy link
Member

dmarcos commented May 7, 2025

Thanks @dan and congrats on your first contribution 👏

@dmarcos dmarcos merged commit f47d94d into aframevr:master May 7, 2025
2 checks passed
@daj daj deleted the patch-1 branch May 8, 2025 03:28
vincentfretin pushed a commit to vincentfretin/aframe that referenced this pull request Sep 30, 2025
* Update installation.md Python 3 command to `python3`

When following the instructions on macOS, after installing the recommended version of Python from python.org, I found that the Python 3 executable is `python3`, not `python`.

Some quick internet searching suggests that `python3` is probably the most reliable command to run across multiple OSes.

* Update installation.md
dmarcos added a commit that referenced this pull request Oct 20, 2025
* Update aframe-environment-component to 1.5.x in examples and docs (#5674)

* Fix broken links. (#5676)

* Update aframe-physics-system to 4.2.3 in documentation (#5689)

* Update contributing and introduction doc to point to Discord instead of Slack (#5690)

* Update contributing doc to point to Discord instead of Slack

* Remove newsletter and slack, add WebXR Discord to the introduction doc

* Fix the npm search link and mention the A-Frame Wiki for an community-maintained list of components (#5695)

* Fix minor error in documentation for reflection component (#5698)

Fix a </a-scene> which is out of place.

* Bump A-Frame version number in doc

* fixed the anchored documentation error (#5711)

in the anchored documentation, added function el.components.anchored.createAnchor(position, quaternion) instead of el.components.createAnchor(position, quaternion)

* Update installation.md Python 3 command to `python3` (#5713)

* Update installation.md Python 3 command to `python3`

When following the instructions on macOS, after installing the recommended version of Python from python.org, I found that the Python 3 executable is `python3`, not `python`.

Some quick internet searching suggests that `python3` is probably the most reliable command to run across multiple OSes.

* Update installation.md

* Use python3 command in visual-inspector-and-dev-tools.md (#5728)

* Fix broken and incorrect links in the docs (#5730)

* Update logitech-mx-ink-controls.md (#5742)

fixing a minor typo with the logitech mx ink docs

* Update some glitch links to examples inside the repo (#5744)

* Point to aincraft in the repo instead of glitch

* Remove not maintained networked-aframe glitch

* Link to community-components in the repo instead of aframe-registry glitch

* Replace a-watch glitch url by link in the repo

* Replace glitch cdn url by aframe cdn for grip-compressed.glb

* Remove cdn.glitch.com url in test

* Link to 360-gallery in the repo instead of aframe-gallery glitch

* Update link to Animated Lights example

* Increase light intensity in dynamic-lights example

* Remove dead examples in interactions-and-controllers

* Add aframe-modify-model-material example in the repo

* Remove dead Displacement Shader example

---------

Co-authored-by: Diarmid Mackenzie <[email protected]>
Co-authored-by: Jesus M. Gonzalez-Barahona <[email protected]>
Co-authored-by: Diego Marcos Segura <[email protected]>
Co-authored-by: Vaibhavy <[email protected]>
Co-authored-by: Dan Jarvis <[email protected]>
Co-authored-by: Noeri Huisman <[email protected]>
Co-authored-by: Claudius Coenen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants