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

Unable to install #60

Open
thierryfrch opened this issue Mar 15, 2018 · 2 comments
Open

Unable to install #60

thierryfrch opened this issue Mar 15, 2018 · 2 comments

Comments

@thierryfrch
Copy link

Hello,

just upgraded pip to install ldap-auth but the installation failed:

root@virt-taiga:/tmp# pip install taiga-contrib-ldap-auth
Collecting taiga-contrib-ldap-auth
Using cached taiga-contrib-ldap-auth-0.1.1.tar.gz
Complete output from command python setup.py egg_info:

Installed /tmp/pip-build-DhIBrd/taiga-contrib-ldap-auth/.eggs/versiontools-1.9.1-py2.7.egg
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-DhIBrd/taiga-contrib-ldap-auth/setup.py", line 34, in <module>
    'Topic :: Internet :: WWW/HTTP',
  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 272, in __init__
    _Distribution.__init__(self,attrs)
  File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 327, in finalize_options
    ep.load()(self, ep.name, value)
  File "build/bdist.linux-x86_64/egg/versiontools/setuptools_hooks.py", line 64, in version
  File "build/bdist.linux-x86_64/egg/versiontools/__init__.py", line 234, in from_expression
  File "/tmp/pip-build-DhIBrd/taiga-contrib-ldap-auth/taiga_contrib_ldap_auth/__init__.py", line 2
SyntaxError: Non-ASCII character '\xc3' in file /tmp/pip-build-DhIBrd/taiga-contrib-ldap-auth/taiga_contrib_ldap_auth/__init__.py on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-DhIBrd/taiga-contrib-ldap-auth/

Is someone able to help me to fix this issue ?

Thank you !

Thierry

@phanikumar1210
Copy link

I had the same issue and the reason is by default pip might use python2.7. But you need to update the pip to use python3 to get the installation successful

@thierryfrch
Copy link
Author

thierryfrch commented Apr 25, 2018 via email

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

2 participants