проблема импорта с python 3.2
Последние несколько дней я пытался установить дистрибутив, чтобы я мог начать импортировать сторонние модули. У меня нетЯ не использовал Python пару лет, поэтому яЯ вспоминаю все, что было довольно сложно.
Я проследил за ошибками в данных каталогах, но нене знаю, что делать дальше.
Я использую Mac версии 10.8.2 с Python 3.2 в Eclipse.
Вот's код:
Traceback (most recent call last):
File "/Volumes/James Hard Drive/Python/Python_Lessons/3rd_Party_Stuff/easy_install.py", line 5, in
from setuptools.command.easy_install import main
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/distribute-0.6.28-py3.2.egg/setuptools/__init__.py", line 2, in
from setuptools.extension import Extension, Library
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/distribute-0.6.28-py3.2.egg/setuptools/extension.py", line 5, in
from setuptools.dist import _get_unpatched
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/distribute-0.6.28-py3.2.egg/setuptools/dist.py", line 6, in
from setuptools.command.install import install
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/distribute-0.6.28-py3.2.egg/setuptools/command/__init__.py", line 8, in
from setuptools.command import install_scripts
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/distribute-0.6.28-py3.2.egg/setuptools/command/install_scripts.py", line 3, in
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/Volumes/James Hard Drive/Python/Python_Lessons/3rd_Party_Stuff/pkg_resources.py", line 45
def _bypass_ensure_directory(name, mode=0777):
^
SyntaxError: invalid token