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

Execution fails on mac #24

Open
joaocc opened this issue Mar 10, 2018 · 6 comments
Open

Execution fails on mac #24

joaocc opened this issue Mar 10, 2018 · 6 comments

Comments

@joaocc
Copy link

joaocc commented Mar 10, 2018

  • macOS Sierra 10.12.6
  • Python 3.6.4

install looks ok

$ pip3 install kubefuse
Collecting kubefuse
  Downloading kubefuse-0.7.3.tar.gz
Requirement already satisfied: fusepy>=2.0.4 in /usr/local/lib/python3.6/site-packages (from kubefuse)
Collecting python-myna==1.2.0 (from kubefuse)
  Downloading python-myna-1.2.0.tar.gz
Requirement already satisfied: PyYAML>=3 in /usr/local/lib/python3.6/site-packages (from kubefuse)
Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.6/site-packages (from kubefuse)
Building wheels for collected packages: kubefuse, python-myna
  Running setup.py bdist_wheel for kubefuse ... done
  Stored in directory: /Users/my-user/Library/Caches/pip/wheels/92/18/07/49c7dbbc561c8ac4e366befec2af409f53765662ae4d4081bc
  Running setup.py bdist_wheel for python-myna ... done
  Stored in directory: /Users/my-user/Library/Caches/pip/wheels/d3/f5/6f/fd9f2b7ffc199ec6363b413a4a14e7dca1d4766ea42565b8a3
Successfully built kubefuse python-myna
Installing collected packages: python-myna, kubefuse
Successfully installed kubefuse-0.7.3 python-myna-1.2.0

running it not so

$ kubefuse
Traceback (most recent call last):
  File "/usr/local/bin/kubefuse", line 7, in <module>
    from kubefuse.kubefuse import main
  File "/usr/local/lib/python3.6/site-packages/kubefuse/kubefuse.py", line 13
    print "It looks like the Fuse system library is missing."
                                                            ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "It looks like the Fuse system library is missing.")?
@bspaans
Copy link
Contributor

bspaans commented Mar 20, 2018

Looks like you need to install https://osxfuse.github.io/

@joaocc
Copy link
Author

joaocc commented Mar 20, 2018

I do have it installed (v3.7.1). Any ideas? thx

@bspaans
Copy link
Contributor

bspaans commented Mar 20, 2018

Not sure, probably some library path issue? I'm not on Mac anymore so can't help you much I'm afraid, but I think I had it working using fuse installed through brew.

@bspaans
Copy link
Contributor

bspaans commented Mar 20, 2018

Oh actually, just read the error more closely: you are using Python3 and this is Python2 code unfortunately.

@joaocc
Copy link
Author

joaocc commented Mar 20, 2018

ah. ok. i'll try using virtual env. thx!

@adamgoose
Copy link

Dupe of #25. I only give the newer issue precedence over this one as its more descriptive and indicative of the issue at hand.

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