From: Michael S. <mi...@le...> - 2015-01-20 23:27:03
|
Hi Fink Beginners, I'm probably annoying here, but I'm more or less starting from scratch after taking 5 years off of writing code and working the command line, and was never great at it in the first place. But I'm interested in building a CMS/CRM for my fund in Django and thought I would get started. I successfully updated Python and downloaded Django, but I ran into problems trying to install or update Postgres, which led me to need to install Fink to manage the Postgres install. I ended up moving to Homebrew because the installation was idiot proof, but I might as well get Fink up and running. The main thing is that I need a blog post taking me through installation that is idiot proof. I tried saving the script Install Fink.tool and running it by clicking on it, and got no response whatsoever. I then tried to run it from the command line but have no idea what I'm doing and that didn't seem to work either. Any ideas? Michaels-MacBook-Pro-4:Code mpstaton$ python3 get-pip.py Collecting pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-6.0.6-py2.py3-none-any.whl#md5=0472d9dc76a0df6cc6ab545e40aef832 Downloading pip-6.0.6-py2.py3-none-any.whl (1.3MB) 100% |################################| 1.3MB 1.6MB/s Installing collected packages: pip Found existing installation: pip 1.5.6 Uninstalling pip-1.5.6: Successfully uninstalled pip-1.5.6 Successfully installed pip-6.0.6 Michaels-MacBook-Pro-4:Code mpstaton$ cd Michaels-MacBook-Pro-4:~ mpstaton$ pip install Django==1.7.3 Collecting Django==1.7.3 Downloading Django-1.7.3-py2.py3-none-any.whl (7.4MB) 100% |################################| 7.4MB 707kB/s Installing collected packages: Django Successfully installed Django-1.7.3 Michaels-MacBook-Pro-4:~ mpstaton$ fink install psycopg2-py27 -bash: fink: command not found Michaels-MacBook-Pro-4:~ mpstaton$ xcode-select --install xcode-select: note: install requested for command line developer tools Michaels-MacBook-Pro-4:~ mpstaton$ sudo port install py27-psycopg2 Michaels-MacBook-Pro-4:~ mpstaton$ cd Applications Michaels-MacBook-Pro-4:Applications mpstaton$ ls Akamai Sid Meier's Civilization V.app Chrome Apps.localized Michaels-MacBook-Pro-4:Applications mpstaton$ sudo port install py27-psycopg2 Password: sudo: port: command not found Michaels-MacBook-Pro-4:Applications mpstaton$ sudo port install py27-psycopg2 Password: sudo: port: command not found Michaels-MacBook-Pro-4:Applications mpstaton$ cd Michaels-MacBook-Pro-4:~ mpstaton$ sudo port install py27-psycopg2 sudo: port: command not found Michaels-MacBook-Pro-4:~ mpstaton$ xcode-select -switch /path/to/Xcode.app/Contents/Developer xcode-select: error: invalid developer directory '/path/to/Xcode.app/Contents/Developer' Michaels-MacBook-Pro-4:~ mpstaton$ cd Applications Michaels-MacBook-Pro-4:Applications mpstaton$ ls Akamai Sid Meier's Civilization V.app Chrome Apps.localized Michaels-MacBook-Pro-4:Applications mpstaton$ cd Michaels-MacBook-Pro-4:~ mpstaton$ [Restored] Last login: Mon Jan 19 15:01:45 on ttys000 Michaels-MacBook-Pro-4:~ mpstaton$ [Restored] Last login: Mon Jan 19 20:30:17 on ttys000 Michaels-MacBook-Pro-4:~ mpstaton$ cd Documents/Learning/Code Michaels-MacBook-Pro-4:Code mpstaton$ chmod u+x Install Fink.tool chmod: Install: No such file or directory chmod: Fink.tool: No such file or directory Michaels-MacBook-Pro-4:Code mpstaton$ chmod u+x Install Fink chmod: Install: No such file or directory chmod: Fink: No such file or directory Michaels-MacBook-Pro-4:Code mpstaton$ ls Hello.py Install Fink.tool get-pip.py Michaels-MacBook-Pro-4:Code mpstaton$ InstallFink.tool -bash: InstallFink.tool: command not found Michaels-MacBook-Pro-4:Code mpstaton$ chmod u+x InstallFink.tool Michaels-MacBook-Pro-4:Code mpstaton$ cd fink-0.38.3 -bash: cd: fink-0.38.3: No such file or directory Michaels-MacBook-Pro-4:Code mpstaton$ fink selfupdate-rsync -bash: fink: command not found Michaels-MacBook-Pro-4:Code mpstaton$ fink selfupdate-rsync -bash: fink: command not found On Tue, Jan 20, 2015 at 7:27 AM, Alexander Hansen < ale...@gm...> wrote: > > On Jan 19, 2015, at 8:43 PM, Michael Staton <mi...@le...> > wrote: > > Hi Alexander, > > I’m trying to get Fink up and running so I can install Django. I used to > code in Rails five years ago, but don’t remember too much about operating > my termal. > > I tried to execute your Install Fink.tool file, but it’s not doing > anything: no feedback, no error messages. I’m wondering if you have a guide > how to use your script for dummies and grandmas? > > Best, > > > Michael > > *Michael Staton* (@mpstaton) <http://twitter.com/mpstaton> > Partner, Learn Capital. > See my availability > <http://www.google.com/calendar/embed?src=michael%40learncapital.com&ctz=America/Los_Angeles> > , Book an appointment <http://calendly.com/mpstaton>. > *Learn Capital <http://learncapital.com/>* (@LearnCap) > (650) 521-7295 > > > In the future, please use one of the mailing lists (cc’ed) and not just my > personal email. > > There are more people than me who work on the project, and I don’t get > paid enough ($0) to be personal tech support. Also, I prefer all > discussions to be in public, to get more eyes on an issue, unless they > pertain to a package that I maintain. Install Fink.tool is _not_ one of > those, since I’m not the author of that. > > Install Fink.tool should provide verbose output in the terminal window, > though. Was there anything? Can you post the end of the output (say about > 3 screenfuls), or if you don’t have that, can you post the output of an > attempt to run Install Fink.tool again? > > Also, you’re on 10.9 or 10.10, correct? Install.Fink tool is only > supposed to work on 10.9 or later, and I don’t know what the failure mode > is for an earlier OS X version. > -- > Alexander Hansen, Ph.D. > Fink User Liaison > > -- *Michael Staton* (@mpstaton) <http://twitter.com/mpstaton> Partner, Learn Capital. See my availability <http://www.google.com/calendar/embed?src=michael%40learncapital.com&ctz=America/Los_Angeles>, Book an appointment <http://calendly.com/mpstaton>. *Learn Capital <http://learncapital.com>* (@LearnCap) (650) 521-7295 |