Comments (3)
i changed "eth-hash == 0.1.3" to "eth-hash == 0.1.4" in setup.py, but when i import neb-py ,there still have something wrong!
>>> from nebpysdk.src.account.Account import Account
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "nebpysdk\src\account\Account.py", line 25
def set_privatekey(self, pri_key_str: str):
^
SyntaxError: invalid syntax
from neb.py.
The SyntaxError is result from "type hints", which is a syntax of python3.
Please use python3 to run neb-py code.
from neb.py.
@yupnano thank you!
i tried python 3.7, but neb-py require pycurl, and pycurl can not work with python3.7, it can work with python3.5 3.6.
so i download python3.6.6 , and reinstall neb-py, it shows:
" error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools" (the visual-cpp-build-tools is so big about 4GB. ),
the error is happened when the pytoolz installed, so i find a whl (cytoolz-0.9.0.1-cp36-cp36m-win_amd64.whl) package, and it works.
now, the neb-py has installed success!
from neb.py.
Related Issues (13)
- can't run account HOT 3
- How to set endpoint to send transaction on mainnet? HOT 2
- I can see the txhash,but there is no recording in the testnet HOT 5
- setup.py introduces modules that old and never used HOT 2
- what's wrong? HOT 6
- 'module' object has no attribute 'sha3_256' HOT 1
- how to pass the args ,when i call function of smart contract? HOT 1
- the call function is incorrect HOT 1
- for Python3.7 requirement.txt(success)
- Address.py 中校验地址”校验和“部分代码是否存在逻辑Bug?
- 什么时候可以在 pypi 升级版本 0.4.4 ?
- Unnecessary line in Address.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neb.py.