title: How to solve zsh: permission denied: mkdocs after pip installation?
body: <p>I installed mkdocs using pip3. At the beginning, I couldn't run mkdocs =&gt; I got mkdocs command not found. Then, I located the installation path of pip and modified my ~/.zshrc path</p>
  <pre><code>bash pip3 show mkdocs  
  
  Name: mkdocs
  Version: 1.3.0
  Summary: Project documentation with Markdown.
  Home-page: https://www.mkdocs.org
  Author: Tom Christie
  Author-email: tom@tomchristie.com
  License: BSD
  Location: /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages
  Requires: click, ghp-import, importlib-metadata, Jinja2, Markdown, mergedeep, packaging, PyYAML, pyyaml-env-tag, watchdog
  Required-by: 
  </code></pre>
  <p>The problem is that now if I run mkdocs I get in return:</p>
  <p><code>zsh: permission denied: mkdocs</code></p>
  <p>That is, I guess, because the Library directory in which pip installs is outside of the my user directory and I don't have write access to it.</p>
  <p>What's the smartest move to solve it?</p>