-
Hello, i am not able to do a brownie compile before going to the testing part require(_randomness > 0, "random-not-found");
uint256 indexOfWinner = _randomness % players.length;
recentWinner = players[indexOfWinner];
recentWinner.transfer(address(this).balance);
// Reset
players = new address payable[](0);
lottery_state = LOTTERY_STATE.CLOSED;
randomness = _randomness; it returns this error
Can someone tell me what's going on!? |
Beta Was this translation helpful? Give feedback.
Answered by
0xAdnan
Jun 17, 2022
Replies: 2 comments 2 replies
-
Hello @0xAdnan |
Beta Was this translation helpful? Give feedback.
2 replies
-
this error was caused due to a missing/broken Python |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
0xAdnan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this error was caused due to a missing/broken Python
setuptools
package, fixed it by runningpip install ez_setup