Coding/Python

[Python] ์—๋Ÿฌ : python-3.x Couldn't find Class NSProcessInfo

๊น€์œ ๋‹ˆ์ฝ˜ 2022. 3. 16. 12:09

 

 

 

๊ฐ€์ƒํ™˜๊ฒฝ์„ ์ƒ์„ฑํ•˜๊ณ (python 3.6) ์ฃผํ”ผํ„ฐ ๋…ธํŠธ๋ถ์„ ์‹คํ–‰ํ–ˆ๋Š”๋ฐ kernel์ด ์—ฐ๊ฒฐ์ด ์•ˆ๋˜๋Š” ํ˜„์ƒ์ด ๋ฐœ์ƒํ–ˆ๋‹ค. 

๋‹ค์Œ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ ๋ฉ”์‹œ์ง€๊ฐ€ ํ„ฐ๋ฏธ๋„ ์ฐฝ์— ์ถœ๋ ฅ๋จ

AssertionError: Couldn't find Class NSProcessInfo

 

 

 

Mac์˜ Big Sur OS ์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ์ผ ํ™•๋ฅ ์ด ๋†’๋‹ค๊ณ  ํ•œ๋‹ค. 

 

- ๋งฅ์—์„œ ํŒŒ์ด์ฌ ์ฃผํ”ผํ„ฐ๋ฅผ ์“ธ ๋•, 3.8 ์ด์ƒ์„ ์“ฐ๋„๋ก ํ•˜์ž. 

 

 

 

Running a Jupyter Lab kernel under Python 3.6 (possibly also 3.7) throws:

AssertionError: Couldn't find Class NSProcessInfo

Running in Python 3.8 works fine.

 

https://stackoverflow.com/questions/65197613/assertionerror-couldnt-find-class-nsprocessinfo

 

AssertionError: Couldn't find Class NSProcessInfo

Running a Jupyter Lab kernel under Python 3.6 (possibly also 3.7) throws: AssertionError: Couldn't find Class NSProcessInfo Running in Python 3.8 works fine.

stackoverflow.com