[pypy-dev] ImportError, No module named pycparser
Yicong Huang
hengha.mao at gmail.com
Fri May 22 05:55:08 CEST 2015
Hi,
I built pypy with some modules cut off, but met the errors as below for
executing python scripts:
debug: OperationError:
debug: operror-type: ImportError
debug: operror-value: No module named pycparser
Which modules do pycparser depends on?
I found the module might in /lib_pypy/cffi/_pycparser. But I did not
exclude cffi module, and it did not have any problems of importing cffi.
The modules I cut of are:
ssl
bz2
crypt
_csv
_minimal_curse
fcntl
_io
mmap
parser
pyexpat
select
_socket
_ssl
zlib
pwd
And the list of used modules for the build:
[usemodules]
__pypy__ = True
_ast = True
_cffi_backend = True
_codecs = True
_collections = True
_continuation = True
_hashlib = True
_locale = True
_lsprof = True
_md5 = True
_minimal_curses = True
_multibytecodec = True
_multiprocessing = True
_pickle_support = True
_pypyjson = True
_random = True
_rawffi = True
_sha = True
_sre = True
_testing = True
_weakref = True
array = True
binascii = True
cStringIO = True
cmath = True
cppyy = True
cpyext = True
errno = True
gc = True
imp = True
marshal = True
math = True
micronumpy = True
operator = True
signal = True
struct = True
symbol = True
termios = True
thread = True
time = True
token = True
unicodedata = True
zipimport = True
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20150522/31ff9eec/attachment.html>
More information about the pypy-dev
mailing list