Skip to content

ModuleNotFoundError: No module named 'looseversion' #309

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

Closed
NefixEstrada opened this issue Nov 15, 2023 · 1 comment · Fixed by #312
Closed

ModuleNotFoundError: No module named 'looseversion' #309

NefixEstrada opened this issue Nov 15, 2023 · 1 comment · Fixed by #312
Labels
bug Something isn't working not qualified The issue is not checked yet by the owners urgent The resolution is urgent

Comments

@NefixEstrada
Copy link

NefixEstrada commented Nov 15, 2023

Describe the bug
Looseversion doesn't get installed through pip

To Reproduce
Steps to reproduce the behavior:

  1. Have Python 3.9
  2. Install through pip rethinkdb (pip install rethinkdb)
  3. Do anything

Expected behavior
It should work

Screenshots

Traceback (most recent call last):
  File \"/usr/local/bin/rethinkdb-repl\", line 5, in <module>
    from rethinkdb.__main__ import startInterpreter
  File \"/usr/local/lib/python3.9/dist-packages/rethi
nkdb/__init__.py\", line 93, in <module>
    r = RethinkDB()
  File \"/usr/local/lib/python3.9/dist-packages/rethinkdb/__init__.py\", line 32, in __init__
    from rethinkdb import (
  File \"/usr/local/lib/python3.9/dist-packages/rethi
nkdb/_dump.py\", line 35, in <module>
    from rethinkdb import _export, utils_common
  File \"/usr/local/lib/python3.9/dist-packages/rethinkdb/_export.py\", line 40, in <module>
    from rethinkdb import errors, query, utils_common
  F
ile \"/usr/local/lib/python3.9/dist-packages/rethinkdb/utils_common.py\", line 22, in <module>
    from looseversion import LooseVersion
ModuleNotFoundError: No module named 'looseversion'

System info

  • OS: Debian GNU/Linux 11 (bullseye)
  • RethinkDB Version: 2.4.2
  • Python version: 3.9.2
  • Pip version: 20.3.4
@NefixEstrada NefixEstrada added bug Something isn't working not qualified The issue is not checked yet by the owners labels Nov 15, 2023
@lsabi
Copy link
Contributor

lsabi commented Nov 18, 2023

Thanks for reporting the bug.

While we're investigating, a temporary solution is to manually install looseversion with the command pip install looseversion (pip3 install looseversion)

@lsabi lsabi added the urgent The resolution is urgent label Nov 18, 2023
joverlee521 added a commit to nextstrain/fauna that referenced this issue Nov 22, 2023
rethinkdb v2.4.10 is broken because it did not include the newly added
`looseversion` package to their setup.py.

rethinkdb/rethinkdb-python#309
@lsabi lsabi mentioned this issue Dec 1, 2023
@lsabi lsabi closed this as completed in #312 Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not qualified The issue is not checked yet by the owners urgent The resolution is urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants