목록PYTHON/ERROR (2)
민둉이의 책갈피
[Tensorflow] AttributeError: module 'tensorflow' has no attribute 'logging'
tensorflow 버전 문제로 생기는 에러이다. tf.logging 은 1.x에서 정상적으로 작동하므로 텐서플로를 1.x으로 다운그레이드 하거나 tf.logging -> tf.compat.v1.logging 으로 변경하면 해결된다. ex) tf.logging.info("test") -> tf.compat.v1.logging.info("test")
PYTHON/ERROR
2021. 8. 6. 16:50
[ERROR] SystemError: java.nio.file.InvalidPathException: Illegal char <*> at index 54: C:\Users\user\anaconda3\Lib\site-packages\konlpy\java\*
Error Detail Konlpy를 pip로 설치한 후 테스트를 위해 Okt()를 호출하니 다음과 같은 에러가 발생했다. 파일 경로는 *로 가렸다. Traceback (most recent call last): File "********/main.py", line 22, in print(preprocessing.trans_nn(tt)) File "********.py", line 7, in trans_nn okt = Okt() File "C:\Users\user\anaconda3\lib\site-packages\konlpy\tag\_okt.py", line 91, in __init__ jvm.init_jvm(jvmpath, max_heap_size) File "C:\Users\user\anaconda3..
PYTHON/ERROR
2021. 4. 26. 14:00