- Hands-On GPU Programming with Python and CUDA
- Dr. Brian Tuomanen
- 177字
- 2021-06-10 19:25:38
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.
- Linux運維之道(第3版)
- Implementing Azure DevOps Solutions
- Application Development in iOS 7
- 計算機系統的自主設計
- Hands-On GPU Programming with Python and CUDA
- Heroku Cloud Application Development
- 統信UOS應用開發進階教程
- Java EE 7 Developer Handbook
- 應急指揮信息系統設計
- Implementing Domain-Specific Languages with Xtext and Xtend(Second Edition)
- 電腦辦公(Windows 7+Office 2016)入門與提高
- 計算機應用基礎(Windows 7+Office 2010)
- openEuler操作系統核心技術與行業應用實踐
- Windows PE權威指南
- Linux操作系統實用教程