You are viewing a single comment's thread from:

RE: Tutorial - How to install Steem Python on Windows 10/11

in Steem Dev23 days ago (edited)

I was helping @cmp2020 try to get steem-python working in Windows. The instructions didn't work as we expected yesterday, so I'm playing around on my own PC now. After some mucking around, it seems to be working as a python import (with python3.10, though I see below that it should be python3.9). But - "steemtail" and "steempy" still are not working. Do those work in your environment when you follow these instructions? I'm seeing this:

(myenv) pyVirtual\steem-python\myenv\Scripts>steempy info
Traceback (most recent call last):
File "[PYTHON3.10_DIR]\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "[PYTHON3.10_DIR]\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "pyVirtual\steem-python\myenv\Scripts\steempy.exe_main
.py", line 7, in
File "pyVirtual\steem-python\myenv\lib\site-packages\steem\cli.py", line 797, in legacyentry
blockchain = Blockchain(mode="head")
File "pyVirtual\steem-python\myenv\lib\site-packages\steem\blockchain.py", line 23, in init
self.steem = steemd_instance or shared_steemd_instance()
File "pyVirtual\steem-python\myenv\lib\site-packages\steem\instance.py", line 25, in shared_steemd_instance
_shared_steemd_instance = stm.Steemd(
AttributeError: module 'steem' has no attribute 'Steemd'. Did you mean: 'steemd'?

It probably doesn't matter for his use case, but I'm not sure if I should expect steempy and steemtail to work in Windows or not?

Update: Never mind. I have steempy and steemtail working now. Out of curiosity, you get version 1.0.1 from "pip", right? I installed version 1.0.2 from github.

Sort:  
 23 days ago 

Congratulations :-)

you get version 1.0.1 from "pip", right?

I have retraced the steps with a VM. I would first have to check which version I had used.
Did it really work with python3.10?

Loading...
Loading...