Using the /usr/local/bin install for Python 2.6.7 to keep it separate from Python 2.6.1 (see Upgrade Python to 2.6 on Mac), my new 2.6.7 binary isn't finding my 2.6 modules when I try to run code. As far as I understood, 2.6.1 and 2.6.7 should share modules because both are 2.6 modules.
ImportError: No module named unicodecsv
If I want to use my new /usr/local/bin/python
(2.6.7) to run my program with modules I pip installed while using 2.6.1, what crucial step am I missing? A path issue? Using /usr/bin/python
still imports the module without an issue.
I've confirmed that /usr/local/bin/pip install unicodecsv
(and pip-2.6 install
)
just tells me I already have what I need:
Requirement already up-to-date: unicodecsv in /Library/Python/2.6/site-packages