0
Pythonを実行しようとするたびに、私はこのパスを自分のパスに関連づけます。私のためにこの問題を持っていますが、今私はPython2を使用する必要があるタスクを持っているので、この問題に直面する必要はありません、私はのpython3を使用してきたエラーのためにPythonを使用できませんhomebrew.pth
FrankieMacBook-Pro-2~$ python
Error processing line 2 of /Users/Frankie/Library/Python/2.7/lib/python/site-packages/homebrew.pth:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage
exec line
File "<string>", line 1
import site; site.addsitedir("/usr/local/lib/python2.7/site-packages") mkdir -p /Users/Frankie/Library/Python/2.7/lib/python/site-packages
^
SyntaxError: invalid syntax
Remainder of file ignored
Python 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
。
私の問題は何ですか? 私は何とか自宅で自分の道を台無しにしましたか?
信じられないほどの答えをありがとう!私はちょうどhomebrew.pthを削除し、修正されたようだ。 –