indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.4k stars 234 forks source link

Can't install pip with pyoxy #647

Open devenjarvis opened 1 year ago

devenjarvis commented 1 year ago

First of all, this is a very exciting project, thank you for building and sharing!

I was trying out pyoxy as a single file Python distribution but when I try to install pip with it using the officially recommended ensurepip or get-pip.py methods I get the error about missing "file". I've seen issue #69 but was not able to identify a workaround to get pip to play nicely. I wanted to open a distinct issue since I know pyoxidizer seems able to use pip to see if I was overlooking something to get pyoxy to play nice with the installers.

Thanks for any help you can offer!

devenjarvis commented 1 year ago

I was able to get this working using pyoxidizer to build a python interpreter using the filesystem-relative resources_location. It's not as clean as the single file distribution of pyoxy, so I'd still be curious if there is a workaround, but if not then this can be closed.