Brython Integration [BUG]
tommyhartono opened this issue · comments
Describe the bug
Installed Bscscan-python and put it into a web using Brython, but the error shows like in the link
To Reproduce
In order to assist you with your problem, we need a minimal code snippet that replicates the bug. Avoid disclosing your API keys.
Steps to reproduce the behavior:
- Install Python 3
- Embed Brython Script
- Test run for balance in <script type="text/python">
- Error shows. Link: https://app.mulai.com/landing/iis/contact.html
Tried the run_tests.sh
- created a document in root call run_tests.sh
- run the suggestion command
- error shows as "Coverage: command not found"
Expected behavior
I am expecting to alert balance of an address
Screenshots
If applicable, add screenshots to help explain your problem.
https://www.dropbox.com/sh/8m3dmgnu656m5kt/AABfXhq1Y0tlTeyeW4_kFZnva?dl=0
System info (please complete the following information):
- OS and version: [e.g. Ubuntu 20.04 LTS]
- Python version: [e.g.
3.8.5
] bscscan-python
version: [e.g.2.0.0
]
Additional context
Add any other context about the problem here.
Hi, based on the two screenshots you provided me with I can see two potential problems:
- (Screenshot1) Try this syntax -> https://github.com/pcko1/bscscan-python#usage
- (Screenshot2) You haven't installed
bscscan
in the environment that you are using to run your script
I want to know what the operation steps are in WIN platform
@zwmwei You need to have python installed on your machine as a first step and then install this package with one line: pip install bscscan-python
.
There are endless tutorials on the internet about how to install python, for example: https://docs.anaconda.com/anaconda/install/