Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError while importing AxClient #391

Closed
mstfbl opened this issue Sep 30, 2020 · 2 comments
Closed

ModuleNotFoundError while importing AxClient #391

mstfbl opened this issue Sep 30, 2020 · 2 comments

Comments

@mstfbl
Copy link

mstfbl commented Sep 30, 2020

Similar to Issue #387, we are seeing ModuleNotFoundErrors while trying to import AxClient with Ax v0.1.15:

from ax.service.ax_client import AxClient
c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\ax\__init__.py:31: in <module>
    from ax.modelbridge import Models
c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\ax\modelbridge\__init__.py:10: in <module>
    from ax.modelbridge.factory import (
c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\ax\modelbridge\factory.py:22: in <module>
    from ax.modelbridge.registry import (
c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\ax\modelbridge\registry.py:48: in <module>
    from ax.models.torch.botorch_modular.model import BoTorchModel
E   ModuleNotFoundError: No module named 'ax.models.torch.botorch_modular'

This error is occurring on Windows, MacOS, and Ubuntu Linux. BoTorch v0.3.1 is already installed.

@stevemandala
Copy link
Contributor

Hey @mstfbl, this is related to #387, we've got a fix incoming and will push a small release soon with the fix

@stevemandala
Copy link
Contributor

(Closing as duplicate of #387 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants