Closed MarioKlebsch closed 2 years ago
This isn't an issue with Mako, but with how Python is currently installed on your operating system. The actual issue is happening when installing MarkupSafe, a dependent library.
You're going to get the best help on this from the libvolk people. What I can tell you that may work or help you get in the right direction:
you're using python2, which is basically EOL. there may be some libraries and tools that are severely out of date. i would try the following commands:
pip install --upgrade pip pip install --upgrade setuptools pip install MarkupSafe
that will upgrade the package manager, upgrade the installation manager, and try to install Markupsafe, which is failing. If that works, you may be set to finish installing whatever else you need.
installing Python3 will keep the Python2 system in place, but just add a python3 directory and framework. you should be left with a python2
+ pip2
and python3
+ pip3
executables. python
and pip
will be symlinks to either the v2 or v3 installation, but I have no idea what that installer will do.
Adding:
$ PYTHONPATH=$HOME/tmp/Mako/lib/python2.7/site-packages/
$ export PYTHONPATH
$ python setup.py install --prefix $HOME/tmp/Mako
those lines are having you install Python into a tmp directory. I would not do that. You should either leave out the pythonpath, or use virtualenv if you want to sequester everything https://virtualenv.pypa.io/en/latest/
those lines are having you install Python into a tmp directory. I would not do that.
I was using a temp directory just to demonstrate the problem installing Mako.
Hello,
I try to install Mako-1.1.4 on macOS 11.5, but I get an error :-(
I am not a python programmer at all, but I am installing Mako, because libvolk (https://www.libvolk.org) seems to depend on it.
At first, I had no idea, how to compile it, but then I found https://docs.python.org/2/install/index.html.
Here is what I am trying:
Can anyone help my?
73, Mario