Joined July 2012
·

André Farzat

Montréal
·
·
·

Hi, @isabellefp,

so, if the command is not found, for some reason you don't have the macports installed. if you don't mind, try installing brew (http://brew.sh/) and try again =)

Hello, @isabellefp,

mac os already comes with python pre-installed, so you should not need to install it again.
Try opening a console and type which python to see if and where it is installed.

To install pip, you can first install easyinstall: https://pypi.python.org/pypi/setuptools#unix-including-mac-os-x-curl
Then you just run `easy
install pip`.

When you installed the xcode, did you also installed the command line tools ?

Macports behaves different from brew in the way that it puts the libraries in another folder and ( I can be wrong ) it needs the sudo to execute/install.

Thus, you should be able to run macports install libxml2, then find where macports installed it and then follow the steps above in the tip to make it work in python.

I hope this helps you =)

Posted to git pull --rebase over 1 year ago

Is this the same of doing git fetch then git rebase [origin] [branch] ?

Posted to Avoid using typeof to test undefined over 1 year ago

@benjamine strongly agree with you! haha. That's why I am really careful when I select a jQuery plugin. Usually I avoid selecting one which doesn't have the 'use strict' declaration.

Posted to Avoid using typeof to test undefined over 1 year ago

@benjamine although no error is shown, it isn't redefined. The same happens if you try to redefine window.document, for example.
For ie8, you're right, it is possible to redefine undefined, however, if your code runs in strict mode in modern browsers, it won't be a problem in ie8.

Achievements
157 Karma
18,161 Total ProTip Views