blueswen / mkdocs-glightbox

A MkDocs plugin supports image lightbox (zoom effect) with GLightbox.
https://blueswen.github.io/mkdocs-glightbox/
MIT License
115 stars 14 forks source link

Cannot install the plugin with the suggested `pip` command #12

Closed johnnovak closed 1 year ago

johnnovak commented 1 year ago

I cannot install the plugin with the pip install mkdocs-glightbox command as suggested in the README. It appears that pip only displays a warning and the install was successful, but then the plugin is not in the installed package list, and mkdocs cannot find it:

image image

The workaround is to install the plugin with the below command, but it took a while for me to figure this out:

pip install --use-pep517 mkdocs-glightbox

I'm using the following versions:

image
blueswen commented 1 year ago

Hi @johnnovak,

I can't reproduce this error on a clean Linux container(python:3.9.16-slim with pip 22.3.1). Could you provide your setuptools and wheel versions as follow?

pip list | grep "setuptools\|wheel"
johnnovak commented 1 year ago

I can't reproduce this error on a clean Linux container(python:3.9.16-slim with pip 22.3.1). Could you provide your setuptools and wheel versions as follow?

Sure thing. I'm on macOS + MacPorts, btw.

Looks like I don't have wheel.

image
blueswen commented 1 year ago

I just uploaded the package wheel to PyPI. This issue should be fixed when the wheel file is provided.

johnnovak commented 1 year ago

I just uploaded the package wheel to PyPI. This issue should be fixed when the wheel file is provided.

That apparently fixed it. I've just done an uninstall followed by an install, and it downloaded that whl fine and didn't complain about anything. I think we can consider this resolved then, cheers guys.

image