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

pyjnius does not seems to be installed properly in osx 10.6 #39

Closed
felixgao opened this issue Oct 9, 2012 · 1 comment
Closed

pyjnius does not seems to be installed properly in osx 10.6 #39

felixgao opened this issue Oct 9, 2012 · 1 comment

Comments

@felixgao
Copy link

felixgao commented Oct 9, 2012

modified the setup.py to include the following properties
library_dirs = ['/System/Library/Frameworks/JavaVM.framework/Libraries']
include_dirs = ['/System/Library/Frameworks/JavaVM.framework/Headers']

[15:39:24][/usr/local/pyjnius]> python2.7 setup.py install
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running build_py
running build_ext
skipping 'jnius/jnius.c' Cython extension (up-to-date)
running install_lib
running install_egg_info
Removing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jnius-1.1_dev-py2.7.egg-info
Writing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jnius-1.1_dev-py2.7.egg-info

[15:39:51][/usr/local/pyjnius]> ls -al /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jnius-1.1_dev-py2.7.egg-info
-rw-r--r-- 1 felixgao admin 829 Oct 9 15:39 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jnius-1.1_dev-py2.7.egg-info

[15:43:07][/usr/local/pyjnius]> python2.7
Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

from jnius import *
Traceback (most recent call last):
File "", line 1, in
File "jnius/init.py", line 12, in
from .jnius import *
ImportError: No module named jnius

@allfro
Copy link
Contributor

allfro commented Oct 16, 2012

Hi felixgao,

Take a look at my pull request: #42. It may help you out.

@tito tito closed this as completed Jul 2, 2013
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