実現したいこと
pythonでasammdf 4.7.12のインストール
[環境]
Windows10
python3.4.4
pip 19.2.3
エラーメッセージ
以下、コマンドラインでの入力とエラーメッセージです。
C:\Users\user_name>python -m pip install asammdf==4.7.12 Collecting asammdf==4.7.12 Using cached https://files.pythonhosted.org/packages/76/e1/bb0a26c5ab8220da6935ec0a73162caa8d0d21725f64abd5bcd93b5bb8ba/asammdf-4.7.12.tar.gz Collecting numpy>=1.13.1 (from asammdf==4.7.12) Using cached https://files.pythonhosted.org/packages/db/ec/93ddd4696e9cce0ffb8429516a8ba0d0ee95911cbbadde2d23665b62ad39/numpy-1.16.5.zip Collecting pandas (from asammdf==4.7.12) Using cached https://files.pythonhosted.org/packages/08/01/803834bc8a4e708aedebb133095a88a4dad9f45bbaf5ad777d2bea543c7e/pandas-0.22.0.tar.gz Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... error ※※以下、赤字のエラーメッセージ※※ ERROR: Command errored out with exit status 1: command: 'C:\Python34\python.exe' 'C:\Python34\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\user_name\AppData\Local\Temp\pip-build-env-c657vxez\normal' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'numpy>=1.9.0' cwd: None Complete output (249 lines): Collecting numpy>=1.9.0 Using cached https://files.pythonhosted.org/packages/db/ec/93ddd4696e9cce0ffb8429516a8ba0d0ee95911cbbadde2d23665b62ad39/numpy-1.16.5.zip Installing collected packages: numpy Running setup.py install for numpy: started Running setup.py install for numpy: finished with status 'error' ERROR: Command errored out with exit status 1: command: 'C:\Python34\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user_name\AppData\Local\Temp\pip-install-fpd71hlj\numpy\setup.py'"'"'; __file__='"'"'C:\Users\user_name\AppData\Local\Temp\pip-install-fpd71hlj\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\user_name\AppData\Local\Temp\pip-record-x9hua6fm\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\user_name\AppData\Local\Temp\pip-build-env-c657vxez\normal' --compile cwd: C:\Users\user_name\AppData\Local\Temp\pip-install-fpd71hlj\numpy\ Complete output (238 lines): Running from numpy source directory. Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'project_urls' warnings.warn(msg) blas_opt_info: blas_mkl_info: customize MSVCCompiler libraries mkl_rt not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE blis_info: customize MSVCCompiler libraries blis not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE openblas_info: customize MSVCCompiler customize MSVCCompiler libraries openblas not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']' customize GnuFCompiler Could not locate executable g77 Could not locate executable f77 customize IntelVisualFCompiler Could not locate executable ifort Could not locate executable ifl customize AbsoftFCompiler Could not locate executable f90 customize CompaqVisualFCompiler Could not locate executable DF customize IntelItaniumVisualFCompiler Could not locate executable efl customize Gnu95FCompiler Could not locate executable gfortran Could not locate executable f95 customize G95FCompiler Could not locate executable g95 customize IntelEM64VisualFCompiler customize IntelEM64TFCompiler Could not locate executable efort Could not locate executable efc customize PGroupFlangCompiler don't know how to compile Fortran code on platform 'nt' NOT AVAILABLE atlas_3_10_blas_threads_info: Setting PTATLAS=ATLAS customize MSVCCompiler libraries tatlas not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE atlas_3_10_blas_info: customize MSVCCompiler libraries satlas not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS customize MSVCCompiler libraries ptf77blas,ptcblas,atlas not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE atlas_blas_info: customize MSVCCompiler libraries f77blas,cblas,atlas not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE accelerate_info: NOT AVAILABLE C:\Users\user_name\AppData\Local\Temp\pip-install-fpd71hlj\numpy\numpy\distutils\system_info.py:639: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. self.calc_info() blas_info: customize MSVCCompiler libraries blas not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE C:\Users\user_name\AppData\Local\Temp\pip-install-fpd71hlj\numpy\numpy\distutils\system_info.py:639: UserWarning: Blas (http://www.netlib.org/blas/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [blas]) or by setting the BLAS environment variable. self.calc_info() blas_src_info: NOT AVAILABLE C:\Users\user_name\AppData\Local\Temp\pip-install-fpd71hlj\numpy\numpy\distutils\system_info.py:639: UserWarning: Blas (http://www.netlib.org/blas/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [blas_src]) or by setting the BLAS_SRC environment variable. self.calc_info() NOT AVAILABLE 'svnversion' は、内部コマンドまたは外部コマンド、 操作可能なプログラムまたはバッチ ファイルとして認識されていません。 non-existing path in 'numpy\distutils': 'site.cfg' lapack_opt_info: lapack_mkl_info: customize MSVCCompiler libraries mkl_rt not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE openblas_lapack_info: customize MSVCCompiler customize MSVCCompiler libraries openblas not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE openblas_clapack_info: customize MSVCCompiler customize MSVCCompiler libraries openblas,lapack not found in ['C:\Python34\lib', 'C:\', 'C:\Python34\libs'] NOT AVAILABLE atlas_3_10_threads_info: Setting PTATLAS=ATLAS customize MSVCCompiler libraries lapack_atlas not found in C:\Python34\lib customize MSVCCompiler libraries tatlas,tatlas not found in C:\Python34\lib customize MSVCCompiler libraries lapack_atlas not found in C:\ customize MSVCCompiler libraries tatlas,tatlas not found in C:\ customize MSVCCompiler libraries lapack_atlas not found in C:\Python34\libs customize MSVCCompiler libraries tatlas,tatlas not found in C:\Python34\libs <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> NOT AVAILABLE atlas_3_10_info: customize MSVCCompiler libraries lapack_atlas not found in C:\Python34\lib customize MSVCCompiler libraries satlas,satlas not found in C:\Python34\lib customize MSVCCompiler libraries lapack_atlas not found in C:\ customize MSVCCompiler libraries satlas,satlas not found in C:\ customize MSVCCompiler libraries lapack_atlas not found in C:\Python34\libs customize MSVCCompiler libraries satlas,satlas not found in C:\Python34\libs <class 'numpy.distutils.system_info.atlas_3_10_info'> NOT AVAILABLE
※ 文字数の関係でエラーメッセージが全部入りきらなかったため、後半はコメント欄に記載します。
試したこと
類似のエラーを調べてみた結果、インストールしようとしているライブラリが使用中のpythonのバージョンに対応していない、というケースがありましたが、本ケースは当てはまらないようです。
以下ページの通り、asammdf4.7.12はpython3.4に対応しています。
https://pypi.org/project/asammdf/4.7.12/
補足
python3.6でasammdfをインストールする時は、本エラーは発生せずに正常にインストールできました。
現在はpython3.6は一旦使用を停止しています。(3.6へのパスは環境変数の設定で削除済)
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。