Error: could not install packages due to an EnvironmentError
You might encounter an error like this if you are installing packages and you have not created or activated your own virtual environment.
ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device
Although it's convenient to have a preconfigured Python environment loaded as soon as you start an instance, some users are better off managing their own virtual environments. You can do this by creating a new virtual environment in your home directory.
See Related Articles at the bottom of the page for help creating your virtual environment.