Item.
-To fix this on Linux/Mac, run the following commands:
--echo "export PATH=\"`python -m site --user-base`/bin:$PATH\"" >> ~/.bash_profile -echo "export PATH=\"`python -m site --user-base`/bin:$PATH\"" >> ~/.zprofile -
diff --git a/docs/about.html b/docs/about.html index 927d0af0..61b3b73d 100644 --- a/docs/about.html +++ b/docs/about.html @@ -1,7 +1,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 3cd9200e..e0c1af88 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ - + diff --git a/docs/installation.html b/docs/installation.html index a17dcea3..36bfb0ba 100644 --- a/docs/installation.html +++ b/docs/installation.html @@ -1,7 +1,7 @@ - + @@ -99,7 +99,7 @@
To check your version, type this into your terminal or command prompt:
python -V-
If your version is 2.x, try this instead (and if so, either replace all future references to `python` in these instructions with `python3`, or try this).
+If your version is 2.x, try this instead (and if so, either replace all future references to python
in these instructions with python3
, or try this).
python3 -V
If you don't have a compatible Python available, try one of these:
Once you've confirmed that you're using a valid version of Python, just run (replacing `python` with `python3` if necessary):
+Once you've confirmed that you're using a valid version of Python, just run (replacing python
with python3
if necessary):
python -m pip install --user pretextbook
After installation, if you didn't see an error like “WARNING: The script pretext is installed in '[file_path]' which is not on PATH.”, then try to run:
+It's also possible you may get an error like error: invalid command 'bdist_wheel'
— good news, you can ignore it!).
After installation, try to run:
pretext --help
If that works, great! Otherwise, it likely means that Python packages aren't available on your “PATH”.
To fix this on Linux/Mac, run the following commands:
+One option is to try running python -m pretext --help
. If that works, then you can use python -m pretext
in place of pretext
, and you won't need to do anything further.
To fix your “PATH” on Linux/Mac, run the following commands:
echo "export PATH=\"`python -m site --user-base`/bin:$PATH\"" >> ~/.bash_profile echo "export PATH=\"`python -m site --user-base`/bin:$PATH\"" >> ~/.zprofile
To fix this on Windows, open your Windows Control Panel, search for “environment”, and select “Edit environment variables for your account”
-Then edit your PATH variable and add the following line (replacing 3x
with the version of Python you installed, e.g. 38
for version 3.8
):
To fix your “PATH” on Windows, open your Windows Control Panel, search for “environment”, and select “Edit environment variables for your account”
+Then edit your PATH variable and add the following line (replacing 3x
with the version of Python you installed, e.g. 38
for version 3.8
):
%USERPROFILE%\AppData\Roaming\Python\Python3x\Scripts
Then close and reopen your command line and try pretext --help
again.
Then close and reopen your command line and try pretext --help
again.
The most recent version of PreTeXt-CLI is 0.2rc0 . Use pretext --version
to see the version you're running.
To upgrade your version, run the following:
+The most recent version of PreTeXt-CLI is 0.2rc1 . Use pretext --version
to see the version you're running.
To upgrade your version, run the following:
python -m pip install --user pretextbook --upgrade
To fix this on Linux/Mac, run the following commands:
--echo "export PATH=\"`python -m site --user-base`/bin:$PATH\"" >> ~/.bash_profile -echo "export PATH=\"`python -m site --user-base`/bin:$PATH\"" >> ~/.zprofile -
One option is to try running python -m pretext --help
. If that works, then you can use python -m pretext
in place of pretext
, and you won't need to do anything further.
To fix this on Windows, open your Windows Control Panel, search for “environment”, and select “Edit environment variables for your account”
-Then edit your PATH variable and add the following line (replacing 3x
with the version of Python you installed, e.g. 38
for version 3.8
):
%USERPROFILE%\AppData\Roaming\Python\Python3x\Scripts
To fix your “PATH” on Linux/Mac, run the following commands:
++echo "export PATH=\"`python -m site --user-base`/bin:$PATH\"" >> ~/.bash_profile +echo "export PATH=\"`python -m site --user-base`/bin:$PATH\"" >> ~/.zprofile +in-context diff --git a/docs/knowl/li-8.html b/docs/knowl/li-8.html index bef9779a..0c3b8fe7 100644 --- a/docs/knowl/li-8.html +++ b/docs/knowl/li-8.html @@ -2,7 +2,7 @@ - + @@ -17,6 +17,8 @@
To fix your “PATH” on Windows, open your Windows Control Panel, search for “environment”, and select “Edit environment variables for your account”
+Then edit your PATH variable and add the following line (replacing 3x
with the version of Python you installed, e.g. 38
for version 3.8
):
%USERPROFILE%\AppData\Roaming\Python\Python3x\Scriptsin-context diff --git a/docs/knowl/p-1.html b/docs/knowl/p-1.html index 552b7087..ddd7c116 100644 --- a/docs/knowl/p-1.html +++ b/docs/knowl/p-1.html @@ -2,7 +2,7 @@ - + diff --git a/docs/knowl/p-10.html b/docs/knowl/p-10.html index 5b2d0545..0e17b9d5 100644 --- a/docs/knowl/p-10.html +++ b/docs/knowl/p-10.html @@ -2,7 +2,7 @@ - + diff --git a/docs/knowl/p-11.html b/docs/knowl/p-11.html index fe75ea75..452769ca 100644 --- a/docs/knowl/p-11.html +++ b/docs/knowl/p-11.html @@ -2,7 +2,7 @@ - + @@ -15,7 +15,7 @@
After installation, if you didn't see an error like “WARNING: The script pretext is installed in '[file_path]' which is not on PATH.”, then try to run:
+After installation, try to run:
in-context diff --git a/docs/knowl/p-12.html b/docs/knowl/p-12.html index bc03f015..1c22b339 100644 --- a/docs/knowl/p-12.html +++ b/docs/knowl/p-12.html @@ -2,7 +2,7 @@ - + diff --git a/docs/knowl/p-13.html b/docs/knowl/p-13.html index 1808dede..5834025a 100644 --- a/docs/knowl/p-13.html +++ b/docs/knowl/p-13.html @@ -2,7 +2,7 @@ - + @@ -15,7 +15,7 @@To fix this on Linux/Mac, run the following commands:
+One option is to try running python -m pretext --help
. If that works, then you can use python -m pretext
in place of pretext
, and you won't need to do anything further.
To fix this on Windows, open your Windows Control Panel, search for “environment”, and select “Edit environment variables for your account”
+To fix your “PATH” on Linux/Mac, run the following commands:
in-context diff --git a/docs/knowl/p-15.html b/docs/knowl/p-15.html index a278f575..89f9cdc3 100644 --- a/docs/knowl/p-15.html +++ b/docs/knowl/p-15.html @@ -2,7 +2,7 @@ - + @@ -15,7 +15,7 @@Then edit your PATH variable and add the following line (replacing 3x
with the version of Python you installed, e.g. 38
for version 3.8
):
To fix your “PATH” on Windows, open your Windows Control Panel, search for “environment”, and select “Edit environment variables for your account”
in-context diff --git a/docs/knowl/p-16.html b/docs/knowl/p-16.html index d4f9215a..08012a19 100644 --- a/docs/knowl/p-16.html +++ b/docs/knowl/p-16.html @@ -2,7 +2,7 @@ - + @@ -15,7 +15,7 @@Then close and reopen your command line and try pretext --help
again.
Then edit your PATH variable and add the following line (replacing 3x
with the version of Python you installed, e.g. 38
for version 3.8
):
The most recent version of PreTeXt-CLI is 0.2rc0 . Use pretext --version
to see the version you're running.
Then close and reopen your command line and try pretext --help
again.
To upgrade your version, run the following:
+The most recent version of PreTeXt-CLI is 0.2rc1 . Use pretext --version
to see the version you're running.