Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot replicate creating an account python example on Ubuntu 22.04.3 LTS #2251

Open
1 task done
shahid1209 opened this issue May 24, 2024 · 2 comments
Open
1 task done

Comments

@shahid1209
Copy link

Issue description

https://wiki.iota.org/iota-sdk/getting-started/python/#install-the-iota-sdk

Version

iota-sdk-python-v2.0.0

Expected behaviour

Account created: Alice

Actual behaviour

(iota_sdk_venv) shahid@Shahid:~/iota-sdk$ python3 bindings/python/examples/how_tos/accounts_and_addresses/create_account.py Traceback (most recent call last): File "/home/shahid/iota-sdk/bindings/python/examples/how_tos/accounts_and_addresses/create_account.py", line 19, in <module> raise Exception(f".env {env_var} is undefined, see .env.example") Exception: .env STRONGHOLD_PASSWORD is undefined, see .env.example

Can the issue reliably be reproduced?

Yes

Steps to reproduce the issue

No response

Errors

No response

Duplicate declaration

  • I have searched the issues tracker this issue and there is none
@DaughterOfMars
Copy link

Do you have that environment variable (STRONGHOLD_PASSWORD) set?

@olusegunajibola
Copy link

As suggested by @DaughterOfMars , using the code below will likely solve your issue.

cd bindings/python/examples/

set -o allexport && source .env.example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Product Backlog
Development

No branches or pull requests

3 participants