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

Installation issue on OSX 10.8 #15

Open
joeyscully opened this issue Apr 15, 2013 · 3 comments
Open

Installation issue on OSX 10.8 #15

joeyscully opened this issue Apr 15, 2013 · 3 comments

Comments

@joeyscully
Copy link

Hi I get this exemption from pip.log when trying to install omnigraffle-export.

Exception information:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 139, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 271, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/Library/Python/2.7/site-packages/pip/req.py", line 1185, in install
requirement.install(install_options, global_options, _args, *_kwargs)
File "/Library/Python/2.7/site-packages/pip/req.py", line 592, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/Library/Python/2.7/site-packages/pip/util.py", line 662, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/python -c "import setuptools;file='/private/var/folders/dn/jtcv_jk95x1g0djz3t3chcm40000gn/T/pip-build-joey/appscript/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/dn/jtcv_jk95x1g0djz3t3chcm40000gn/T/pip-NCbEzz-record/install-record.txt --single-version-externally-managed failed with error code 1 in /private/var/folders/dn/jtcv_jk95x1g0djz3t3chcm40000gn/T/pip-build-joey/appscript

@fikovnik
Copy link
Owner

Have you run it with enough privileges (aka with sudo)?

@joeyscully
Copy link
Author

Yep - running with sudo returns this...which seems to be different.

Traceback (most recent call last):
File "/usr/local/bin/omnigraffle-export", line 5, in
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in
working_set.require(requires)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: appscript

@ceeeeej
Copy link

ceeeeej commented Jul 1, 2013

Maybe you need to do 'pip install appscript' and/or 'pip install PyObjC'.

I was missing the "Foundation" package (from Foundation import NSUrl...) but 'pip install Foundation' did not work. I found that I needed the PyObjC package to fix this. FYI - installing the PyObjC library took a very long time.

@cdlm cdlm mentioned this issue Sep 12, 2017
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

3 participants