I installed it recently on AWS Sagemaker notebook with two different methods:
1.
%pip install pytensor pymc
2.
!conda create -c conda-forge -n my_pymc_env "pymc>=5" --yes
!conda activate my_pymc_env
!pip install pymc
Hope this helps you as well!