I'd suggest using pipenv.
mkdir pyeth
cd pyeth
pipenv --three
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.0; | |
| import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol"; | |
| interface WETH9 { | |
| function balanceOf(address) external returns (uint256); | |
| function deposit() external payable; | |
| function withdraw(uint256) external; |
I'd suggest using pipenv.
mkdir pyeth
cd pyeth
pipenv --three