Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install error - missing py26compat.py #182

Open
grzadr opened this issue May 9, 2018 · 0 comments
Open

pip install error - missing py26compat.py #182

grzadr opened this issue May 9, 2018 · 0 comments

Comments

@grzadr
Copy link

grzadr commented May 9, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant