You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The packages (wheels) on PyPI for Windows all have files sizes of 2.0kb roughly 1% of the file sizes for Linux and Ubuntu.
As a consequence when the package is installed on Windows the libraries can't be loaded (see log).
To try working round this I forced install of libasd from source via pip install --no-binaries libasd libasd. Unfortunately the build failed (log), the relevant traceback is...
Building wheels for collected packages: libasd
Building wheel for libasd (pyproject.toml): started
Building wheel for libasd (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Building wheel for libasd (pyproject.toml) did not run successfully.
exit code: 1
[55 lines of output]
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\build_meta.py", line 413, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\build_meta.py", line 398, in _build_with_temp_dir
self.run_setup()
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 115, in <module>
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\__init__.py", line 108, in setup
return distutils.core.setup(**attrs)
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
Failed to build libasd
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 343, in run
self.run_command("build")
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line [31](https://github.com/AFM-SPM/TopoStats/actions/runs/4734066127/jobs/8403670171#step:4:32)8, in run_command
self.distribution.run_command(command)
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
self.run_command(cmd_name)
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run
_build_ext.run(self)
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line [34](https://github.com/AFM-SPM/TopoStats/actions/runs/4734066127/jobs/8403670171#step:4:35)5, in run
self.build_extensions()
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line [46](https://github.com/AFM-SPM/TopoStats/actions/runs/4734066127/jobs/8403670171#step:4:47)7, in build_extensions
self._build_extensions_serial()
File "C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-zh6wwx66\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line [49](https://github.com/AFM-SPM/TopoStats/actions/runs/4734066127/jobs/8403670171#step:4:50)3, in _build_extensions_serial
self.build_extension(ext)
File "<string>", line [83](https://github.com/AFM-SPM/TopoStats/actions/runs/4734066127/jobs/8403670171#step:4:84), in build_extension
NameError: name 'PLAT_TO_CMAKE' is not defined
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for libasd
ERROR: Could not build wheels for libasd, which is required to install pyproject.toml-based projects
I couldn't see any such errors in the recent log files of the CI runs you've made.
The build completes and libasd installs from source .tar.gz fine under Ubuntu (log) and OSX (log) (although not tested across on all versions of Python).
The text was updated successfully, but these errors were encountered:
The packages (wheels) on PyPI for Windows all have files sizes of 2.0kb roughly 1% of the file sizes for Linux and Ubuntu.
As a consequence when the package is installed on Windows the libraries can't be loaded (see log).
To try working round this I forced install of
libasd
from source viapip install --no-binaries libasd libasd
. Unfortunately the build failed (log), the relevant traceback is...I couldn't see any such errors in the recent log files of the CI runs you've made.
The build completes and
libasd
installs from source.tar.gz
fine under Ubuntu (log) and OSX (log) (although not tested across on all versions of Python).The text was updated successfully, but these errors were encountered: