Skip to content

Commit 96d21ad

Browse files
Add error message
1 parent a5d825e commit 96d21ad

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

docs/steps/1_install_inkcut/README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,52 @@ Create a (mandatory!) virtual environment for Inkcut:
175175
python3 -m venv ~/inkcut_venv
176176
```
177177

178+
???- question "It gives the error 'The virtual environment was not created successfully'"
179+
180+
This is the full errr message:
181+
182+
```text
183+
ums@rikthyvel:~$ python3 -m venv ~/inkcut_venv
184+
The virtual environment was not created successfully because ensurepip is not
185+
available. On Debian/Ubuntu systems, you need to install the python3-venv
186+
package using the following command.
187+
188+
apt install python3.12-venv
189+
190+
You may need to use sudo with that command. After installing the python3-venv
191+
package, recreate your virtual environment.
192+
193+
Failing command: /home/ums/inkcut_venv/bin/python3
194+
```
195+
196+
The solution can be found in the text:
197+
198+
```text
199+
sudo apt install python3.12-venv
200+
```
201+
202+
This is how that looks like:
203+
204+
```text
205+
ums@rikthyvel:~$ sudo apt install python3.12-venv
206+
Reading package lists... Done
207+
Building dependency tree... Done
208+
Reading state information... Done
209+
The following package was automatically installed and is no longer required:
210+
python3-netifaces
211+
Use 'sudo apt autoremove' to remove it.
212+
The following additional packages will be installed:
213+
python3-pip-whl python3-setuptools-whl
214+
The following NEW packages will be installed:
215+
python3-pip-whl python3-setuptools-whl python3.12-venv
216+
0 upgraded, 3 newly installed, 0 to remove and 70 not upgraded.
217+
Need to get 2,424 kB of archives.
218+
After this operation, 2,771 kB of additional disk space will be used.
219+
Do you want to continue? [Y/n] y
220+
```
221+
222+
After this, try again.
223+
178224
???- question "Huh? It says nothing!"
179225

180226
Correct! This is 'The Golden Rule of Silence':

0 commit comments

Comments
 (0)