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

pix-plot on MacOS 15.2 - Apple Silicon M3? #282

Open
mikima opened this issue Dec 28, 2024 · 0 comments
Open

pix-plot on MacOS 15.2 - Apple Silicon M3? #282

mikima opened this issue Dec 28, 2024 · 0 comments

Comments

@mikima
Copy link

mikima commented Dec 28, 2024

Hello. Tried to install pix-plot on a MacOS Apple Silicon M3, without success.

I followed this guide: https://github.com/pleonard212/pix-plot/wiki/MacOS-12.2.1---Apple-Silicon-(M1-chip)-with-GPU-acceleration

But when i run it i get this error:

Traceback (most recent call last):
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 656, in _build_master
    ws.require(__requires__)
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1065, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 892, in resolve
    dist = self._resolve_dist(
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 938, in _resolve_dist
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (numpy 2.0.2 (/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages), Requirement.parse('numpy==1.23.5'), {'pixplot'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/anaconda3/envs/pixplot/bin/pixplot", line 33, in <module>
    sys.exit(load_entry_point('pixplot==0.0.113', 'console_scripts', 'pixplot')())
  File "/opt/anaconda3/envs/pixplot/bin/pixplot", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pixplot-0.0.113-py3.9.egg/pixplot/__init__.py", line 2, in <module>
    from pixplot.pixplot import process_images, parse
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pixplot-0.0.113-py3.9.egg/pixplot/pixplot.py", line 10, in <module>
    import pkg_resources
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3668, in <module>
    def _initialize_master_working_set() -> None:
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3651, in _call_aside
    f(*args, **kwargs)
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3680, in _initialize_master_working_set
    working_set = _declare_state('object', 'working_set', WorkingSet._build_master())
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 658, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 671, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 892, in resolve
    dist = self._resolve_dist(
  File "/opt/anaconda3/envs/pixplot/lib/python3.9/site-packages/pkg_resources/__init__.py", line 933, in _resolve_dist
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'numpy==1.23.5' distribution was not found and is required by pixplot
pixplot --images="images/*.jpg"  0.11s user 0.03s system 93% cpu 0.143 total
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

1 participant