[pypy-issue] [Bitbucket] Issue #1808: Trying to pip install mercurial fails (pypy/pypy)

Alex Gaynor issues-reply at bitbucket.org
Thu Jul 3 23:31:24 CEST 2014


--- you can reply above this line ---

New issue 1808: Trying to pip install mercurial fails
https://bitbucket.org/pypy/pypy/issue/1808/trying-to-pip-install-mercurial-fails

Alex Gaynor:

Using pypy 2.3.1:

```
$ mktmpenv -p pypy
Running virtualenv with interpreter /Users/alex_gaynor/.pyenv/versions/pypy-2.3.1/bin/pypy
New pypy executable in /Users/alex_gaynor/.virtualenvs/tempenv-436158441eee/bin/pypy
Installing setuptools, pip...done.
[14:30:22] (tempenv-436158441eee) ~
$ pip install mercurial
Downloading/unpacking mercurial
  Using download cache from /Users/alex_gaynor/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FM%2FMercurial%2Fmercurial-3.0.1.tar.gz
  Running setup.py (path:/Users/alex_gaynor/.virtualenvs/tempenv-436158441eee/build/mercurial/setup.py) egg_info for package mercurial
    Traceback (most recent call last):
      File "app_main.py", line 75, in run_toplevel
      File "app_main.py", line 581, in run_it
      File "<string>", line 17, in <module>
      File "/Users/alex_gaynor/.virtualenvs/tempenv-436158441eee/build/mercurial/setup.py", line 537, in <module>
        if re.search(r'-mno-fused-madd\b', cflags) is not None:
      File "/Users/alex_gaynor/.virtualenvs/tempenv-436158441eee/lib-python/2.7/re.py", line 142, in search
        return _compile(pattern, flags).search(string)
    TypeError: expected a readable buffer object
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "app_main.py", line 75, in run_toplevel

  File "app_main.py", line 581, in run_it

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

  File "/Users/alex_gaynor/.virtualenvs/tempenv-436158441eee/build/mercurial/setup.py", line 537, in <module>

    if re.search(r'-mno-fused-madd\b', cflags) is not None:

  File "/Users/alex_gaynor/.virtualenvs/tempenv-436158441eee/lib-python/2.7/re.py", line 142, in search

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

TypeError: expected a readable buffer object

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /Users/alex_gaynor/.virtualenvs/tempenv-436158441eee/build/mercurial
Storing debug log for failure in /Users/alex_gaynor/.pip/pip.log
```



--

Unsubscribe from issue emails for this repository.
https://bitbucket.org/pypy/pypy/issue/1808/unsubscribe/pypy-issue/fd6d07195d60828e5f5bfedd2237379f3f94fcc3/


More information about the pypy-issue mailing list