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 to connect by 'net use' tester_V 1 184 Apr-20-2024, 06:31 AM
Last Post: tester_V
  Failing regex tester_V 3 1,187 Aug-16-2022, 03:53 PM
Last Post: deanhystad
  Failing to connect to a host with WMI tester_V 6 4,402 Aug-10-2021, 06:25 PM
Last Post: tester_V
  Failing to get Stat for a Directory tester_V 11 3,569 Jul-20-2021, 10:59 PM
Last Post: Larz60+
  Failing to Zip files tester_V 4 2,169 Dec-01-2020, 07:28 AM
Last Post: tester_V
  Python 3.8 on mac failing to start sgandon 0 2,914 Jan-14-2020, 10:58 AM
Last Post: sgandon
  Pyinstaller failing JP_ROMANO 2 4,077 Jan-16-2019, 06:07 PM
Last Post: JP_ROMANO
  Why is my for loop failing? microphone_head 4 2,987 Sep-11-2018, 01:21 PM
Last Post: microphone_head

Forum Jump:

User Panel Messages

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