question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot import name 'get_version' from 'rosetta'

See original GitHub issue
  • Which version of Django are you using?: 2.1.2
  • Which version of django-rosetta are you using?: 0.9.0

When I run django I get this error message

  File "C:\Users\georg\AppData\Local\Programs\Python\Python37\lib\site-packages\rosetta\urls.py", line 8, in <module>
    from . import views
  File "C:\Users\georg\AppData\Local\Programs\Python\Python37\lib\site-packages\rosetta\views.py", line 32, in <module>
    from rosetta import get_version as get_rosetta_version
ImportError: cannot import name 'get_version' from 'rosetta'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
mbicommented, Feb 28, 2019

Could you please test the latest HEAD?

pip uninstall django-rosetta
pip install git+https://github.com/mbi/django-rosetta.git
1reaction
mbicommented, Feb 28, 2019

Ah fantastic, thanks for testing! I’ll release 0.9.2 shortly

Read more comments on GitHub >

github_iconTop Results From Across the Web

[wsgi:error] ImportError: cannot import name 'get_version ...
After many hours of frustration it was all solved by creating a new virtual environment owned by the user ubuntu.
Read more >
Error when trying to import 'get_secstruct' - RosettaCommons
1 from pyrosetta.toolbox import get_secstruct ImportError: cannot import name get_secstruct. It looks like 'get_secstruct' is not contained ...
Read more >
getversion
Get the version number of any python module or package, reliably. ... Do you need a reliable way to get a version number...
Read more >
cannot import name 'Schema' from 'pydantic' - Prodigy Support
Hi, Im going to load my custom prodigy web-app using docker. However, I got this error: the version of installed pydantic, spacy and...
Read more >
How to Fix ImportError: Cannot Import Name in Python - Rollbar
The Python ImportError: cannot import name error occurs when an imported class is not accessible or is in a circular dependency.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found