Forum Archive

Myfitnesspal package installation error

workethicsFTW

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?

ccc

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

>>> import dateutil
>>> dateutil.__version__
'2.2'
workethicsFTW

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