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

AttributeError: module 'platform' has no attribute 'linux_distribution' #84

Open
vassdeniss opened this issue Jan 22, 2022 · 1 comment

Comments

@vassdeniss
Copy link

I'm getting this error when trying to launch on Debian 11
Traceback (most recent call last): File "/usr/local/bin/drc-sim-backend", line 4, in <module> __import__('pkg_resources').run_script('drcsim==2.0', 'drc-sim-backend') File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 651, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1448, in run_script exec(code, namespace, namespace) File "/usr/local/lib/python3.9/dist-packages/drcsim-2.0-py3.9.egg/EGG-INFO/scripts/drc-sim-backend", line 8, in <module> from src.server.ui.cli.cli_main import CliMain File "/usr/local/lib/python3.9/dist-packages/drcsim-2.0-py3.9.egg/src/server/ui/cli/cli_main.py", line 6, in <module> from src.server.data.resource import Resource File "/usr/local/lib/python3.9/dist-packages/drcsim-2.0-py3.9.egg/src/server/data/resource.py", line 6, in <module> from src.server.util.logging.logger import Logger File "/usr/local/lib/python3.9/dist-packages/drcsim-2.0-py3.9.egg/src/server/util/logging/logger.py", line 6, in <module> from src.server.util.os_util import OsUtil File "/usr/local/lib/python3.9/dist-packages/drcsim-2.0-py3.9.egg/src/server/util/os_util.py", line 5, in <module> class OsUtil: File "/usr/local/lib/python3.9/dist-packages/drcsim-2.0-py3.9.egg/src/server/util/os_util.py", line 9, in OsUtil distro = _platform.linux_distribution() AttributeError: module 'platform' has no attribute 'linux_distribution'

@Veemyu
Copy link

Veemyu commented Apr 29, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants