oanda / oandapy

Python wrapper for the OANDA REST API
MIT License
321 stars 147 forks source link

Installation Packages error #53

Open AxelTdev opened 5 years ago

AxelTdev commented 5 years ago

Hi, When i try to install python packages with: sudo pip install oandapy

There is this error : Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-xmyyfrsm/pysimplemodel/ My Python version is 2.7.13. This is the complete output: ` Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-xmyyfrsm/pysimplemodel/setup.py", line 6, in from simple_model.version import version File "/tmp/pip-install-xmyyfrsm/pysimplemodel/simple_model/init.py", line 2, in from .builder import model_builder, model_many_builder File "/tmp/pip-install-xmyyfrsm/pysimplemodel/simple_model/builder.py", line 3, in from .models import Model File "/tmp/pip-install-xmyyfrsm/pysimplemodel/simple_model/models.py", line 5, in from .fields import ModelField, Unset File "/tmp/pip-install-xmyyfrsm/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-xmyyfrsm/pysimplemodel/ ` Thanks in advance

chemlavictor commented 5 years ago

I Have the same problem

Draichi commented 5 years ago

same here

but i could install using pip install git+https://github.com/oanda/oandapy.git