Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1040  / 2 Years ago, sat, october 22, 2022, 9:15:20

I need to use CUDA 11.1 driver for machine learning. Steam requires libnvidia-gl-450:i386 driver to be installed in order to open. However, installing one driver removes the other. How would I be able to use both of them at the same time or be able to play steam games while using a CUDA driver?


I've tried How do I install NVIDIA and CUDA drivers into Ubuntu? but it only works for 18.04. A similar question was asked here but there isn't any answer.


More From » drivers

 Answers
4

I found the solution. Install Anaconda from the official site (download and run their script). Then run in your terminal:


conda create -n environment_name
conda activate environment_name
conda install cudatoolkit=11
conda install python=3.7

Afterwards you'll need to conda activate your environment every time you start working on your project. To search for packages, use conda search. It will install the CUDA toolkit in the virtual environment instead of in the system.


[#2591] Sunday, October 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
amacal

Total Points: 457
Total Questions: 102
Total Answers: 116

Location: Thailand
Member since Thu, Apr 22, 2021
3 Years ago
amacal questions
Thu, Aug 11, 22, 17:35, 2 Years ago
Thu, Apr 13, 23, 18:00, 1 Year ago
Mon, Aug 16, 21, 07:56, 3 Years ago
;