Python Forum
trying to install oandapy and failing
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trying to install oandapy and failing
#1
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failing regex, space before and after the "match" tester_V 6 1,118 Mar-06-2023, 03:03 PM
Last Post: deanhystad
  Failing to print sorted files tester_V 4 1,188 Nov-12-2022, 06:49 PM
Last Post: tester_V
  Failing reading a file and cannot exit it... tester_V 8 1,757 Aug-19-2022, 10:27 PM
Last Post: tester_V
  Failing regex tester_V 3 1,143 Aug-16-2022, 03:53 PM
Last Post: deanhystad
  Failing to connect to a host with WMI tester_V 6 4,281 Aug-10-2021, 06:25 PM
Last Post: tester_V
  Failing to get Stat for a Directory tester_V 11 3,476 Jul-20-2021, 10:59 PM
Last Post: Larz60+
  Windows 10 Installation failing (0x80070005) AdaptedLogic 4 6,065 Dec-31-2020, 07:39 AM
Last Post: caleb_cruze
  Failing to Zip files tester_V 4 2,109 Dec-01-2020, 07:28 AM
Last Post: tester_V
  Python 3.8 on mac failing to start sgandon 0 2,844 Jan-14-2020, 10:58 AM
Last Post: sgandon
  Pyinstaller failing JP_ROMANO 2 4,024 Jan-16-2019, 06:07 PM
Last Post: JP_ROMANO

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020