How can i install 'mplsoccer'

If you’re creating a debugging post, please include the following info:

  1. Are you running your app locally or is it deployed? deployed
  2. If your app is deployed:
    a. Is it deployed on Community Cloud or another hosting platform? community cloud
    b. Share the link to the public deployed app.
  3. Share the link to your app’s public GitHub repository (including a requirements file).
  4. Share the full text of the error message (not a screenshot).
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/home/adminuser/venv/lib/python3.11/site-packages/pyparsing'
Check the permissions.

Failed to install mplsoccer: Command '['/home/adminuser/venv/bin/python', '-m', 'pip', 'install', 'mplsoccer']' returned non-zero exit status 1.
Failed to install matplotlib: Command '['/home/adminuser/venv/bin/python', '-m', 'pip', 'install', 'matplotlib']' returned non-zero exit status 1.
────────────────────── Traceback (most recent call last) ───────────────────────
  /home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru  
  nner/script_runner.py:600 in _run_script                                      
                                                                                
  /mount/src/b04-pass-analysis/main.py:43 in <module>                           
                                                                                
    40 import streamlit as st                                                   
    41 # from statsbombpy import sb                                             
    42 import pandas as pd                                                      
  ❱ 43 from mplsoccer import Pitch                                              
    44 import numpy as np                                                       
    45 import matplotlib.pyplot as plt                                          
    46 from multiprocessing import freeze_support   

Just having mplsoccer in requirements.txt works for me.