omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Myfitnesspal package installation error

    Pythonista
    package
    2
    3
    2048
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • workethicsFTW
      workethicsFTW last edited by

      Hello everyone,
      I am trying to implement myfitnesspal api from this repo.
      To do a pip install, I first installed Stash and then did the install procedure from the above git link. It installs a lot of dependencies while installing python_dateutil, I’m getting the following error,

      Save as: /private/var/mobile/Containers/Data/Application/128561FD-707E-46E1-B086-77DF01580AD7/tmp//python_dateutil-2.8.0-py2.py3-none-any.whl (226803 bytes)
          226803  [100.00%]
      Installing wheel: python_dateutil-2.8.0-py2.py3-none-any.whl...
      <class 'UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xc3 in position 6171: ordinal not in range(128)
      

      Anybody has any suggestion on how to solve this?

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by ccc

        Pythonista already has an older version of dateutil builtin...

        >>> import dateutil
        >>> dateutil.__version__
        '2.2'
        
        1 Reply Last reply Reply Quote 0
        • workethicsFTW
          workethicsFTW last edited by

          I redirected the software to use the internal dateutil. I think the problem is a package called 'lxml'. It has C dependencies.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors