i am new to python and i am installing python pakages but i get this error
Error:
Traceback (most recent call last):
File "setup.py", line 3 in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
but when iam installing setuptools and run it i get this error
Traceback (most recent call last):
File "C:/Python32/yyy.py", line 7, in <module>
execfile(convert_path('setuptools/command/__init__.py'), d)
NameError: name 'execfile' is not defined
i am windows 7 user . if any 1 have experience about it please figure it out and whats this mean Unpack the archive, enter the pyserial-x.y directory and run ? mean i have to install it from command prompt
i want to use twitter api in python . when i run its setup file it show error . i open it with notepad and copy the setup code and paste it in script and save it with yyy.py and run it and now it give me the error like this
File "C:\Python26\twittersetup.py",
line 13, in <module>
long_description=open("./README", "r").read(),
IOError: [Errno 2] No such file or directory: './README'
this errorr in python 3.2
File "C:/Python32/t.py",
line 9, in <module>
setup(name='twitter',
NameError: name 'setup' is not defined
AND NOW AFTER MANY SURVIVALS I GOT THIS ERROR
Traceback (most recent call last):
File "C:\Users\Sheikh\Desktop\twitter-1.9.0 (1).tar\twitter-1.9.0\setup.py",
line 47,
in <module>""",File "C:\Python32\lib\distutils\core.py",
line 136, in setup
raise SystemExit(gen_usage(dist.script_name) + "\nerror: %s" % msg)
SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied