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

Please specify the supported Python versions. #111

Open
UkiTenzai opened this issue Mar 6, 2024 · 2 comments
Open

Please specify the supported Python versions. #111

UkiTenzai opened this issue Mar 6, 2024 · 2 comments

Comments

@UkiTenzai
Copy link

Hello, I tried to install the visqol pacakge on python3.8 using pip install .but failed, saying that "undefined reference to symbol PyFrame_GetCode". And I successfully install it on python3.11 .
I think that the supported Python versions should be specified. Maybe we can mention the supported python version in README.md or add the code like python_requires='>=3.10' in setup.py .

@IcyW
Copy link

IcyW commented Apr 10, 2024

same problem.

external/pybind11_abseil/pybind11_abseil/absl_casters.h:91:24: error: use of undeclared identifier 'PyUnicode_AsUTF8'

external/pybind11_abseil/pybind11_abseil/import_status_module.cc:13:8: error: use of undeclared identifier 'PyGILState_Check'

@binjiaa
Copy link

binjiaa commented Jul 31, 2024

我遇到了和你一样的问题,我把克隆的库删除重新克隆,再在新的pyhton3.9环境中安装就不再出现这个问题了。我想我出现这种问题的原因是我在3.11的环境中使用linux安装的方式安装过这个包,导致里面的文件被py3.11编译过,然后再在其他pyhton版本就出现这种问题(但只是猜想)

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

3 participants