Python Forum

Full Version: trying to install oandapy and failing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to install oandapy

It is refusing to install and I am getting the following error.

Output:
james@james-VirtualBox:~/Desktop$ pip3 install oandapy Collecting oandapy Using cached https://files.pythonhosted.org/packages/78/df/e7fffa029dd90f117a20d68d08f833382881a670014c64b79e7ec4bf4099/oandapy-0.0.9-py3-none-any.whl Collecting pysimplemodel==2.3.3 (from oandapy) Using cached https://files.pythonhosted.org/packages/b9/71/f76a14368b433109082356db0bc9e83bfd1627214fa88966b846ec3e1a59/pysimplemodel-2.3.3.tar.gz
Complete output from command python setup.py egg_info:
Error:
Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-57g3szy0/pysimplemodel/setup.py", line 6, in <module> from simple_model.__version__ import __version__ File "/tmp/pip-install-57g3szy0/pysimplemodel/simple_model/__init__.py", line 2, in <module> from .builder import model_builder, model_many_builder File "/tmp/pip-install-57g3szy0/pysimplemodel/simple_model/builder.py", line 3, in <module> from .models import Model File "/tmp/pip-install-57g3szy0/pysimplemodel/simple_model/models.py", line 5, in <module> from .fields import ModelField, Unset File "/tmp/pip-install-57g3szy0/pysimplemodel/simple_model/fields.py", line 24 return (f'ModelField(model_class={self.model_class!r}, name={self.name!r}, ' ^ SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-57g3szy0/pysimplemodel/

What can I do to eliminate this error? Thanks in advance.

Respectfully,

ErnestTBass

** Note ** please learn and use proper BBcode tags.