PerformanceEstimation / PEPit

PEPit is a package enabling computer-assisted worst-case analyses of first-order optimization methods.
https://pepit.readthedocs.io/en/latest/
MIT License
79 stars 12 forks source link

issue with PIP #93

Closed AdrienTaylor closed 9 months ago

AdrienTaylor commented 9 months ago

The pip install is broken (local tests + via google collab). When "import PEPit":

  1 ## general imports
  2 import numpy as np

----> 3 from PEPit import PEP

File ~/anaconda3/lib/python3.11/site-packages/PEPit/init.py:1 ----> 1 from .block_partition import BlockPartition 2 from .constraint import Constraint 3 from .expression import Expression, null_expression

File ~/anaconda3/lib/python3.11/site-packages/PEPit/block_partition.py:1 ----> 1 from PEPit.point import Point, null_point 2 from PEPit.constraint import Constraint 5 class BlockPartition(object):

File ~/anaconda3/lib/python3.11/site-packages/PEPit/point.py:3 1 import numpy as np ----> 3 from PEPit.expression import Expression 5 from PEPit.tools.dict_operations import merge_dict, prune_dict, multiply_dicts 8 class Point(object):

File ~/anaconda3/lib/python3.11/site-packages/PEPit/expression.py:6 2 import numpy as np 4 from PEPit.constraint import Constraint ----> 6 from PEPit.tools.dict_operations import merge_dict, prune_dict 9 class Expression(object): 10 """ 11 An :class:Expression is a linear combination of 12 functions values, (...) 47 48 """

ModuleNotFoundError: No module named 'PEPit.tools'