oracle / graalpython

A Python 3 implementation built on GraalVM
Other
1.17k stars 101 forks source link

AttributeError: module 'fcntl' has no attribute 'ioctl' #376

Closed wmefanit closed 2 months ago

wmefanit commented 6 months ago

Optuna is being tried. Is there any way to solve this problem when using data storage?

Exception in thread "main" AttributeError: module 'fcntl' has no attribute 'ioctl'
    at <python> _init_alembic(Unknown)
    at <python> __init__(Unknown)
    at <python> __init__(Unknown)
    at <python> get_storage(Unknown)
    at <python> create_study(Unknown)
    at <python> converter_wrapper(Unknown)
    at <python> <module>(Unknown)
    at org.graalvm.polyglot.Context.eval(Context.java:428)

graalvm-jdk-21.0.2+13.1 graalpy-23.1.2-linux-amd64

msimacek commented 5 months ago

Hi @wmefanit, GraalPy currently doesn't implement ioctl. I'll add it to our to do list.