Skip to content

Colab import pyepo error #45

Description

@ZedongPeng

I attempted to run the jupyter-notebook example using Colab, but encountered an error during import pyepo. Could you please advise on how to resolve this issue?

Thank you in advance!

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-16-9aebf8cb754e>](https://localhost:8080/#) in <cell line: 3>()
      1 import time
      2 import random
----> 3 import pyepo
      4 import torch
      5 from torch import nn

6 frames
[/usr/local/lib/python3.10/dist-packages/pyomo/common/dependencies.py](https://localhost:8080/#) in find_spec(self, fullname, path, target)
    525         # the module is coming from: file system, registry, etc.)
    526         for finder in sys.meta_path[sys.meta_path.index(self) + 1 :]:
--> 527             spec = finder.find_spec(fullname, path, target)
    528             if spec is not None:
    529                 break

AttributeError: '_PyDrive2ImportHook' object has no attribute 'find_spec'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions