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를 지우고 고정 된 것처럼 보인다. –