ImportError: attempted relative import with no known parent package

 

 

m.blog.naver.com/wideeyed/221839634437

 

[Python] relative import with package info

파이썬에서 디렉토리를 이용하여 패키지를 관리할 수 있습니다.그런데 하위 패키지만 사용하지 않고 상위 ...

blog.naver.com

 

python 3.8 버전

stackoverflow.com/questions/60593604/importerror-attempted-relative-import-with-no-known-parent-package

 

ImportError : Attempted relative import with no known parent package

I am learning to program with python and I am having issues with importing from a module in a package. I have tested commenting off the jedi enabled part and it is not working. I am using the visual

stackoverflow.com

 

'📌 Python' 카테고리의 다른 글

Python - local 변수, global 변수  (0) 2021.01.19
Python - 기본 파라미터  (0) 2021.01.19
Python - decorator  (0) 2021.01.06
python - pytest  (0) 2021.01.06
python - assertion  (0) 2021.01.06
복사했습니다!