-
Notifications
You must be signed in to change notification settings - Fork 189
Getting error with python 3.5.4 #138
Comments
$ python bootstrap.py |
This means you haven't installed the |
During run the command $ pip install -r requirements.txt c:\users\pankaj.thakur\appdata\local\programs\python\python35\include\pyconfig.h(243): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory Please let me know where i am wrong. |
Hello @localhuman plyvel/_plyvel.cpp(359): fatal error C1083: Cannot open include file: 'leveldb/db.h': No such file or directory |
Yeah, as the docs say LevelDB is not well supported on Windows. Perhaps you can use Docker or run the code in a Linux VM? |
Hello @metachris Thanks for replay. Ok i will use Docker |
👍 |
Hello @metachris i have install the Docker and docker working fine. Please let me know how can i use docker for python-neo |
you're not running neo-python inside docker. perhaps easier for you would be to install VirtualBox, and setup a Ubuntu VM with Vagrant. Then you can setup and run neo-python inside the Linux VM. |
Sorry if i am in the wrong place, but can someone help me with this issue. I have an error when i add this on my python code and try to build: BUT Only those 3 lines, building just fine. Thanks! |
You can't import normal python modules in smart contracts. |
So the normal python modules can only for script outside the smart contract? |
Yes, exactly. Orient yourself on the boa examples for what you can do in smart contracts: https://github.com/CityOfZion/neo-boa/tree/master/boa_test/example |
Thank you very much! |
When i use final command : i.e. pip install -e D:/pyt
Then i am facing the problem. Please let me know where i am doing wrong.
c:\users\xyz\appdata\local\programs\python\python35\include\pyconfig.h(243): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
The text was updated successfully, but these errors were encountered: