LAL / trackml-library

Utilities for trackML challenge participants, provided by the organizers
MIT License
166 stars 74 forks source link

ModuleNotFoundError: No module named 'trackml.dataset' #17

Closed aspiringguru closed 6 years ago

aspiringguru commented 6 years ago

https://www.kaggle.com/mikhailhushchyn/dbscan-benchmark

previous issue for similar error message closed. running this directly on python not kaggle or jupyter notebooks.

$ python --version Python 3.6.4 :: Anaconda, Inc.

pip install trackml done pip freeze | grep trackml returns trackml==0.1.12

print ("trackml.version:", trackml.version) trackml.version: 0.1.0

which is odd, was expecting these two methods of checking version to match.

from trackml.dataset import load_event returns ModuleNotFoundError: No module named 'trackml.dataset'

ideas?

aspiringguru commented 6 years ago

my bad: install from git repo and it works.

pip install --user git+https://github.com/LAL/trackml-library

oddly, now print version does not work, but that's non-critical

print ("trackml.version:", trackml.version) AttributeError: module 'trackml' has no attribute 'version'