Error (4) 썸네일형 리스트형 M1 Mac에 psycopg2 설치하는 방법 (pip install psycopg2) PostgreSQL을 Python과 함께 사용하기 위한 psycopg2 패키지를 M1 Mac에 성공적으로 설치하기 위한 문서 시스템 환경 Chip : Apple M1 Pro OS : MacOS Ventura 13.4.1(22F82) Memory : 16GB 1. Homebrew 설치 필자의 경우, Intel Mac → M1 Mac으로 교체하면서 Homebrew PATH가 달라져서 재설치하였음. Github Install Native Homebrew on Apple Silicon M1 Install Native Homebrew on Apple Silicon M1. GitHub Gist: instantly share code, notes, and snippets. gist.github.com 다음 명령어로 .. AttributeError: module 'distutils' has no attribute 'version' AttributeError: module 'setuptools._distutils' has no attribute 'version' I was trying to train a model using tensorboard. While executing, I got this error: $ python train.py Traceback (most recent call last): File "train.py", line 6, in from t... stackoverflow.com pip install setuptools=59.5.0 p.s. 잘 알려진 PyTorch 버그라고 한다. GLIBCXX_3.4.26 not found 에러 해결 (Ubuntu 22.04) sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-4.9 ## 설치가 안되고 진행해도 가능 sudo apt-get upgrade libstdc++6 (Optional) After this is complete, make sure to run the following: sudo apt-get dist-upgrade 나는 GLIBCXX_3.4.29 not found 에러도 같이 발생하였는데 위와 같이 실행 후 GLIBCXX_3.4.26 not found는 사라졌다. GLIBCXX_3.4.29 not found 에러는 결국 해결하지 못하여서 Ubuntu 20.04 버전으로 다운그레이드 했.. NameError: name 'apex' is not defined 오류 해결 NVIDIA github issue 참조 Warning: apex was installed without --cuda_ext. · Issue #86 · NVIDIA/apex I install apex according this sentence: python setup.py install --cuda_ext --cpp_ext 2.After that, using import apex to test, but it report warning as following: Warning: apex was installed without... github.com 나는 이렇게 해결했다. pip uninstall apex https://github.com/NVIDIA/apex.git cd apex rm -rf build (.. 이전 1 다음