diff --git a/hugo/content/installation/install/windows/python-troubleshooting/index.md b/hugo/content/installation/install/windows/python-troubleshooting/index.md index a6e6bab3836bd59fca224cab5d38e04533d98bc2..a511a51e50d9de055ad1beff8360408a5c1981e7 100644 --- a/hugo/content/installation/install/windows/python-troubleshooting/index.md +++ b/hugo/content/installation/install/windows/python-troubleshooting/index.md @@ -11,7 +11,7 @@ When BornAgain is installed on the system, its library directory is automaticall This enables the use of the `import bornagain` statement in any Python script and run this script using the Python interpreter installed on the system. -Sometimes this process can fail. The following checklist can be useful to tackle possible causes of the problem. +Sometimes this process can fail. The following checklist can be useful to tackle possible causes of the problem. * [How many Python distributions are installed on the system?]({{% relref "#how-many-python" %}}) * [Does the Python interpreter version matches the BornAgain installation?]({{% relref "#does-interpreter-match" %}}) @@ -20,22 +20,23 @@ Sometimes this process can fail. The following checklist can be useful to tackle <hr> -#### How many Pythons are installed on the system? +#### How many Pythons are installed on the system? {{% anchor "how-many-python" %}} -Please note that having more than one Python interpreter installed on the system is potentially error-prone and requires some skills from the user -to be able to manage their co-existence. If you have more than one Python, please consider uninstalling all of them but one. +Having more than one Python interpreter installed on the system may cause subtle errors. +Managing their co-existence is possible, but may require special skills. +It may be preferable to uninstall all Python versions but one. <hr> #### Does the Python interpreter version matches the BornAgain installation? {{% anchor "does-interpreter-match" %}} -BornAgain is a `64-bit` application and requires a `64-bit` Python installed on the system. Additionally, you can't use BornAgain intended for Python -{{% recommended-python %}} together with an older Python 2.7. -Please make sure that the Python version number, as specified -in the BornAgain installer name (e.g. `{{% installer-win-name "3.7" %}}`), -matches the Python installation on your system. +BornAgain is a `64-bit` application and requires a `64-bit` Python3 installed on the system. + +The Python version number, indicated in the BornAgain installer name +(e.g. `{{% recommended-wininstaller %}}`) must +match the Python installation on your system. <hr> @@ -43,7 +44,7 @@ matches the Python installation on your system. {{% anchor "is-anaconda" %}} If you have installed Python using the Anaconda installer, please make sure that you are using the `Anaconda Prompt`, `Anaconda Navigator` and -can run BornAgain scripts from the command line, as explained in +can run BornAgain scripts from the command line, as explained in [Install Python with the Anaconda installer]({{% relref "installation/install/windows/python-anaconda" %}}). <hr> diff --git a/hugo/layouts/shortcodes/installer-win-name.html b/hugo/layouts/shortcodes/installer-win-name.html deleted file mode 100644 index 7e06705e4fea70a1f944472b555c8219c7c68295..0000000000000000000000000000000000000000 --- a/hugo/layouts/shortcodes/installer-win-name.html +++ /dev/null @@ -1 +0,0 @@ -BornAgain-{{.Site.Params.version_mmp}}-python{{.Get 0}}-win64.exe