Closed jakirkham closed 6 years ago
The intended way to install pprofile is via running setup.py
using the target python version, which when run on python3 invokes 2to3
, which should replace all incompatibilities.
This said, python2.7 has io.StringIO
, so it would be one thing less to replace by 2to3, so I will likely do this replacement.
This said, python2.7 has
io.StringIO
, so it would be one thing less to replace by 2to3, so I will likely do this replacement.
Implemented in b597894f7fb1dc342dc6df0f1b430b0eb9861487 .
...when run on python3 invokes
2to3
...
Huh missed that. Thanks for pointing that out.
Appears that
zpprofile
is importingcStringIO
, which does not exist as named on Python 3.ref: https://circleci.com/gh/conda-forge/pprofile-feedstock/10 ref: https://github.com/vpelletier/pprofile/blob/1.11.0/zpprofile.py#L69 ref: https://stackoverflow.com/a/18284900