Installing K40 Whisperer on Mac

Discuss laser machine here freely.

Moderator: baker

Post Reply
Ale_V
Posts: 4
Joined: Wed Oct 16, 2019 10:35 am

Installing K40 Whisperer on Mac

Post by Ale_V »

Hello,

I am trying to install K40 Whisperer on my mac (10.14.6).
I have installed Brew, XQuartz, Inkscape, Pyton 3.7, pyenv...
I have downloaded K40 Whisperer and I currently have the unzipped folder on my desktop.

A couple of problem I am encountering:

When I type in the terminal "pip install -r requirements.txt" it says:

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/developme ... -2-support

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

And that's actually strange as I am running Pyton 3.7

2) When I then try to run "sudo python k40_whisperer.py" I get:

/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'k40_whisperer.py': [Errno 2] No such file or directory


As an alternative I tried to follow the method described here: https://github.com/stephenhouser/k40-whisperer
Unfortunately I managed to install all the things listed with homebrew (some of which I had already done previously) but I don't really understand (sorry I am not a terminal expert) how to create this package: after I have installed everything as described I try to type "build_macOS_sh" in the terminal but I get:

-bash: build_macOS.sh: command not found


I am really a bit lost, could anyone help?

Thank you very much!

Ale
Post Reply