numpy ImportError
By 수퍼맨님의 이글루 | 2019년 3월 4일 |
Anaconda3(64bit)를 설치하고 윈도우 커맨드 상에서 python을 실행 시켜서import numpy 또는 import scipy를 입력하면 아래와 같은 에러가 나타났다. 검색을 해보니 동일한 증상을 겪는 사용자가 꽤 많은데도 불구하고,명쾌한 답을 찾기가 어려웠다. 그런데 찾았다!!! *****************************************************************ImportErroor : DLL load failed: 지정된 모듈을 찾을 수 없습니다...어쩌구 저쩌구..Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed bu
Windows10에서 pip로 Spyder 설치하기
By 수퍼맨님의 이글루 | 2020년 8월 31일 |
Spyder를 pip로 설치하기 위해 아래 링크를 참조 했다. 상기 링크에서 pip install spyder 입력하기 전에 아래 두 줄을 입력하라고 되어 있는데... python -m venv spyder-envspyder-env/Scripts/activate.bat 첫 번째 줄 입력에는 문제가 없다.그런데 두 번째 줄을 입력하면 spyder-env 라는 명령이 없다는 메세지가 뜬다. 문제는 spyder-env 라는 폴더가 생성되었는데 해당 폴더로 이동을 하는 명령 없이그냥 폴더/폴더/파일 이렇게 입력이 되었기 때문이다. 사용자 폴더/syper-env/Scripts/ 로 이동하여 activate.bat 을 실행시켜주면 된다.
checking the existance of directory in gfortran
By 수퍼맨님의 이글루 | 2020년 10월 14일 |
gfortran으로 코딩을 하다가 디렉토리 존재 여부 확인이 문제가 되어 찾은 코드. inquire를 이용해서 file이 아니고 디렉토리의 존재 여부 확인. 이런 걸 어떻게 알아냈을까? inquire( file=trim(newDirPath)//'/.', exist=dirExists ) 출처 :
Python에서 *.dll 쓰기
By 수퍼맨님의 이글루 | 2021년 9월 28일 |
출처 : https://dgkim5360.tistory.com/entry/cc-dll-fucntion-call-via-python-ctypes 출처 : https://ryanclaire.blogspot.com/2020/08/python-ctypes-loadlibrary-windows-dll.html