Closed ClaudMor closed 3 weeks ago
Interesting. The package is definitely available on PyPI and here on GitHub, but since it is a native extension, it is only set to install automatically as a dependency if we have it pre-built for the specific combination of Python abi version, operating system/libc variant and CPU architecture that you are using. Here is a list of environment that we have it built for. I can see that we have a combination for AMD64 on Windows with CPython8 to 12.
I think what's happening here is that the logic we use to detect if we should install it as a dependency is faulty on windows. Here is how the dependency is defined at the moment:
"bliss-bind >= 0.2.0 ; (sys_platform == 'darwin' or ( (platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'amd64' and sys_platform == 'win32') )) and python_version >= '3.8'"
Can you please test what are the values that this excerpt prints?
$ python -c "import sys, platform; print(sys.platform, platform.machine())"
Also, while we try to resolve this, you can try pip installing bliss_bind
manually and running the test again. If it fails that gives another data point.
$ pip install -U bliss-bind
Hi! Additionally:
pip list | grep bliss-bind
conda list
Fix pushed in bac41b4 and will be in the next release. Seems to be correctly downloading bliss-bind
as a dependency on x64 Windows GitHub runners.
@ClaudMor Until the next release you can manually install bliss-bind
(pip install -U bliss-bind
) as a workaround.
I confirm that the error above no longer happens after your fix.
@arashbm if it still useful, here's what your command returns:
PS C:\Users\claud> python -c "import sys, platform; print(sys.platform, platform.machine())"
win32 AMD64
I couldn't find the bliss_bind
package on PyPi because on the documentation it is listed as bliss_blind
(link).
Thanks for verifying. This also confirms that we fixed the correct issue
I couldn't find the bliss_bind package on PyPi because on the documentation it is listed as bliss_blind (link).
Understandable. As far as Python is concerned, both options should point to the same thing. You should be able to pip install the underscore one and it should still work. PyPI normalizes names to the hyphen version and that's what is used in the package name and anywhere we refer to the package.
But since you can't easily import a module with a hyphen in it, in code we used the underscore version to refer to the module offered by that package.
At least that has been the goal. I'll check to make sure if it is consistent.
Dear authors,
While running the tutorial on automorphisms, I got the error:
I understand that the
bliss-blind
package is needed. Anyway, I could not find it online (also, it should come installed as a dependency on Windows x64 machines, according to the documentation).