-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install via pip on windows #10
Comments
This is not a Windows exclusive issue, the Github 0.9.1 release is correct, the 0.9.1 release on PyPi is broken. So is 0.9.2, but that does not have a Github release to compare to.
PKGBUILD (for pacman) that I tested on pkgname=python-jxlpy
_reponame=jxlpy
pkgver=0.9.2
pkgrel=1
pkgdesc="Module for reading and writing support for JPEG XL directly from Python"
url="https://pypi.org/project/jxlpy/"
arch=(any)
license=('GPL3')
depends=('python' 'libjxl')
makedepends=('python-setuptools' 'cython' 'git')
source=("https://pypi.org/packages/source/${_reponame::1}/${_reponame}/${_reponame}-$pkgver.tar.gz")
#source=("$pkgname-$pkgver.tar.gz::https://github.com/olokelo/jxlpy/archive/${pkgver}.tar.gz")
sha256sums=('26b5c6a85c492392008b0f80763cd90ba48540ade98b1e837ce800a551b2b844')
build() {
cd "$srcdir/${_reponame}-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/${_reponame}-$pkgver"
python setup.py install --root="$pkgdir"
} |
I have the same problem on Windows. Any estimation on when this will be fixed or any workarounds? |
It shows the same problem on MacOS as it's building from source. I the binaries work, but not the source ones? |
It seems that
works for me |
The freshly released 0.9.3 github version is now correctly packaged. PyPi seems to ship the _jxl.cpp still instead of _jxl.pyx, but So I suppose this can be closed if Windows users can also confirm. |
Tested and works great in all below settings:
Could not work even build loaclly:
|
Hi, thanks for testing on all those platforms. If you have time you could also try building from master branch source modifying Also I'm glad you had success building it on Windows. |
I use PDM for my package manager so maybe thanks to pdm solved that problem for me? Also, libjxl has updated and wish to see a minor version update for jxlpy. Best wishes. |
jxlpy 0.9.4 now ships with libjxl 0.10.1 and possibly fixed source distribution. You can try it :) |
Hi, I tried to install jxlpy on windows using
pip install jxlpy
and got this error:ValueError: '_jxlpy/_jxl.pyx' doesn't match any files
The text was updated successfully, but these errors were encountered: