관심있는 주제/Error 19

ImportError: cannot import name 'FlattenDictWrapper' from 'gym.wrappers'

문제 상황 from gym.wrappers import FlattenDictWrapper gym.wrappers에서 FlattenDictwrapper 를 불러오려고 했으나, import가 안 되는 상태 [에러 메세지] ImportError: cannot import name 'FlattenDictWrapper' from 'gym.wrappers' 해결 방법 gym version을 0.14 이하로 내려줌 (원래 gym version : 0.26.0) 참고 링크 https://github.com/openai/baselines/issues/1129

ERROR: Could not find a version that satisfies the requirement tensorflow

문제 상황 pip install tensorflow==1.15.0 위 커맨드로 간단하게 tensorflow 1.15.5를 설치하려고 했는데, 맞는 버전이 없다며 설치가 안 됐던 상황 [에러 메세지] Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com /usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/connectionpool.py:999: InsecureRequestWarning: Unverified HTTPS request is being made to host 'pypi.ngc.nvidia.com'. Adding certificate verificat..

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.

Cmake 중 발생한 에러 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. 해결방법 1. g++ 설치 나는 이미 설치가 되어 있어서 설치는 안 했는데 https://gracefulprograming.tistory.com/93 [Linux] gcc, g++ 설치하기 (CentOS) 개요 안녕하세요 피터입니다. Linux에 개발환경을 구축하기 위해서는 컴파일러(Compiler) 설치가 필수입니다. C언어 컴파일러는 gcc, C++언어 컴파일러는 g++ 인데 OS 설치 시 최소설치(Minimum)으로 설치 gracefulprograming.tistory.com 이런 블로그 보면서 설치하면 쉽게 될 거 같..

Could NOT find OpenMP_CXX

Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) brew가 설치되어 있다면 간단하게 해결 가능 brew install libopm ubuntu에서는 아래 명령어들을 이용하여 install 가능하다고 하는데 테스트는 못 해봄 sudo apt install libomp-dev apt show libomp-dev [Reference] https://github.com/mapillary/OpenSfM/issues/681 Build error: OpenMP_libomp_LIBRARY on MacOs · Issue #681 · mapillary/OpenSfM Not sure, if this dependency is optional..

lemon package 설치 에러

brew 로 lemon package 설치를 했음에도 불구하고 계속 Could not find a package configuration file provided by "LEMON"이라고 뜨는 상태 brew로 설치할 때는 아래 명령어로 설치했고 3.36.0 버전이 설치가 되었다. brew install lemon https://formulae.brew.sh/formula/lemon lemon Homebrew’s package index formulae.brew.sh 내가 설치해야 하는 package dependency에는 1.3.1 버전을 설치하라고 해서 다른 방법을 찾아봤다. 1. 맞는 version의 src 다운로드 http://lemon.cs.elte.hu/trac/lemon/wiki/Downloa..

spdlog install

spdlog를 설치하지 않은 상태에서 cmake 진행 시 find_package(spdlog) 하면 발생하는 에러 특정 version이 필요한 게 아니라면 brew를 이용하여 최신버전 설치 brew install spdlog 리눅스는 1.8.1 이상 버전 다운로드 위해 src code에서 직접 빌드 git clone https://github.com/gabime/spdlog.git cd spdlog && mkdir build && cd build cmake .. && make -j make install [Reference] https://spdlog.docsforge.com/master/#just-copy-the-headers Getting Started - Spdlog - DocsForge HomeG..

Could NOT find Boost

Could NOT find Boost (missing: Boost_INCLUDE_DIR) 별도의 버전 명시가 없어서 brew를 이용하여 설치했다. brew install boost 만약에 특정 버전(또는 그 이상)을 요구한다면 tar 파일을 다운받아서 직접 설치를 진행하면 된다. https://www.boost.org/users/download/#live Boost Downloads Current Release Version 1.78.0 December 8th, 2021 03:45 GMT Updated Libraries: Asio, Assert, Atomic, Beast, Core, Describe, DLL, Filesystem, Geometry, JSON, Lambda2, Log, Math, Multi..

Could Not find SWIG

OpenROAD cmake 하던 중 발생한 에러 Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0") swing 다운로드 https://sourceforge.net/projects/swig/files/swig/swig-3.0.12/swig-3.0.12.tar.gz/download zip 풀고 build tar zxvf swig-3.0.12.tar.gz && cd swig-3.0.12.tar cd swig-3.0.12 ./configure --without-pcre && make && sudo make install 하면 아래와 같은 로그와 함께 내가 원하는 버전의 swig install 이 완..

ModuleNotFoundError: No module named 'torch_scatter'

https://towardsdatascience.com/hands-on-graph-neural-networks-with-pytorch-pytorch-geometric-359487e221a8 Hands on Graph Neural Networks with PyTorch & PyTorch Geometric In my last article, I introduced the concept of Graph Neural Network (GNN)and some recent advancements of it. Since this topic is getting… towardsdatascience.com 위 튜토리얼을 따라하려는데 에러가 발생했다. Solution 찾아보니까 torch_geometric 외에도 다운받아 줘..