0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CuPyの “cannot open source file”

Posted at

CuPyのエラー

Windows11
CuDa: 11.7

仮想環境を作り

py -m veve venv
pip install cupy-cuda11x
import cupy

A = cupy.arange(9).reshape(3, 3).astype('f')

エラー発生

CompileException: ... : catastrophic error: cannot open source file " cupy/complex.cuh"

解決法

venvのフォルダ名に全角、スペースをいれない(どちらが要因かは未調査)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?