Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
user_guide:howto:jupyter [2020/12/17 15:13] – [jupyter] Added usage section lkastner | user_guide:howto:jupyter [2021/06/15 09:02] (current) – [jupyter] Try other browser lkastner | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
To use polymake with jupyter it is necessary to have jupyter installed. jupyter is provided via the package manager in many linux distributions. | To use polymake with jupyter it is necessary to have jupyter installed. jupyter is provided via the package manager in many linux distributions. | ||
+ | - Ubuntu: '' | ||
+ | - Fedora: '' | ||
Furthermore you need an **installed** version of polymake. This means that you need to run | Furthermore you need an **installed** version of polymake. This means that you need to run | ||
Line 7: | Line 9: | ||
ninja -C build/Opt install | ninja -C build/Opt install | ||
</ | </ | ||
- | in your polymake source. Then you use the polymake binary from the folder you installed polymake in. | + | if working with the polymake source. Then please |
+ | |||
+ | If you use a version of polymake installed via your package manager, make sure you have the '' | ||
+ | < | ||
+ | polymake-config --version | ||
+ | </ | ||
+ | in a terminal. For example for Ubuntu it is not enough to have the '' | ||
===== Setup ===== | ===== Setup ===== | ||
Line 54: | Line 62: | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
+ | If the polymake kernel does not start for you, look at the output of jupyter in the terminal and search for any error messages. | ||
+ | |||
+ | If you experience issues it makes sense to try a different browser. | ||
+ | |||
+ | ==== JuPyMake.PolymakeError: | ||
+ | This error sometimes appears with polymake installed by the package manager. It can be fixed by manually setting the symlink | ||
+ | < | ||
+ | cd / | ||
+ | sudo ln -s ../ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== polymake configuration ==== | ||
+ | The default configuration used by the jupyter kernel is the one in '' | ||
+ | |||
+ | Advance users can use a different configuration folder in the following way: | ||
+ | < | ||
+ | alias jupymake=" | ||
+ | </ | ||
==== polymake kernel does not start ==== | ==== polymake kernel does not start ==== |