-
Notifications
You must be signed in to change notification settings - Fork 538
Closed
Labels
Description
Describe the bug
We are trying to contribute a new feature called DEMD to POT. We have our code ready under ot folder and have two examples embedded under examples/demd. But when we start to run make build under docs, we keep getting error
* KeyError: 'ot'
* ModuleNotFoundError: No module named 'ot.lp.emd_wrap'
I'm wondering if anyone has similar issue or knows how to solve this. I really appreciate any help.
We also tried to manage packages under conda virtual environment to make all version and paths aligned. But it didn't work either.
To Reproduce
Steps to reproduce the behavior:
- Please check my forked POT with new feature at https://github.com/x12hengyu/POT/tree/demd
make build,make installat root to build and install new package locallycd docs,make htmlget error
Screenshots
Code sample
This is a build error.
Expected behavior
Expected to build html documentation so we can verify our new code documentation.
Environment (please complete the following information):
- OS: Linux
- Python version: 3.8
- How was POT installed (source,
pip,conda): pip - Build command you used (if compiling from source):
make build,make install,make html - Only for GPU related bugs:
- CUDA version: N/A
- GPU models and configuration: N/A
- Any other relevant information: N/A
Output of the following code snippet:
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import numpy; print("NumPy", numpy.__version__)
import scipy; print("SciPy", scipy.__version__)
import ot; print("POT", ot.__version__)
