Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'common' #21

Open
mariopuzo opened this issue May 10, 2020 · 0 comments
Open

ModuleNotFoundError: No module named 'common' #21

mariopuzo opened this issue May 10, 2020 · 0 comments

Comments

@mariopuzo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant