Git Product home page Git Product logo

Comments (5)

straight-shoota avatar straight-shoota commented on June 18, 2024

Works for me. I also checked with a clean ubuntu:22:10 image and installed packages make, python3, python3.10-venv.

Maybe your Python installation is missing the wheel package. Try pip install wheel.

from crystal-book.

friscodelrosario avatar friscodelrosario commented on June 18, 2024

Works for me. I also checked with a clean ubuntu:22:10 image and installed packages make, python3, python3.10-venv.

Maybe your Python installation is missing the wheel package. Try pip install wheel.

make serve broke for me for missing the importlib_metadata module

frisco@frisco-520-1047c:~/crystal-book$ make serve
.venv/bin/mkdocs serve
Traceback (most recent call last):
  File ".venv/bin/mkdocs", line 5, in <module>
    from mkdocs.__main__ import cli
  File "/home/frisco/crystal-book/.venv/lib/python3.8/site-packages/mkdocs/__main__.py", line 15, in <module>
    from mkdocs import __version__, config, utils
  File "/home/frisco/crystal-book/.venv/lib/python3.8/site-packages/mkdocs/config/__init__.py", line 1, in <module>
    from mkdocs.config.base import Config, load_config
  File "/home/frisco/crystal-book/.venv/lib/python3.8/site-packages/mkdocs/config/base.py", line 25, in <module>
    from mkdocs import exceptions, utils
  File "/home/frisco/crystal-book/.venv/lib/python3.8/site-packages/mkdocs/utils/__init__.py", line 39, in <module>
    from importlib_metadata import EntryPoint, entry_points
ModuleNotFoundError: No module named 'importlib_metadata'
make: *** [Makefile:20: serve] Error 1

But the importlib_metadata module is installed.

frisco@frisco-520-1047c:~/crystal-book$ python3 -m pip install importlib_metadata
Requirement already satisfied: importlib_metadata in /home/frisco/.local/lib/python3.8/site-packages (6.6.0)
Requirement already satisfied: zipp>=0.5 in /home/frisco/.local/lib/python3.8/site-packages (from importlib_metadata) (3.15.0)

And neither is the wheel package missing.

frisco@frisco-520-1047c:~/crystal-book$ python3 -m pip install wheel
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.34.2)

from crystal-book.

straight-shoota avatar straight-shoota commented on June 18, 2024

It works for me 🤷 And I can't help with these python dependency issues. But you might try devenv from #694 for a working environment setup.

from crystal-book.

4ndyfix avatar 4ndyfix commented on June 18, 2024

After a general upgrade from Ubuntu 20.04 LTS to Ubuntu 22.04 LTS
the python problem was gone for me.

from crystal-book.

beta-ziliani avatar beta-ziliani commented on June 18, 2024

as per #658 (comment) I understand this is solved

from crystal-book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.