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

Unable to run CellProfiler from containing directory #2

Open
mcquin opened this issue Sep 12, 2017 · 1 comment
Open

Unable to run CellProfiler from containing directory #2

mcquin opened this issue Sep 12, 2017 · 1 comment
Labels

Comments

@mcquin
Copy link

mcquin commented Sep 12, 2017

/Applications/CellProfiler/CellProfiler.app/Contents/MacOS/CellProfiler works but

cd /Applications/CellProfiler/CellProfiler.app/Contents/MacOS
CellProfiler

fails with

Traceback (most recent call last):
  File "/usr/local/bin/CellProfiler", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3074, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3058, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3087, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 664, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 981, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 867, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'CellProfiler' distribution was not found and is required by the application
@AnneCarpenter
Copy link
Member

@mcquin says it is the same whether from DMG or /Applications

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

No branches or pull requests

3 participants