Skip to content

Value Error: Unable to expand environment variable #20

Answered by oceanKingEth
oceanKingEth asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out!!!!! Man, that took me hours. lol
i ended up using source .env in the terminal, seems to work now.

EDIT: This won't work for Windows, and means you'll have to run this everytime you start a project. Ideally you add dotenv: .env to your brownie-config.yaml and add your environment variables to a .env file.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@PatrickAlphaC
Comment options

@oceanKingEth
Comment options

@cherb-programs
Comment options

@haraslub
Comment options

@cabelera42
Comment options

Answer selected by PatrickAlphaC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants