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

Withings-Sync 4.2.7 not installing with Python 3.13.1 #195

Open
applesandsynths opened this issue Jan 5, 2025 · 0 comments
Open

Withings-Sync 4.2.7 not installing with Python 3.13.1 #195

applesandsynths opened this issue Jan 5, 2025 · 0 comments

Comments

@applesandsynths
Copy link

Hi there,

I'm unfortunately not having any luck with installing Withings-Sync 4.2.7 with Python 3.13.1. I've tried installing Microsoft Visual C++ 14 with C++ Build Tools and all modules installed, though the error remains the same. Any input would be much appreciated:

`pip install withings-sync
Collecting withings-sync
Using cached withings_sync-4.2.7-py3-none-any.whl
Collecting lxml==5.2.2 (from withings-sync)
Using cached lxml-5.2.2.tar.gz (3.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting requests==2.31.0 (from withings-sync)
Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting garth==0.4.46 (from withings-sync)
Using cached garth-0.4.46-py3-none-any.whl.metadata (23 kB)
Collecting python-dotenv (from withings-sync)
Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)
Requirement already satisfied: pydantic<3.0.0,>=1.10.12 in c:\python\python313\lib\site-packages (from garth==0.4.46->withings-sync) (2.10.4)
Collecting requests-oauthlib<2.0.0,>=1.3.1 (from garth==0.4.46->withings-sync)
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\python\python313\lib\site-packages (from requests==2.31.0->withings-sync) (3.4.1)
Requirement already satisfied: idna<4,>=2.5 in c:\python\python313\lib\site-packages (from requests==2.31.0->withings-sync) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\python\python313\lib\site-packages (from requests==2.31.0->withings-sync) (1.26.20)
Requirement already satisfied: certifi>=2017.4.17 in c:\python\python313\lib\site-packages (from requests==2.31.0->withings-sync) (2024.8.30)
Requirement already satisfied: annotated-types>=0.6.0 in c:\python\python313\lib\site-packages (from pydantic<3.0.0,>=1.10.12->garth==0.4.46->withings-sync) (0.7.0)
Requirement already satisfied: pydantic-core==2.27.2 in c:\python\python313\lib\site-packages (from pydantic<3.0.0,>=1.10.12->garth==0.4.46->withings-sync) (2.27.2)
Requirement already satisfied: typing-extensions>=4.12.2 in c:\python\python313\lib\site-packages (from pydantic<3.0.0,>=1.10.12->garth==0.4.46->withings-sync) (4.12.2)
Requirement already satisfied: oauthlib>=3.0.0 in c:\python\python313\lib\site-packages (from requests-oauthlib<2.0.0,>=1.3.1->garth==0.4.46->withings-sync) (3.2.2)
Using cached garth-0.4.46-py3-none-any.whl (23 kB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB)
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Building wheels for collected packages: lxml
Building wheel for lxml (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for lxml (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [100 lines of output]
:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Building lxml version 5.2.2.
Building without Cython.
Building against pre-built libxml2 andl libxslt libraries
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-313\lxml
copying src\lxml\builder.py -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\cssselect.py -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\doctestcompare.py -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\ElementInclude.py -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\sax.py -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\usedoctest.py -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml_elementpath.py -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml_init_.py -> build\lib.win-amd64-cpython-313\lxml
creating build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes_init_.py -> build\lib.win-amd64-cpython-313\lxml\includes
creating build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html\builder.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html\clean.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html\defs.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html\diff.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html\formfill.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html\html5parser.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html\soupparser.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html_diffcommand.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html_html5builder.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html_setmixin.py -> build\lib.win-amd64-cpython-313\lxml\html
copying src\lxml\html_init_.py -> build\lib.win-amd64-cpython-313\lxml\html
creating build\lib.win-amd64-cpython-313\lxml\isoschematron
copying src\lxml\isoschematron_init_.py -> build\lib.win-amd64-cpython-313\lxml\isoschematron
copying src\lxml\etree.h -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\etree_api.h -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\lxml.etree.h -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\etree.pyx -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\objectify.pyx -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\apihelpers.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\classlookup.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\cleanup.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\debug.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\docloader.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\dtd.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\extensions.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\iterparse.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\nsclasses.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\objectpath.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\parser.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\parsertarget.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\proxy.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\public-api.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\readonlytree.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\relaxng.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\saxparser.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\schematron.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\serializer.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\xinclude.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\xmlerror.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\xmlid.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\xmlschema.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\xpath.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\xslt.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\xsltext.pxi -> build\lib.win-amd64-cpython-313\lxml
copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\config.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes_init_.pxd -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-cpython-313\lxml\includes
copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-cpython-313\lxml\includes
creating build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\rng
copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\rng
creating build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl
creating build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_skeleton_for_xslt1.xsl -> build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-cpython-313\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lxml
Failed to build lxml
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (lxml)`

Thanks!

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