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

No module named "spodernet.utils" #33

Closed
aayushee opened this issue Nov 26, 2018 · 5 comments
Closed

No module named "spodernet.utils" #33

aayushee opened this issue Nov 26, 2018 · 5 comments

Comments

@aayushee
Copy link

Hello

I have installed spodernet as mentioned in this issue: https://github.com/TimDettmers/ConvE/issues/13 But while running the model, I still get an error "No module named spodernet.utils". I am using pytorch 0.4.1.post2. Can you please suggest how to remove this error?

Thanks & Regards
Aayushee

@aayushee
Copy link
Author

I did a fresh install of everything and it works now.

@ElliottYan
Copy link

Hi, I got the same problem. How did you fix that?

@TimDettmers
Copy link
Owner

If you run pip install -r requirements.txt it should install this dependency.

Otherwise, you can clone the code manually and install it:

git clone https://github.com/TimDettmers/spodernet.git && cd spodernet && python setup.py install

should work if you have anaconda installed.

@ElliottYan
Copy link

Thanks for your immediate reply, the problem is fixed for me.

@utkarshani
Copy link

Hi Tim, I am using pip install -r requirements.txt, I get the error
Obtaining spodernet from git+git://github.com/TimDettmers/spodernet.git#egg=spodernet (from -r requirements.txt (line 2))
Updating ./src/spodernet clone
Running command git fetch -q
fatal: Expected git repo version <= 0, found 1
WARNING: Discarding git+git://github.com/TimDettmers/spodernet.git#egg=spodernet. Command errored out with exit status 128: git fetch -q Check the logs for ful
l command output.
Obtaining bashmagic from git+git://github.com/TimDettmers/bashmagic.git#egg=bashmagic (from -r requirements.txt (line 7))
Updating ./src/bashmagic clone
Running command git fetch -q
fatal: Expected git repo version <= 0, found 1
WARNING: Discarding git+git://github.com/TimDettmers/bashmagic.git#egg=bashmagic. Command errored out with exit status 128: git fetch -q Check the logs for ful
l command output.
ERROR: Could not find a version that satisfies the requirement spodernet (unavailable) (from versions: none)
ERROR: No matching distribution found for spodernet (unavailable)

When running git fetch -q I get the following
fatal: Not a git repository (or any parent up to mount point /work)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

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

4 participants