Open glensc opened 6 years ago
seems to covered by this issue: https://github.com/wolever/pip2pi/issues/70
perhaps pip install --download
should be replaced with pip download
to solve this?
Failed to extract tesseract version from executable: [Errno 2] No such file or directory: 'tesseract'
From this line, the error seems to be in the package itself than in pip2pi.
@glensc Can you please attach complete error log?
@safiyat the exact error message is irrelevant. please read the bugreport again what i requested.
the symptom is that the package names given are actually attempted to be installed. thus includes build and compile steps. those must be omitted. these are useless and break process because non-pure python packages will fail if -dev
packages missing.
I don't think pip2pi
actually installs the packages. It extracts the requested package and then after reading its requirements, downloads those required packages.
python install --download
was deprecated, and has been removed in 10.0.0 and above. It only downloads the required packages, and does not install them.
I am stumped though as to why it would want to run x86_64-linux-gnu-gcc
.
the project readme does not indicate any way that underneath the implementation actually builds and installs the packages.
this means for the command to succeed, i need to install various
-dev
packagesfor example i was looking for this project, to speed up docker builds, using multistage builds.
this fails with