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

importlib.metadata.PackageNotFoundError: No package metadata was found for blenderproc #1021

Closed
monajalal opened this issue Dec 5, 2023 · 1 comment
Labels
first answer provided question Question, not yet a bug ;)

Comments

@monajalal
Copy link

monajalal commented Dec 5, 2023

Describe the issue

I want to download haven

(blenderproc) mona@ada:~/BlenderProc2_Cobot/BlenderProc$ blenderproc download haven --custom-blender-path ~/Downloads/blender-3.5.1-linux-x64
Traceback (most recent call last):
  File "/home/mona/anaconda3/envs/blenderproc/bin/blenderproc", line 33, in <module>
    sys.exit(load_entry_point('blenderproc', 'console_scripts', 'blenderproc')())
  File "/home/mona/anaconda3/envs/blenderproc/bin/blenderproc", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/home/mona/anaconda3/envs/blenderproc/lib/python3.10/importlib/metadata/__init__.py", line 969, in distribution
    return Distribution.from_name(distribution_name)
  File "/home/mona/anaconda3/envs/blenderproc/lib/python3.10/importlib/metadata/__init__.py", line 548, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for blenderproc

Minimal code example

No response

Files required to run the code

No response

Expected behavior

be able to download haven

https://dlr-rm.github.io/BlenderProc/examples/datasets/haven/README.html

BlenderProc version

commit f2e77c0

I am also not able to use your own script for downloading either (same error)

(blenderproc) mona@ada:~/BlenderProc2_Cobot/BlenderProc/blenderproc/scripts$ blenderproc run download_haven.py --custom-blender-path ~/Downloads/blender-3.5.1-linux-x64
Traceback (most recent call last):
  File "/home/mona/anaconda3/envs/blenderproc/bin/blenderproc", line 33, in <module>
    sys.exit(load_entry_point('blenderproc', 'console_scripts', 'blenderproc')())
  File "/home/mona/anaconda3/envs/blenderproc/bin/blenderproc", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/home/mona/anaconda3/envs/blenderproc/lib/python3.10/importlib/metadata/__init__.py", line 969, in distribution
    return Distribution.from_name(distribution_name)
  File "/home/mona/anaconda3/envs/blenderproc/lib/python3.10/importlib/metadata/__init__.py", line 548, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for blenderproc

@monajalal monajalal added the question Question, not yet a bug ;) label Dec 5, 2023
@cornerfarmer
Copy link
Member

I cannot reproduce this behavior. Running blenderproc download haven <output_path> should download the haven dataset into the given output_path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first answer provided question Question, not yet a bug ;)
Projects
None yet
Development

No branches or pull requests

2 participants