nile setup fails
See original GitHub issueHello team. I am trying to setup a private key alias as described in the README. but I get an error.
I am on a working installation of Nile on macOS (I followed the macOS specific installations) and I am able to compile and deploy. I created the venv, installed cairo-nile with pip, inited the project. I also create a .env file in the root directory with the YOLO=123 key.
> nile setup YOLO
Traceback (most recent call last):
File "/opt/homebrew/bin/nile", line 8, in <module>
sys.exit(cli())
File "/opt/homebrew/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/opt/homebrew/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/opt/homebrew/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/homebrew/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/homebrew/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/opt/homebrew/lib/python3.9/site-packages/nile/cli.py", line 84, in setup
Account(signer, network)
File "/opt/homebrew/lib/python3.9/site-packages/nile/core/account.py", line 20, in __init__
self.signer = Signer(int(os.environ[signer]))
File "/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/os.py", line 679, in __getitem__
raise KeyError(key) from None
KeyError: 'YOLO'
I have no idea what is going wrong
Issue Analytics
- State:
- Created 2 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Troubleshooting tips - NILE & Other Technology Guides
If you do find that there is a genuine issue with Collaborate which is not linked to a poor internet connection, microphone and...
Read more >How to Fix 403 Forbidden Error? - Nile Bits
The HTTP response status code 403 Forbidden Error indicates that an ... you'll learn how to set up proper permissions for application files ......
Read more >Children of the Nile Complete - GOG SUPPORT CENTER
General troubleshooting · 1) Select the game in "Owned games", click the customization button in the top bar →Manage installation →Configure →Language. ·...
Read more >Full-Stack Starknet - HackMD
First, we'll need to initialize project with Nile. Using the python module venv , create a workspace for your cairo code and install...
Read more >Nile The Epilepsy App — MSD transfer
Set up your Nile account using the same email that you used for your My Seizure ... If you don't follow your medication...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I ran into the same issue using miniconda as my virtualenv on Linux. I was running nile from the root directory of the project folder (created from
nile init) with the.envfile in the root directory of the project folder.I got around this by setting the key in console directly, eg.
export KEY=1234.I am not sure exactly what it is. I had the same problem a while ago with a setup of nodejs and nextjs. A friend told me about this issue brut I me we investigated the actual why.
Claudio