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

Installation fails with python3 #91

Open
nicovillanueva opened this issue Dec 3, 2015 · 0 comments
Open

Installation fails with python3 #91

nicovillanueva opened this issue Dec 3, 2015 · 0 comments

Comments

@nicovillanueva
Copy link

Currently, installing either from github, or from pip, fails with a TypeError

➤ sudo pip3 install -e git+https://github.com/bwhite/hadoopy#egg=hadoopy
Obtaining hadoopy from git+https://github.com/bwhite/hadoopy#egg=hadoopy
  Cloning https://github.com/bwhite/hadoopy to ./src/hadoopy
  Running setup.py (path:/home/nico/devel/workplace/feed-processing/src/hadoopy/setup.py) egg_info for package hadoopy
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/home/nico/devel/workplace/feed-processing/src/hadoopy/setup.py", line 72, in <module>
        glibc_version = get_glibc_version()
      File "/home/nico/devel/workplace/feed-processing/src/hadoopy/setup.py", line 51, in get_glibc_version
        match = re.search('([0-9]+)\.([0-9]+)\.?[0-9]*', out)
      File "/usr/lib/python3.4/re.py", line 170, in search
        return _compile(pattern, flags).search(string)
    TypeError: can't use a string pattern on a bytes-like object
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/home/nico/devel/workplace/feed-processing/src/hadoopy/setup.py", line 72, in <module>

    glibc_version = get_glibc_version()

  File "/home/nico/devel/workplace/feed-processing/src/hadoopy/setup.py", line 51, in get_glibc_version

    match = re.search('([0-9]+)\.([0-9]+)\.?[0-9]*', out)

  File "/usr/lib/python3.4/re.py", line 170, in search

    return _compile(pattern, flags).search(string)

TypeError: can't use a string pattern on a bytes-like object

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/nico/devel/workplace/feed-processing/src/hadoopy
Storing debug log for failure in /home/nico/.pip/pip.log
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