Skip to content
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

Windows setup fails with an error. #319

Open
berhalak opened this issue Mar 20, 2024 · 0 comments
Open

Windows setup fails with an error. #319

berhalak opened this issue Mar 20, 2024 · 0 comments

Comments

@berhalak
Copy link
Collaborator

I can't seem to make the new setup work on Windows 11. Running the last command python .\docs.py live en produces this error:

Traceback (most recent call last):
  File "C:\Users\jaros\grist-help\docs.py", line 19, in <module>
    import mkdocs.commands.build
  File "C:\Users\jaros\grist-help\env\Lib\site-packages\mkdocs\commands\build.py", line 17, in <module>
    from mkdocs.structure.nav import Navigation, get_navigation
  File "C:\Users\jaros\grist-help\env\Lib\site-packages\mkdocs\structure\nav.py", line 9, in <module>
    from mkdocs.structure.pages import Page
  File "C:\Users\jaros\grist-help\env\Lib\site-packages\mkdocs\structure\pages.py", line 11, in <module>
    import markdown
  File "C:\Users\jaros\grist-help\env\Lib\site-packages\markdown\__init__.py", line 29, in <module>
    from .core import Markdown, markdown, markdownFromFile  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jaros\grist-help\env\Lib\site-packages\markdown\core.py", line 26, in <module>
    from . import util
  File "C:\Users\jaros\grist-help\env\Lib\site-packages\markdown\util.py", line 85, in <module>
    INSTALLED_EXTENSIONS = metadata.entry_points().get('markdown.extensions', ())
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'EntryPoints' object has no attribute 'get'

I have Python 3.12.2 installed and Windows 11 SDK, previous commands (creating virtual environment and installing requirements from the file worked).

Would appreciate any help, maybe @fflorent can you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant