Bug 1401199 - no /usr/bin/python or it's still python2
Summary: no /usr/bin/python or it's still python2
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Charalampos Stratakis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-03 12:30 UTC by Harald Reindl
Modified: 2016-12-03 12:47 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-12-03 12:47:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Harald Reindl 2016-12-03 12:30:18 UTC
https://fedoraproject.org/wiki/Changes/Python_3_as_Default from my understanding "Change definition of default python interpreter to python3" is different then he result below when you have removed all python2 dependencies and packages

[root@master:~]$ which python
/usr/bin/which: no python in (/usr/local/bin:/usr/bin:/usr/sbin:/scripts)
[root@master:~]$ python3
python3     python3.5   python3.5m

[harry@srv-rhsoft:~]$ rpm -q --file /usr/bin/python
python-2.7.12-6.fc24.x86_64

[harry@srv-rhsoft:~]$ ls /usr/bin/python
lrwxrwxrwx 1 root root 7 2016-09-29 15:31 /usr/bin/python -> python2

[harry@srv-rhsoft:~]$ cat /etc/redhat-release
Generic release 24 (Generic)

Comment 1 Miro Hrončok 2016-12-03 12:47:32 UTC
This is explained on the page you've linked.

https://fedoraproject.org/wiki/Changes/Python_3_as_Default -> search for /usr/bin/python


Note You need to log in before you can comment on or make changes to this bug.