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.

After installing in a virtualenv, dsub won’t run.

(dsub_libs) pear:~ davidgibbs$ dsub
Traceback (most recent call last):
  File "/Users/davidgibbs/dsub_libs/bin/dsub", line 7, in <module>
    from dsub.commands.dsub import main
  File "/Users/davidgibbs/dsub_libs/lib/python3.6/site-packages/dsub/__init__.py", line 15, in <module>
    from _dsub_version import DSUB_VERSION as __version__
ModuleNotFoundError: No module named '_dsub_version'

Seems related to this: stackoverflow

all imports are relative: from _version import version

instead of explicit: from ._version import version

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mbookmancommented, Nov 28, 2017

Thanks for filing the issue David. Python3 is something we would like to support. For now, Python 2 is required and likely Python 2.7. We should add a python_requires flag to setup.py until we get Python 3 support.

0reactions
wnojopracommented, Feb 6, 2020

Python3 has been supported for a while now, and we will fully sunset Python2 sometime soon. Closing out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Status of Python Versions - Python Developer's Guide
Supported Versions#. Dates shown in italic are scheduled and can be adjusted. Branch. Schedule. Status. First release. End of life. Release manager. main....
Read more >
Python - endoflife.date
Release Released Security Support 3.11 2 months ago. (24 Oct 2022) Ends in 4 years and 10 months. (24 Oct 2... 3.10 1 year and...
Read more >
Python 3 Support — Click Documentation (7.x)
Python 3 Support ¶. Click supports Python 3, but like all other command line utility libraries, it suffers from the Unicode text model...
Read more >
Is there official guide for Python 3.x release lifecycle?
x gets support, backports, etc.? I couldn't find any information about Python release lifecycle on Python's home page or via search engines.
Read more >
Welcome! — Supporting Python 3: An in-depth guide
Supporting Python 3 doesn't have to be daunting. This book guides you through the process of adding Python 3 support, from choosing a...
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