mbr / flask-bootstrap

Ready-to-use Twitter-bootstrap for use in Flask.
http://pypi.python.org/pypi/Flask-Bootstrap
Other
1.57k stars 724 forks source link

pip install error - missing py26compat.py #182

Open grzadr opened 6 years ago

grzadr commented 6 years ago

Hi!

today I wanted to install flask-bootstrap on my Kubuntu 18.04 machine and I encountered this error message while running pip: $ pip3 install Flask-Bootstrap

Collecting Flask-Bootstrap
  Using cached https://files.pythonhosted.org/packages/88/53/958ce7c2aa26280b7fd7f3eecbf13053f1302ee2acb1db58ef32e1c23c2a/Flask-Bootstrap-3.3.7.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/data/Dropbox/Nauka/Flask/flasky/.venv/lib/python3.6/site-packages/setuptools/__init__.py", line 13, in <module>
        from setuptools.extension import Extension
      File "/data/Dropbox/Nauka/Flask/flasky/.venv/lib/python3.6/site-packages/setuptools/extension.py", line 9, in <module>
        from .monkey import get_unpatched
      File "/data/Dropbox/Nauka/Flask/flasky/.venv/lib/python3.6/site-packages/setuptools/monkey.py", line 12, in <module>
        from .py26compat import import_module
    ModuleNotFoundError: No module named 'setuptools.py26compat'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-6k86c6rn/Flask-Bootstrap/

I have starting searching for this module. I am using setuptools version 39.0.1. I think that this file was dropped from the package. Maybe it is because setuptools does not support Python2.6. How to resolve this problem?

Problem persists when installing Bootstrap 4.0.2

UPDATE 10/05/2018:

I checked other distribution (Manjaro 17.10) and I installed package successfully.