Skip to content

Import Error in python2.7: Attempted relative import in non-package #42

@beyondwait

Description

@beyondwait

import oandapy
File "C:\Python27\Lib\site-packages\oandapy\oandapy.py", line 3, in
Traceback (most recent call last):
File "", line 1, in
from .exceptions import BadEnvironment, OandaError
ValueError: Attempted relative import in non-package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions