Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify the dependency on python >= 3.6.1 in the README #6

Open
drewm1980 opened this issue Apr 19, 2021 · 0 comments
Open

Clarify the dependency on python >= 3.6.1 in the README #6

drewm1980 opened this issue Apr 19, 2021 · 0 comments

Comments

@drewm1980
Copy link

I did an install in a fresh conda environment and hit a compatibility issue with pytorch:

python: symbol lookup error: /home/awagner/miniconda3/envs/ritm/lib/python3.6/site-packages/torch/lib/libtorch_python.so: undefined symbol: PySlice_Unpack

The pytorch version that got installed is 1.4.0 (which is stated in the README to be the correct version):

$ python
Python 3.6.0 | packaged by conda-forge | (default, Feb 9 2017, 14:36:55)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import torch
torch.file
'/home/awagner/miniconda3/envs/ritm/lib/python3.6/site-packages/torch/init.py'
torch.version
'1.4.0'

PySlice_Unpack is a symbol in the python API, added in Python 3.6.1:

https://docs.python.org/3/c-api/slice.html#c.PySlice_Unpack

The REAME states that python 3.6 is required, but it seems you actually need at least 3.6.1.

I confirmed this by conda install python=3.6.1. The bindings no longer error out and the gui appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant