Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Can't run bpython: AttributeError: module 'xdg' has no attribute '__version__' #1001

Copy link
Copy link
@lulunac27a

Description

@lulunac27a
Issue body actions

When I run the bpython command, I get an error message saying AttributeError: module 'xdg' has no attribute '__version__'. Even when I uninstall and install bpython again, it still gets the same error, and also gets the same error when I upgrade xdg and pyxdg to the latest version.

Traceback (most recent call last):
  File "/Users/lulunac/opt/anaconda3/bin/bpython", line 8, in <module>
    sys.exit(main())
  File "/Users/lulunac/opt/anaconda3/lib/python3.9/site-packages/bpython/curtsies.py", line 204, in main
    config, options, exec_args = bpargs.parse(
  File "/Users/lulunac/opt/anaconda3/lib/python3.9/site-packages/bpython/args.py", line 215, in parse
    logger.info("pyxdg: %s", xdg.__version__)  # type: ignore
AttributeError: module 'xdg' has no attribute '__version__'
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.