Comments (5)
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.
Works for me. I also checked with a clean
ubuntu:22:10
image and installed packagesmake
,python3
,python3.10-venv
.Maybe your Python installation is missing the
wheel
package. Trypip 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.
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.
After a general upgrade from Ubuntu 20.04 LTS to Ubuntu 22.04 LTS
the python problem was gone for me.
from crystal-book.
as per #658 (comment) I understand this is solved
from crystal-book.
Related Issues (20)
- Documentation error about Operator Precedence for `==` and `<` HOT 2
- Redirect loop for a bunch of docs since 1.5 HOT 1
- [Documentation] Please add two entries to https://crystal-lang.org/reference/1.5/using_the_compiler/index.html - one for compiling multiple .cr files, and one for integrating shards HOT 1
- Typo in example of method arguments HOT 1
- Port "required libraries" from wiki
- Add more concurrent example/document/blog HOT 1
- The `play` button should use the same version as the documentation
- Dependency Dashboard
- Lib enum example does not work
- Overview page
- Document `fun` defs
- Document for case statement case nil and others condtions HOT 1
- There is no clear document for how `require "foo/bar/baz"` work. HOT 5
- Note Ruby symbol hash shorthand notation isn't supported HOT 2
- Documentation on `fun` argument conversion is incorrect HOT 1
- [crystalforrubyists] Add concurrency and TypeProf
- make serve HOT 7
- Symbol enum auto-casting
- Documentation for `include` inside lib structs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crystal-book.