質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

Q&A

1回答

3201閲覧

pythonでasammdfをインストールしようとするとエラーが出ます

fuso

総合スコア6

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

0グッド

0クリップ

投稿2019/10/12 09:21

実現したいこと

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へのパスは環境変数の設定で削除済)

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

以下、残りのエラーメッセージです。

atlas_threads_info: Setting PTATLAS=ATLAS customize MSVCCompiler libraries lapack_atlas not found in C:\Python34\lib customize MSVCCompiler libraries ptf77blas,ptcblas,atlas not found in C:\Python34\lib customize MSVCCompiler libraries lapack_atlas not found in C:\ customize MSVCCompiler libraries ptf77blas,ptcblas,atlas not found in C:\ customize MSVCCompiler libraries lapack_atlas not found in C:\Python34\libs customize MSVCCompiler libraries ptf77blas,ptcblas,atlas not found in C:\Python34\libs <class 'numpy.distutils.system_info.atlas_threads_info'> NOT AVAILABLE atlas_info: customize MSVCCompiler libraries lapack_atlas not found in C:\Python34\lib customize MSVCCompiler libraries f77blas,cblas,atlas not found in C:\Python34\lib customize MSVCCompiler libraries lapack_atlas not found in C:\ customize MSVCCompiler libraries f77blas,cblas,atlas not found in C:\ customize MSVCCompiler libraries lapack_atlas not found in C:\Python34\libs customize MSVCCompiler libraries f77blas,cblas,atlas not found in C:\Python34\libs <class 'numpy.distutils.system_info.atlas_info'> NOT AVAILABLE lapack_info: customize MSVCCompiler libraries lapack 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: Lapack (http://www.netlib.org/lapack/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [lapack]) or by setting the LAPACK environment variable. self.calc_info() lapack_src_info: NOT AVAILABLE C:\Users\user_name\AppData\Local\Temp\pip-install-fpd71hlj\numpy\numpy\distutils\system_info.py:639: UserWarning: Lapack (http://www.netlib.org/lapack/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [lapack_src]) or by setting the LAPACK_SRC environment variable. self.calc_info() NOT AVAILABLE C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'project_urls' warnings.warn(msg) C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running install running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building py_modules sources creating build creating build\src.win-amd64-3.4 creating build\src.win-amd64-3.4\numpy creating build\src.win-amd64-3.4\numpy\distutils building library "npymath" sources error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat). ---------------------------------------- ERROR: Command errored out with exit status 1: '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 Check the logs for full command output. ----------------------------------------

投稿2019/10/12 09:22

fuso

総合スコア6

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問