Pyteal under codespaces

When I entered pipx install pyteal under codespaces, then tried to compile a pyteal program, I got an error message: ModuleNotFoundError: No module named 'pyteal'

Then I tried pip install pyteal. Is it the legal way to install and use pyteal? How can I enter into virtual env in workspaces generated for tealscript contract and front-end work?

1 Like