Closed kishan-ajudiya closed 3 years ago
Hi, Python 2 is no longer supported since v5.0.
I understand you're trying to use an older version but I am not providing support for these. Your problem seems to be that setuptools_scm
dropped old Pythons in 6.0 as mentioned in their changelog.
I would suggest you try to migrate your code to Python 3.
@sbraz I have a similar problem with pymediainfo==4.0 and python==3.5. Since setuptools_scm has not specified version and it drops support for python 3.5 you can be blocked. Try to upgrade to Python 3.6.
@mihalikv I think you meant to mention @kishan-ajudiya.
@sbraz I hope that you correct me and send me some brilliant solution, that prevent me from an upgrade 😄 Maybe someone will struggle with the same error and find this useful.
@mihalikv You can just install an older version of setuptools_scm
and pin it, no?
@sbraz something like this ? setuptools_scm==5.0.2 pymediainfo==4.0
pymediainfo still use setuptools_scm-6.0.1
pymediainfo
doesn't force a setuptools_scm
version. There is probably something weird about your pip or your Python setup, I'm afraid it's a bit out of the scope of the pymediainfo project.
Collecting pymediainfo==4.2.1 Downloading pymediainfo-4.2.1.tar.gz (434 kB) ------------------------------------------------------------------------ File "/tmp/easy_install-DpxMzQ/setuptools_scm-6.0.1/setup.py", line 52, in
setup_requires=["setuptools_scm"],
File "/tmp/easy_install-DpxMzQ/setuptools_scm-6.0.1/setup.py", line 29, in scm_config