Open hzhangxyz opened 11 months ago
Could you try pyodide auditwheel copy
not pyodide auditwheel repair
? Repair command is quite broken (I should remove it from the docs...)
I try to use pyodide autitwheel copy
without any other change to repair the wheel, but when importing, I get the error as following:
PythonError: Traceback (most recent call last):
File "<exec>", line 7, in main
File "/lib/python3.11/site-packages/micropip/_commands/install.py", line 176, in install
await asyncio.gather(*wheel_promises)
File "/lib/python3.11/site-packages/micropip/transaction.py", line 168, in install
await self.load_libraries(target)
File "/lib/python3.11/site-packages/micropip/transaction.py", line 159, in load_libraries
await asyncio.gather(*map(lambda dynlib: loadDynlib(dynlib, False), dynlibs))
pyodide.ffi.JsException: Error: Didn't expect to load any more file_packager files!
It seems it cannot find libopenblas.so when loading.
What happens if you try pyodide.loadPackage
instead of micropip.install
? micropip.install
does not search .libs
directory when loading a package (needs to be fixed).
What happens if you try
pyodide.loadPackage
instead ofmicropip.install
?micropip.install
does not search.libs
directory when loading a package (needs to be fixed).
Ohh, thanks very much, pyodide.loadPackage
works well when loading. But my package depends on openblas and numpy. openblas is embeded, and numpy is a python dependency. micropip.install
can resolve numpy
but not openblas
, pyodide.loadPackage
can resolve openblas
but not numpy
.
I see. I'll try to improve micropip when I have bandwidth. Until then, sorry but please manually load the necessary dependencies.
Hello, I am using auditwheel to repair a wheel of my package. But when executing the program, an error occur as following:
I am building my wheel by the following script
I check the output wheel, unzip it and it has
Where
wasm-objdump -x TAT.cpython-311-wasm32-emscripten.so
givesand
wasm-objdump -x pytat.libs/libopenblas.so
givesIs there any one know why the program cannot resolves symbol
dgemm_
?