Skip to content

suppress_output isn't compatible with Windows, causing install-at-import to fail #96

@dap-biospec

Description

@dap-biospec

Fresh installation using:

pip install -U autoeis
... [success] 

followed by:

import numpy as np
import autoeis as ae
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\Python\Python312\Lib\site-packages\autoeis\__init__.py", line 1, in <module>
    from . import core, io, metrics, parser, utils, visualization  # noqa: F401, E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ....
  File "D:\Python\Python312\Lib\site-packages\juliapkg\install_julia.py", line 23, in log
    print(prefix, *args)
OSError: [WinError 1] Incorrect function
[juliapkg] Locating Julia ^1.6.1

 # Load test dataset shipped with AutoEIS
 Z, freq = ae.io.load_test_dataset()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'ae' is not defined

Same behavior with standalone or Microsoft store installation; with or without Julia pre-installed.

Recommendations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions