본문 바로가기
728x90
반응형

python3

728x90
반응형
python 앱 AttributeError: module 'numpy' has no attribute 'float' python 앱 구동 중 발생한 에러일단 에러 메시지에서 float이 쓰인 파일을 찾습니다.(위 예시에서는 ...\librosa\util\utils.py 파일의 869번째 줄에서 에러 발생)에러가 발생한 파일을 메모장으로 엽니다. 에러 메시지에 적힌 링크↓https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. NumPy 1.20.0 Release Notes — NumPy v2.3.dev0 ManualNumPy 1.20.0 Release Notes This NumPy release is the largest so made to date, some 684 PRs contributed by 184 people have been merged. See.. 2024. 12. 27.
python AttributeError: module 'numpy' has no attribute 'complex' python 앱 실행 시 발생한 에러에러 메시지에서 .complex가 사용된 코드를 찾습니다.(예시에서는 dtype=np.complex 이 코드는 사용자마다 다를 수 있습니다).complex 코드를 찾은 후 코드 바로 윗줄에 있는 파일을 메모장으로 엽니다.(예시에서는 ...\librosa\core\ 경로에 있는 constantq.py 파일)메모장에서 해당 파일을 열고 Ctrl+G 키를 누르고 에러 메시지에 적힌 줄로 이동합니다.(예시에서는 1059번째 줄) 에러 메시지에 적힌 링크 ↓https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. NumPy 1.20.0 Release Notes — NumPy v2.3.dev0 ManualNumPy 1... 2024. 12. 26.
python pip error: Microsoft Visual C++ 14.0 or greater is required pip install로 python 패키지 설치 중 발생한 에러에러를 해결하려면 먼저 에러 메시지에 적힌 공식 웹주소로 접속합니다.(↓ 링크)https://visualstudio.microsoft.com/visual-cpp-build-tools/ Microsoft C++ Build Tools - Visual StudioThe Microsoft C++ Build Tools provides MSVC toolsets via a scriptable, standalone installer without Visual Studio. Recommended if you build C++ libraries and applications targeting Windows from the command-line (e.g. as.. 2024. 12. 26.