- 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.
- Implementing Cisco UCS Solutions
- Designing Purpose:Built Drones for Ardupilot Pixhawk 2.1
- Mobile-first Bootstrap
- Linux從零開始學(視頻教學版)
- 白話區塊鏈
- Ganglia系統監控
- Installing and Configuring Windows 10:70-698 Exam Guide
- Linux命令行大全(第2版)
- Docker容器技術與應用
- Mastering Eclipse Plug-in Development
- Gradle Effective Implementations Guide(Second Edition)
- Instant Getting Started with VMware Fusion
- OpenSolaris系統管理
- Mastering Spring Cloud
- 微信小程序項目開發實戰:用WePY、mpvue、Taro打造高效的小程序