Description
안녕하세요,
파이손 package installation에 문제가 생겨서 여기에 올립니다.
최근에 랩탑을 바꿨는데, 파이손3을 잘못 설치 한건지 pip install 명령을 할때마다
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/c3/znjsw9191xn_m42yb54400zh0000gn/T/pip-build-eX1ndT/nltk/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/c3/znjsw9191xn_m42yb54400zh0000gn/T/pip-cpkcEL-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/c3/znjsw9191xn_m42yb54400zh0000gn/T/pip-build-eX1ndT/nltk/
이란 에러가 뜨는데, 도통 찾아봐도 해결 방법을 잘 모르겠네요.
심지어 같은 python script가 python file.py때는 실행이 잘 되는데 python3 file.py때는 package가 없다는 에러문구가 뜨면서 실행이 되지 않습니다. path를 제가 잘못 건드린것 같은데 어떻게 해결하는게 가장 좋을까요?
또 sudo pip이랑 pip 의 차이는 정확히 어떻게 되는지 궁금합니다. sudo pip intall 을 치면
The directory '/Users/minheeseo/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/minheeseo/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
이런 경고문이 뜨는데, 저 혼자 사용하고 있는 랩탑인데 왜 이런 문구가 뜰까요?