After a fresh install of Clarisse, Clarisse may prompt you with an error message regarding a Python installation issue.
Please note that sometimes this error message is not displayed however, you only can see File > Quit in Clarisse’s application main menu bar. These problems typically occur when:
Before finding the right solution, we first have to identify what’s the issue with your installation.
Open a Terminal, type
python and press the Enter key. If you get a message like:
Then Python is not installed. Go to Step B
However, if you see a command-line window displaying a message such as:
Then Python is properly installed you can directly skip to Step C.
Python installation process depends on your linux distribution. Unfortunately most distributions do not package a prebuilt version of Python 3.7. You will need to compile it and install it from the source code.
Once installed, launch Clarisse and if the problem persists go to Step C
Our goal here is to find where python is installed on the system.
1. Open a Terminal type
python and press the Enter key.
2. In the python shell type
import sys;print(sys.path) and press Enter key. You should get something like this:
In this example we can see Python is installed in
3. Now go to this location
Inside the folder, you should see a folder for each version of Clarisse you have installed (for example 3.6, 4.0, 5.0...). Go to the one you are troubleshooting. You will find a few files there. Open
clarisse.env file using any text editor programs or create it if it doesn’t exist.
In our example, Python was installed in
clarisse.env file make sure you have:
4. Run Clarisse and that's it!