File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ console . log ( "cuDNN is not installed. Please follow these steps to download and install cuDNN 8.9.6 manually:" ) ;
2+ console . log ( "1. Go to the NVIDIA cuDNN download page: https://developer.nvidia.com/rdp/cudnn-download" ) ;
3+ console . log ( "2. Log in with your NVIDIA Developer account." ) ;
4+ console . log ( "3. Download the file 'cudnn-windows-x86_64-8.9.6.50_cuda11-archive.zip'." ) ;
5+ console . log ( "4. Extract the contents of the downloaded zip file." ) ;
6+ console . log ( "5. Copy the following files to the CUDA installation directory:" ) ;
7+ console . log ( " - Copy 'cudnn64_8.dll' to 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\bin'" ) ;
8+ console . log ( " - Copy 'cudnn.h' to 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\include'" ) ;
9+ console . log ( " - Copy 'cudnn.lib' to 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\lib\\x64'" ) ;
10+ console . log ( "6. Press any key to continue once you have moved and unzipped the folder." ) ;
11+ console . log ( "Note: If you encounter issues, you might need to manually add the following paths to your system PATH:" ) ;
12+ console . log ( " - 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\bin'" ) ;
13+ console . log ( " - 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\libnvvp'" ) ;
14+ console . log ( " - 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\lib'" ) ;
Original file line number Diff line number Diff line change 1+ # Instructions for installing Node.js
2+ Write-Host " Please follow these steps to install Node.js:"
3+
4+ # Step 1: Download Node.js
5+ Write-Host " 1. Go to the Node.js download page: https://nodejs.org/"
6+ Write-Host " 2. Download the LTS (Long Term Support) version for Windows."
7+
8+ # Step 2: Install Node.js
9+ Write-Host " 3. Run the downloaded installer."
10+ Write-Host " 4. Follow the installation prompts and accept the default settings."
11+
12+ # Step 3: Verify the installation
13+ Write-Host " 5. Open a new PowerShell window."
14+ Write-Host " 6. Verify the installation by running the following commands:"
15+ Write-Host " - node -v"
16+ Write-Host " - npm -v"
17+ Write-Host " You should see the version numbers for Node.js and npm (Node Package Manager)."
18+
19+ # Step 4: Run your JavaScript file
20+ Write-Host " 7. Navigate to the directory where your JavaScript file is located using the 'cd' command."
21+ Write-Host " 8. Run your JavaScript file using Node.js by typing:"
22+ Write-Host " node your_script_name.js"
23+ Write-Host " Replace 'your_script_name.js' with the name of your JavaScript file."
24+
25+ # Pause to allow the user to read the instructions
26+ Write-Host " Press any key to continue..."
27+ [void ][System.Console ]::ReadKey($true )
You can’t perform that action at this time.
0 commit comments