sqlalchemy / mako

Mako Templates for Python
https://www.makotemplates.org
MIT License
353 stars 60 forks source link

installation problem (-- Python checking for mako >= 0.4.2 - not found #353

Closed nminpc closed 1 year ago

nminpc commented 2 years ago

can anyone come across this?

-- Python checking for distutils

:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives -- Python checking for distutils - found :2: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :2: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead -- -- Python checking for python >= 3.4 -- Python checking for python >= 3.4 - found -- -- Python checking for mako >= 0.4.2 -- Python checking for mako >= 0.4.2 - not found CMake Error at CMakeLists.txt:173 (message): Mako templates required to build VOLK -- Configuring incomplete, errors occurred! See also "/home/kali/build/volk/build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'test'. Stop. make: *** No rule to make target 'install'. Stop. pip install Mako==1.1.6 (does not work)
CaselIT commented 2 years ago

Hi,

there are really not enough details to offer any help here.

nminpc commented 2 years ago

kali linux pip 20.3.4 Python 3.9.9

set it up like this: sudo apt-get install git git clone https://github.com/pybombs/pybombs.git cd pybombs sudo python setup.py install sudo pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git sudo pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git sudo pybombs prefix init /usr/local/ -a gr-gsm sudo pybombs -p gr-gsm install gr-gsm

CaselIT commented 2 years ago

Does installing directly with pip work?

nminpc commented 2 years ago

Does installing directly with pip work?

no

CaselIT commented 2 years ago

Sorry but I cannot reproduce.

I've used the kali linux docker image https://www.kali.org/docs/containers/official-kalilinux-docker-images/ and I can successfully install mako with python3 using pip

I'm trying the provided script above, but it's installing a large number of packages, and it's taking a lot of time....

You should probably ask the maintainers of it, since it looks like something on their end