4 ms·
> I don't remember needing a package that I couldn't install with pip. I don't think there's even a (reasonable/non-contrived) way that a package could be avai
by OJFord 4y ago
> I don't remember needing a package that I couldn't install with pip.
I don't think there's even a (reasonable/non-contrived) way that a package could be available to you that pip wouldn't install?
(Or do you mean that you don't remember desiring a library functionality that wasn't available in some package?)
- vonseel 4y agoIt's rare, but I've run into packages that don't install easily with pip, due to not having binaries for a specific Python version + platform (something like this one where the combinations of Python+platform+MacOS version are limited, for example - https://pypi.org/project/virgil-crypto-lib/#files https://pypi.org/project/virgil-crypto-lib/#files ). Also there are probably tons of "packages" which were never published officially to pypi but exist on github, that people have made public but decided not to maintain.
- OJFord 4y ago> Also there are probably tons of "packages" which were never published officially to pypi but exist on github, I'm doing this from memory, it's hardly a frequent thing for me, but err something like: pip install -e git+https://github.com/vonseel/...
- heavyset_go 4y agoSome projects are distributed on PyPI as source code, and sometimes that source code has C modules that need to be compiled. The same can be true with packages that ship with Rust modules. Both might require you to have compiler toolchains installed.
- pid-1 4y agoAlso some compiled code might need to be statically linked to other deps. A practical example: on Windows, try 'pip install tokenizers'.
- dwattttt 4y agoI was curious what would go wrong, this just worked for me: py -3 -m pip install tokenizers ... Building wheel for tokenizers (pyproject.toml) ... done Created wheel for tokenizers: filename=tokenizers-0.13.2-cp311-cp311-win_amd64.whl
- heavyset_go 4y agoLooks like if you try to install it via source you might need a compiler/linker toolchain installed for its Rust bindings.