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

Indentation error when importing the library (hp v0.0.3) #1

Open
matthewfarant opened this issue May 31, 2022 · 0 comments
Open

Indentation error when importing the library (hp v0.0.3) #1

matthewfarant opened this issue May 31, 2022 · 0 comments

Comments

@matthewfarant
Copy link

Hi there,
I've just installed the 0.0.3 version of the library using pip install hp. I'm about to import the library (import hp), but it returned an error as follows:

Traceback (most recent call last):

  File ~/fyp_venv/lib/python3.8/site-packages/IPython/core/interactiveshell.py:3397 in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  Input In [39] in <cell line: 1>
    import hp

  File ~/fyp_venv/lib/python3.8/site-packages/hp/__init__.py:1 in <module>
    from .params import HyperParams, Choice, Range

  File ~/fyp_venv/lib/python3.8/site-packages/hp/params.py:126
    return decorated
    ^
IndentationError: expected an indented block

Is there anything that I should do? Thanks in advance.

matthewfarant added a commit to matthewfarant/hp that referenced this issue May 31, 2022
referring to this issue: michalwols#1
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

1 participant