angr/pypcode

Unable to install PyPcode 1.1.0

Closed this issue · 6 comments

Description

With the new pip release, using the package raises an error:

(tmp-900339b97de62dc) ➜ /tmp python -c 'import pypcode'                         
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "./tmp-900339b97de62dc/lib/python3.10/site-packages/pypcode/__init__.py", line 13, in <module>
    from ._csleigh import ffi
ModuleNotFoundError: No module named 'pypcode._csleigh'

Steps to reproduce the bug

  1. Create a virtualenv for a fresh Python version (tested with 3.9, 3.10)
$ mktmpenv -p $(which python3.10)
  1. pip install 'pypcode'
  2. python -c 'import pypcode'

However, the same steps with PyPcode 1.0.7 works:

$ pip install 'pypcode==1.0.7' 
$ python -c 'import pypcode'  && echo "ok"

Environment

Environment:

  • Linux (Debian Stable)
  • Python 3.{9,10}
  • PyPcode: 1.1.0

Additional context

No response

First detected by Quokka CI ( link)

I'm seeing this one as well.

I will fix it asap

Issue should be fixed with new release v1.1.1 now on PyPI. Thanks for reporting

Thanks a lot for the fix!