๊ด€๋ฆฌ ๋ฉ”๋‰ด

Tech Log ๐Ÿ› ๏ธ

[flask] The script flask is installed in 'PATH' which is not on PATH. ๊ฒฝ๊ณ ๊ฐ€ ๋œฐ ๋•Œ ๋ณธ๋ฌธ

ํ”Œ๋ผ์Šคํฌ

[flask] The script flask is installed in 'PATH' which is not on PATH. ๊ฒฝ๊ณ ๊ฐ€ ๋œฐ ๋•Œ

sehaan 2023. 2. 22. 10:27

ํ”Œ๋ผ์Šคํฌ๋ฅผ ์„ค์น˜ํ•˜๋‹ค๊ฐ€ ์•„๋ž˜์™€ ๊ฐ™์€ ๊ฒฝ๊ณ ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

์ฒ˜์Œ์—๋Š” ์ด ๊ฒฝ๊ณ ๋ฅผ ๋ฌด์‹œํ•˜๊ณ  flask ๋ฅผ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•˜์˜€์ง€๋งŒ ์ œ๋Œ€๋กœ ์‹คํ–‰๋˜์ง€ ์•Š์•˜๋‹ค.

 

๊ตฌ๊ธ€๋ง ๊ฒฐ๊ณผ ๊ฒฝ๊ณ ๋ฌธ์— ๋‚˜์˜ค๋Š” PATH๋ฅผ ๋“ฑ๋กํ•ด์ค˜์•ผํ•œ๋‹ค๋Š” ๊ฒƒ์„ ์•Œ๊ฒŒ๋˜์—ˆ๋‹ค.

 

export PATH=$PATH:/home/osh/.local/bin

์ด๋ ‡๊ฒŒ ๋“ฑ๋ก์„ ํ•ด์ฃผ๊ณ  ๋‹ค์‹œ flask ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•ด๋ณด๋‹ˆ ์ž˜ ๋˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•˜์˜€๋‹ค.