官术网_书友最值得收藏!

Installing PyCUDA (Linux)

Open up a command line in Linux. Ensure that your PATH variable is set up correctly to use the local Anaconda installation of Python (rather than the system-wide installation) by typing which python at the bash prompt and pressing Enter (Anaconda should have automatically configured your .bashrc during installation); this should tell you that the Python binary is in your local ~/anaconda2/bin directory, rather than in the /usr/bin directory. If this isn't the case, open a text editor and put the line export PATH="/home/${USER}/anaconda2/bin:${PATH}" at the end of your ~/.bashrc file, save this, open a new Terminal, and then check again.

There are several options for installation of PyCUDA. The easiest option is to install the latest stable version from the PyPI repository by typing pip install pycuda. You can also install the latest version of PyCUDA by following the instructions at the PyCUDA official website at https://mathema.tician.de/software/pycuda/. Please note that if you wish to re-install PyCUDA from a different source, be sure to uninstall it first with pip uninstall pycuda.

主站蜘蛛池模板: 思茅市| 德江县| 重庆市| 亳州市| 思茅市| 尼玛县| 苗栗市| 舞阳县| 平邑县| 台安县| 淮滨县| 南华县| 山阳县| 青神县| 崇信县| 栾川县| 汝州市| 綦江县| 昌邑市| 北流市| 旬邑县| 剑阁县| 浦江县| 正镶白旗| 区。| 武邑县| 新宁县| 松潘县| 手游| 无锡市| 古田县| 稷山县| 兴仁县| 防城港市| 湟源县| 密云县| 正镶白旗| 司法| 宣威市| 交口县| 祁阳县|