-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation was successful, but MKDOCS server spits out the error "plugin is not installed" #82
Comments
My first guess is that the plugin is installed in a different location than mkdocs itself. Run the following command to print all packages that are installed alongside the plugin: python3 -m pip freeze |
This is the list: |
I recommend using a Virtual Environment to have a better control of the packages. But anyways looking at the pip freeze it seems that both MkDocs and the plugin are installed in the same pip environment. Try running |
I ran the following command: Still, though, running Sooooo, I tried your other suggestion to run Traceback (most recent call last): |
kamilkrzyskow, what kind of virtual environment do you recommend when you say virtual environment? Perhaps Docker with a mapped volume for the documentation? |
@surfingjoe I mean the most simple, I don't use Docker or any Conda environment overlay. After the activation your terminal should show (venv) and then every pip install command will install packages into that virtual environment. |
kamilkrzyskow, I will give that a shot. I'm for learning something new every day and that sounds very handy! |
Thanks @kamilkrzyskow for helping out here, virtual environments are definitely the way to go 👍 @surfingjoe Please also post the contents of your |
It took me a while to get the chance to go back to this today. Good News I then installed only Python3. kamilkrzyskow Thank You so much, I learned something valuable from using the virtual environment. Makes a cleaner use of MKDOCS by far!! |
Wait, when reading this in order you installed virtualenv, the theme, MkDocs and the plugin and only after that activated the virtual environment? If so that's not the right order, you activate the virtual environment and then install the packages so that they're isolated in that environment. If you like your |
kamilkrzyskow - Sorry, I must've mis-phrased something. I activated virtualenv before installing MKDOCS, Windmill theme, and awesome-pages-plugin. I will check the method mentioned by your link above. Thank You! |
On my MAC, I have both Python version 2.7 and Python version 3.11.5. I tried installing using the default command:
pip install mkdocs-awesome-pages-plugin
That failed, of course, because my Python version 2.7 support has been deprecated.
So I used the following command to successfully install the awsome-pages plugin:
python3 -m pip install mkdocs-awesome-pages-plugin
However, MKDOCS SERVE gives me the following error
Error: The "awesome-pages" plugin is not installed
I even ran a reinstall of
mkdocs-awesome-pages-plugin
and the terminal came back with a list of requirements that are "already satisfied", confirming that the plugin is installed.Need some help here, as I do not normally involve myself in coding, so I'm at a loss as to what to do next!
The text was updated successfully, but these errors were encountered: