Skip to content

ModuleNotFoundError: No module named 'common' #21

Open
@mariopuzo

Description

@mariopuzo

ModuleNotFoundError: No module named 'common'

was running the code such as summary.py but got the above error. it's from import common.config.

Any idea why? Thanks.

must I run this setup first?
I got errors telling me that can't find bootstrap after I remove the ~/v20-python-samples$ as I'm making the D:\Users\v20-python-samples-master as my current working directory already.

Appreciate it.

Set up the virtualenv and install required packages. By default the

virtualenv will be setup to use python3. If python2 is desired, use the make

target "bootstrap-python2" and the virtualenv will be created under

"env-python2"

user@host: ~/v20-python-samples$ make bootstrap

Enter the virtualenv

user@host: ~/v20-python-samples$ source env/bin/activate

Create the v20-* launch entry points in the virtualenv. These entry points

are aliases for the scripts which use the v20 REST API to interact with an

account (e.g. v20-market-order, v20-trades-list, etc.)

(env)user@host: ~/v20-python-samples$ python setup.py develop

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