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

BUG: cannot import mtw because of "from ot import" #1

Closed
mathurinm opened this issue Feb 12, 2019 · 1 comment
Closed

BUG: cannot import mtw because of "from ot import" #1

mathurinm opened this issue Feb 12, 2019 · 1 comment

Comments

@mathurinm
Copy link

(mtw-env) ➜  mtw git:(master) ✗ python
Python 3.7.1 | packaged by conda-forge | (default, Nov 13 2018, 18:33:04) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from mtw import MTW
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/mathurin/workspace/mtw/mtw/__init__.py", line 1, in <module>
    from .mtw import MTW
  File "/home/mathurin/workspace/mtw/mtw/mtw.py", line 2, in <module>
    from .solver import solver
  File "/home/mathurin/workspace/mtw/mtw/solver.py", line 10, in <module>
    from .otfunctions import (barycenterkl, barycenterkl_img, barycenterkl_log,
  File "/home/mathurin/workspace/mtw/mtw/otfunctions.py", line 6, in <module>
    from ot import emd2
ModuleNotFoundError: No module named 'ot'

@hichamjanati 

What is ot supposed to be ?

@hichamjanati
Copy link
Owner

That's the pot package https://pot.readthedocs.io/en/stable/
This dependency should be removed actually

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