Package Requirements: cudatoolkit 10.1
Closed this issue · 1 comments
Hi!
Thank you for bringing this work to us!
I tried to install the NewsSentiment[cuda] package in a conda environment with cudatoolkit installed. Cudatoolkit version is 10.1.243. I keep getting the error that the version is not satisfied. Below is the command and error statement.
(newsmtsc) C:\Users\nguye>pip install NewsSentiment[cuda]==1.1.9
ERROR: Could not find a version that satisfies the requirement cudatoolkit==10.1; extra == "cuda" (from newssentiment[cuda]) (from versions: none)
ERROR: No matching distribution found for cudatoolkit==10.1; extra == "cuda"
My environment:
(newsmtsc) C:\Users\nguye>conda list
# packages in environment at C:\Users\nguye\anaconda3\envs\newsmtsc:
#
# Name Version Build Channel
ca-certificates 2022.10.11 haa95532_0
certifi 2022.12.7 py38haa95532_0
cudatoolkit 10.1.243 h74a9793_0
libffi 3.4.2 hd77b12b_6
openssl 1.1.1s h2bbff1b_0
pip 22.3.1 py38haa95532_0
python 3.8.15 h6244533_2
setuptools 65.5.0 py38haa95532_0
sqlite 3.40.0 h2bbff1b_0
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
wheel 0.37.1 pyhd3eb1b0_0
wincertstore 0.2 py38haa95532_2
For the cudatoolkit installation. There's no way on top of my mind to prevent conda to install the exact 10.1 version.
(newsmtsc) C:\Users\nguye>conda install cudatoolkit=10.1
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: C:\Users\nguye\anaconda3\envs\newsmtsc
added / updated specs:
- cudatoolkit=10.1
The following NEW packages will be INSTALLED:
cudatoolkit pkgs/main/win-64::cudatoolkit-10.1.243-h74a9793_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
I could be wrong somewhere in the installation process. Please let me know how did you deal with this.
Thanks in advance.
I'm sorry, I'm not running windows and cannot reproduce this issue. Please feel free to reopen if it still persists. My suggestion to get it running would be to not use the cuda option in the meantime