I'm running Mylar on a Mac running OS 10.10.3. I recently upgraded Python to version 2.7.10 but Mylar indicates that it is running under 2.7.6. How can I point Mylar to 2.7.10? I installed Mylar using the method at the following link:
http://www.htpcguides.com/install-mylar ... mment-3429
I use the Automator method to launch Mylar at startup. My Python 2.7.10 installation is located at /usr/local/bin/python
Any help would be appreciated.
Choosing a version of Python
- evilhero
- Site Admin
- Posts: 2883
- Joined: Sat Apr 20, 2013 3:43 pm
- Contact:
Re: Choosing a version of Python
Should be pretty straightforward, change the line:
to
Code: Select all
<array>
<string>/usr/bin/python2.7</string>
<string>/Applications/Mylar/Mylar.py</string>
Code: Select all
<array>
<string>/usr/local/bin/python</string>
<string>/Applications/Mylar/Mylar.py</string>
-
- Posts: 7
- Joined: Thu Sep 25, 2014 3:33 pm
Re: Choosing a version of Python
Thanks, but I use the automator method a little further down the linked page. The Automator version runs automatically should Mylar shutdown. Basically, Automator runs the following shell script to launch Mylar:
python /Applications/Mylar/Mylar.py -d
Currently this script launches Mylar in Python 2.7.6. How do I modify this script to launch Mylar in Python 2.7.10?
Thanks for your help!
python /Applications/Mylar/Mylar.py -d
Currently this script launches Mylar in Python 2.7.6. How do I modify this script to launch Mylar in Python 2.7.10?
Thanks for your help!
- evilhero
- Site Admin
- Posts: 2883
- Joined: Sat Apr 20, 2013 3:43 pm
- Contact:
Re: Choosing a version of Python
I don't use the script, nor did I write that article but it would seem all you need to do is replace:
with:
Code: Select all
python /Applications/Mylar.py -d
Code: Select all
/usr/local/bin/python /Applications/Mylar.py - d
-
- Posts: 7
- Joined: Thu Sep 25, 2014 3:33 pm
Re: Choosing a version of Python
Yep, that did the trick. Thanks!