Something error with the standard library of package python/[email protected]
#5251
Open
Description
Describe the bug
I am trying to run a python application which uses module couchdb
with the module errno
as the dependency. When I try to run the package locally, it turns out the error AttributeError: module 'errno' has no attribute 'EHOSTDOWN'. Did you mean: 'ENETDOWN'?
Is there something wrong with the standard library of package python/[email protected]
?
$ wasmer -vV; rustc -vV
wasmer 5.0.0 (49b1fcc 2024-10-29)
binary: wasmer-cli
commit-hash: 49b1fcc98e739b4cf5b9d6200397a472d9233de9
commit-date: 2024-10-29
host: x86_64-unknown-linux-gnu
compiler: singlepass,cranelift,llvm
c_api backend:
rustc 1.76.0 (07dca489a 2024-02-04)
binary: rustc
commit-hash: 07dca489ac2d933c78d3c5158e3f43beefeb02ce
commit-date: 2024-02-04
host: x86_64-unknown-linux-gnu
release: 1.76.0
LLVM version: 17.0.6
Steps to reproduce
- run the command
wasmer run python/[email protected]
to enter the interactive shell. - run the command
import errno
to import the module - run the command
print(errno.EHOSTDOWN)
to get the error message
Expected behavior
No error.
Actual behavior
The output will be as follow:
$ wasmer run python/[email protected]
Type "help", "copyright", "credits" or "license" for more information.
>>> import errno
>>> print(errno.EHOSTDOWN)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'errno' has no attribute 'EHOSTDOWN'. Did you mean: 'ENETDOWN'?
>>>
Additional context
None.
Metadata
Metadata
Assignees
Labels
No labels