New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows10でcupyがどうしても入りません。 #64
Comments
申し訳ありませんが、windowsはサポート対象外なので、よくわかりません。 もし解決できたら、このIssueに解決策のコメントを残していただけるととても嬉しいです。 |
ビルド済みのものをインストールしようとしたら、以下のエラーが発生しました。 $ pip install cupy-cuda101 |
解決しました。 INCLUDE LIB 他rc.exe rc.dllのコピーやbatの書き換え、VS環境の整理、Python3.7.4(64bit)の入れ直し、CUDA10.1の入れ直し等を行いました。 効果的だったのは、VS2015のビルド環境を入れて、環境変数を多数設定することのようです。 |
become-yukarinでcupyだけがどうしても入りません。
PYTHONPATHはbecome-yukarinに通しました。
VS2015のビルドツールは入れました。
rc.exeとrc.dllのコピーを行いました。
エラーメッセージは以下の通りです。
user@DESKTOP-VH77PEE MINGW64 ~
$ pip install cupy
Collecting cupy
Using cached https://files.pythonhosted.org/packages/ca/8d/45b337f7b19811988ba475b07d9ebd3bf2914b85d99783a66bec7f58554c/cupy-6.3.0.tar.gz
Requirement already satisfied: numpy>=1.9.0 in c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages (from cupy) (1.17.1)
Requirement already satisfied: six>=1.9.0 in c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages (from cupy) (1.12.0)
Requirement already satisfied: fastrlock>=0.3 in c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages (from cupy) (0.4)
Installing collected packages: cupy
Running setup.py install for cupy: started
Running setup.py install for cupy: still running...
Running setup.py install for cupy: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-vwyqsdf5\cupy\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-vwyqsdf5\cupy\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\AppData\Local\Temp\pip-record-69cvhesb\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\user\AppData\Local\Temp\pip-install-vwyqsdf5\cupy
Complete output (921 lines):
Options: {'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'wheel_includes': [], 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-vwyqsdf5\cupy\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-vwyqsdf5\cupy\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\AppData\Local\Temp\pip-record-69cvhesb\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
The text was updated successfully, but these errors were encountered: