Try activating the virtual environment first and then install the package.
$ python3 -m venv $HOME/.venvs/MyEnv
$ source $HOME/.venvs/MyEnv/bin/activate
$ pip install <some_package>