install python package in posit cloud

Hi,
My issue is that I wish to install python packages in posit cloud, but I run into trouble. Traditional pip codes does not work. A simple example:

!pip install pandas

Requirement already satisfied: pandas in /cloud/home/r674581/.local/lib/python3.8/site-packages (1.5.2)
Requirement already satisfied: pytz>=2020.1 in /cloud/home/r674581/.local/lib/python3.8/site-packages (from pandas) (2022.7)
Requirement already satisfied: numpy>=1.20.3; python_version < "3.10" in /cloud/home/r674581/.local/lib/python3.8/site-packages (from pandas) (1.24.1)
Requirement already satisfied: python-dateutil>=2.8.1 in /cloud/home/r674581/.local/lib/python3.8/site-packages (from pandas) (2.8.2)
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.8.1->pandas) (1.14.0)

import pandas

ModuleNotFoundError: No module named 'pandas'

I also tried this guide, but fatal error again:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.