05-17 09:12
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Polymolphism
- 리눅스
- 백준
- 리눅스 마스터 1급
- Mac
- Inheritance
- Entity Set
- dbms
- spring
- Physical Scheme
- 자바
- literal
- preprocessing
- BFS
- selenium
- X윈도우
- Binary Search
- X.org
- Java
- Class
- Unity
- descriptive statistics
- External Scheme
- systemd
- OOP
- python
- Reference Type
- 셀레니움
- Operator
- Entity
Archives
- Today
- Total
Byeol Lo
Mac VSC python 설정 본문
mac에서 가끔 python을 설치하거나 업데이트를 하면 다음과 같은 오류가 뜰 수 있다.
zsh: command not found: python
해당 오류는 zsh에서 python 이라는 명령어를 찾을 수 없다는 소리이다. 다음을 통해 조정하자.
VSC는 해당 파일에 settings.json을 접근하여 vsc 기본 세팅값들을 만질 수 있다.
cd ~/Library/Application\ Support/Code/User/
zsh에서 python을 실행할때 쓰는 명령어를 (명령어) 부분에 쓰면 되겠다.
"code-runner.excutorMap" : {
"python": "(명령어)",
...
}
아마 "python3" 이거나 "python" 으로 설정하면 거의 다 될 것이다.
Comments