Skip to content

A new bug for loading modules #12

@HelloWorldLTY

Description

@HelloWorldLTY

Hi, thanks for your great work. I found that I cannot load the module:

Traceback (most recent call last):

  File /gpfs/gibbs/project/zhao/tl688/conda_envs/cpsc488/lib/python3.9/site-packages/IPython/core/interactiveshell.py:3548 in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  Cell In[2], line 9
    from src.interface import UnitedNet

  File /gpfs/gibbs/pi/zhao/tl688/UnitedNet/notebooks/../src/interface.py:11
    from src.configs import *

  File /gpfs/gibbs/pi/zhao/tl688/UnitedNet/notebooks/../src/configs/__init__.py:7
    exec(f"from src.configs.{cur_f} import *")

  File <string>:1
    from src.configs./gpfs/gibbs/pi/zhao/tl688/UnitedNet/notebooks/../src/configs/patchseq import *
                     ^
SyntaxError: invalid syntax

It seems that the current path did not work. How can I modify it to address this bug? Thanks.

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