Cannot install newest version of torchio in conda venv
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Problem summary
I am working in a conda venv and need to install a specific version of torchio. Using “conda install -c conda-forge torchio=0.18.76” results in: PackagesNotFoundError: The following packages are not available from current channels: python=3.1" My Python version is 3.10.4. The same thing happens if install 0.18.77. If I use the same command but do not specify a version of torchio, then an earlier torchio release installs (0.18.30). I then cannot import the “Mask” function in my python script and get “AttributeError: module ‘torchio’ has no attribute ‘Mask’” I would appreciate some guidance on this issue! Thanks.
Code for reproduction
conda install -c conda-forge torchio=0.18.76
Actual outcome
Package does not install.
Error messages
PackagesNotFoundError: The following packages are not available from current channels: python=3.1
Expected outcome
It should just install and I should be able to run my python script and import all of the torchio functionality.
System info
Platform: Linux-3.10.0-1062.12.1.el7.x86_64-x86_64-with-glibc2.17
TorchIO: 0.18.30
PyTorch: 1.10.2
SimpleITK: 2.0.2 (ITK 5.1)
NumPy: 1.22.3
Python: 3.9.12 (main, Apr 5 2022, 06:56:58)
[GCC 7.5.0]
Issue Analytics
- State:
- Created a year ago
- Comments:12 (9 by maintainers)
Top GitHub Comments
Thanks, @sarthakpati!
I just tried a fresh install with the Python version above and things seem to work, so I’m going to close this for now.
@fepegar I think this can be closed.
@poulinn please open an issue in the torchio-feedstock repo if this persists.