[ad_1]
I at present have Python3 as model 3.12.4 in my PATH. It was put in by way of Homebrew.
I’ve put in mkdocs utilizing
pip3 set up mkdocs
mkdocs --version
says
mkdocs, model 1.6.0 from /Customers/ronaldfischer/Library/Python/3.11/lib/python/site-packages/mkdocs (Python 3.11)
It mentions Python 3.11 as a result of at time of set up, my Python3 within the PATH was nonetheless 3.11. In the meantime, one other homebrew set up up to date Python to three.12, so that is what I am working now.
After I do a mkdocs serve
, I get the error message
can not discover module ‘pymdownx.superfences’ (No module named ‘pymdownx’)
(superfences is referenced to within the mkdocs.yml file)
I figured that I would like to put in pymdown-extensions
. My first strategy
pip3 set up pymdown-extensions
failed with error message
*This surroundings is externally managed. … When you want to set up a Python utility that is not in Homebrew, it could be best to make use of ‘pipx set up xyz’.
So I put in pipx by way of Homebrew after which executed
pipx --include-deps pymdown-extensions
and added ~/.native/bin to my PATH. My .native/bin accommodates now a symlink
markdown_py -> /Customers/ronaldfischer/.native/pipx/venvs/pymdown-extensions/bin/markdown_py
Nevertheless, I nonetheless get the error message when working mkdocs.
After I do a
discover ~ -name '*pymdownx*' 2>/dev/null
I do not get any matching recordsdata. This makes me wonder if the package deal is appropriately put in.
What did I do mistaken, and – extra importantly – how can I repair it?
[ad_2]