Open languitar opened 7 years ago
Me too!
so am I
Same goes for me!
This should be fixed. Please verify.
Now I get this error:
TypeError Traceback (most recent call last)
If I use "pip install mord" then I will get this error still. Version 0.6
If I run "pip install -U 'git+https://github.com/fabianp/mord'" then I do not get this error. Version 0.6.
Does it make sense to bump the version # so it is clear that the version from github is not matching what is found with pip install?
change the path of the file where it can access the mord.datasets.base
pull requests welcome
On Sun, Dec 23, 2018 at 12:49 AM kengentenerende notifications@github.com wrote:
change the path of the file where it can access the mord.datasets.base
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fabianp/mord/issues/4#issuecomment-449616203, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQ8hwKUELwucYgJe_xLkgQMktNXJCjiks5u7xl4gaJpZM4NqR7Y .
I solved this problem, this is the way: First, download this github repo alone and modify the document "mord" to "mords". Make sure you are in a python IDE not terminal. Second, find mord-master/mords/datasets/base.py in your computer and save words like "/home/zys/Documents/works/githubs/mord-master/mords/datasets/", you know what I mean. Copy these to base.py line 32 and replace "file" with them, we don' t need whatever file! Then execute all base.py so get funtion load_housing. Lastly, turn your work path to your examples/houring.py and comment out line 2. So be it!
Alternatively, I modify line 2 to "from mords.datasets.tests.base import load_housing" attention this mords but still ModuleNotFoundError: No module named 'mords.datasets.tests.base'. I think there maybe better ways to realize this.
In project root dir cp examples/housing.py . python housing.py
After
This happens:
Seems the datasets package is not installed.