Expected behavior
<p dir="auto">I am working on Python steem module to create a auto SBD transfer function. You need to create wallet on steempy to send SBD to another account. I used below command to import my account.
<pre><code>steempy importaccount bekirsolak
<p dir="auto">Command window asked me my steemit password. After enter that I insert my wallet password. My expectation is importing my wallet. Then, I will use it in python commands.
<h4>Actual behavior
<p dir="auto">After the entering the steemit password, it asked to me that my wallet passphrase. I enter it correctly but I see always TypeError. You can see in the attachments.
<h4>How to reproduce
<p dir="auto">Everytime I tried to create wallet, I see that error.
<ul>
<li>Browser: Command window
<li>Operating system:Windows 7
<li>Python version: 3.6.3
<h4>Recording Of The Bug
<p dir="auto">Actual behaviour Photo<br />
<img src="https://images.hive.blog/768x0/https://cdn.utopian.io/posts/fff4be3edf02a91f9de92e405be45903bc991.png" alt="1.png" srcset="https://images.hive.blog/768x0/https://cdn.utopian.io/posts/fff4be3edf02a91f9de92e405be45903bc991.png 1x, https://images.hive.blog/1536x0/https://cdn.utopian.io/posts/fff4be3edf02a91f9de92e405be45903bc991.png 2x" /><br />
which is downloaded from internet<br />
Error Photo<br />
<img src="https://images.hive.blog/768x0/https://cdn.utopian.io/posts/8c0d0acd2fa8aafef3ab58c9c7d5485a0c2bbug1.JPG" alt="bug1.JPG" srcset="https://images.hive.blog/768x0/https://cdn.utopian.io/posts/8c0d0acd2fa8aafef3ab58c9c7d5485a0c2bbug1.JPG 1x, https://images.hive.blog/1536x0/https://cdn.utopian.io/posts/8c0d0acd2fa8aafef3ab58c9c7d5485a0c2bbug1.JPG 2x" />
<p dir="auto"><br /><hr /><em>Posted on <a href="https://utopian.io/utopian-io/@bekirsolak/steempy-importaccount-error" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Utopian.io - Rewarding Open Source Contributors<hr /><p>
Hello.
I upvote you. Pls upvote me also. Thank you
Try to install anaconda and do
conda install steem
More info here: https://steemit.com/utopian-io/@holger80/install-steem-python-easily-by-conda-forge and https://steemit.com/utopian-io/@holger80/how-to-install-steem-python-for-windows
Thank you but it is not about installing steem. It is about importing account to steempy
Ok, I know your problem, you have pycryptodome installed which is not compatible with steem. Steem uses pycrypto. So uninstall pycryptodome and install pycrypto.
<p dir="auto">I can see this on your error message. <code>new() missing 1 required positional argumentYes, you right. I tried that but same problem occurs.
start
python
and enter
from Crypto.Cipher import AES
AES.__file__
When you recieve something like ...Crypto\Cipher\AES.py' your are fine.
..Cryptodome\Cipher\AES.py' means the wrong library is installed.
Your contribution cannot be approved because it does not follow the Utopian Rules.
You can contact us on Discord.
[utopian-moderator] Hi @bekirsolak this is not a bug, you are just not able to install the steempy correctly. you can ask for help in the github issues or their community. As mentioned by @holger80 he already provided you great help for your environment. hope you can perfectly install and run steempy.