Hi, I am trying to replace the default matplotlib finance.py file with a custom one I made, and I am unable to do it. Any ideas on how I can achieve this copy and replace? Below is a copy and paste of a few of my failed attempts. Thanks!
19:34 ~ $ cp -fr /home/Sentdex/finance.py /usr/local/lib/python2.7/dist-packages /matplotlib/finance.py cp: cannot remove â/usr/local/lib/python2.7/dist-packages/matplotlib/finance.pyâ : Permission denied
19:34 ~ $ sudo cp -fr /home/Sentdex/finance.py /usr/local/lib/python2.7/dist-pac kages/matplotlib/finance.py -bash: sudo: command not found
19:34 ~ $ cp /home/Sentdex/finance.py /usr/local/lib/python2.7/dist-packages/matplotlib/finance.py cp: cannot create regular file â/usr/local/lib/python2.7/dist-packages/matplotlib/finance.pyâ: Permission denied