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

hivemind-server unavailable when installing from PyPI #159

Closed
mryab opened this issue Feb 28, 2021 · 0 comments · Fixed by #173
Closed

hivemind-server unavailable when installing from PyPI #159

mryab opened this issue Feb 28, 2021 · 0 comments · Fixed by #173
Assignees
Labels
bug Something isn't working server

Comments

@mryab
Copy link
Member

mryab commented Feb 28, 2021

Describe the bug
When installing hivemind from PyPI, we can't use the hivemind-server CLI command, as it tries to import from the folder scripts:

$ hivemind-server
Traceback (most recent call last):
  File "/home/mryab/miniconda3/envs/hivemind_env_test/bin/hivemind-server", line 5, in <module>
    from scripts.run_server import main
ModuleNotFoundError: No module named 'scripts'

We should probably change the directory name the way it's done in transformers or fairseq.

To Reproduce
Install hivemind from PyPI and run hivemind-server

Environment

  • Python 3.8.8
  • hivemind 0.9.0
@mryab mryab added the bug Something isn't working label Feb 28, 2021
@mryab mryab self-assigned this Feb 28, 2021
@mryab mryab closed this as completed in #173 Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants