एक brew upgradeअजगर 3.7 करने के लिए अपने सिस्टम अजगर का उन्नयन किया। दुर्भाग्य से, पायथन 3.7 अन्य सॉफ़्टवेयर को तोड़ता है जिन्हें मुझे उपयोग करने की आवश्यकता है (सहित, लेकिन इसे केवल अंसिबल तक सीमित नहीं)। मुझे लगता है कि इन समस्याओं को अगले सप्ताह में काम किया जाएगा, लेकिन इस बीच, मैं Python के लिए रोलबैक करना चाहूंगा 3.6.5.x
यह brew info pythonदर्शाता है कि पिछले संस्करण अभी भी स्थापित हैं और शुद्ध नहीं हैं:
➜ brew info python
python: stable 3.7.0 (bottled), HEAD
Interpreted, interactive, object-oriented programming language
https://www.python.org/
/usr/local/Cellar/python/3.6.5 (4,825 files, 100.8MB)
Poured from bottle on 2018-03-31 at 20:21:57
/usr/local/Cellar/python/3.6.5_1 (4,788 files, 99.9MB)
Poured from bottle on 2018-06-20 at 16:00:26
/usr/local/Cellar/python/3.7.0 (4,869 files, 103.3MB)
Poured from bottle on 2018-07-01 at 19:30:37
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/python.rb
अन्य साइटों द्वारा सुझाए गए विभिन्न brew linkऔर brew installआदेश काम नहीं करते हैं:
➜ brew link python@3.6.5
Error: No such keg: /usr/local/Cellar/python@3.6.5
➜ brew link python@3.6.5_1
Error: No such keg: /usr/local/Cellar/python@3.6.5_1
➜ brew install python@3.6.5
Error: No available formula with the name "python@3.6.5"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.