On Mon, Jul 20, 2009 at 2:28 AM, SS <sksk
...@gmail.com> wrote:
> Hi
> 1) I am trying to run gdata application, for that I am gone
> through the steps in following link but I was struck at "Installing
> the Google Data Library"
> http://code.google.com/apis/gdata/articles/python_client_lib.html#lib...
> 2) Downloaded gdata-1.3.0 from specified path
> 3) From the above link " If you have the ability to install packages
> for all users to access, you can run ./setup.py install from the
> unpacked archive's main directory" .... done through command prompt
> C:\Documents and Settings\desk\Desktop\apps\exp2\gdata-1.3.0>setup.py
> install
> C:\Python26\lib\distutils\dist.py:266: UserWarning: Unknown
> distribution option:
> 'install_requires'
> warnings.warn(msg)
> running install
> running build
> running build_py
> running install_lib
> running install_egg_info
> Removing C:\Python26\Lib\site-packages\gdata-1.3.0-py2.6.egg-info
> Writing C:\Python26\Lib\site-packages\gdata-1.3.0-py2.6.egg-info
> 4) Then I think that setting is done, then I move on to next setep
> "Running Tests and Samples"
> its giving following error .. please tell me wt could be the prob. I
> am using Python2.6 in Windows XP
> C:\Documents and Settings\desk\Desktop\apps
> \exp2\gdata-1.3.0\tests>run_data_test
> s.py
> C:\Python26\lib\site-packages\gdata\tlslite\utils\cryptomath.py:9:
> DeprecationWa
> rning: the sha module is deprecated; use the hashlib module instead
> import sha
> Traceback (most recent call last):
> File "C:\Documents and Settings\desk\Desktop\apps
> \exp2\gdata-1.3.0\tests\run_d
> ata_tests.py", line 21, in <module>
> import gdata_tests.client_test
> File "C:\Documents and Settings\desk\Desktop\apps
> \exp2\gdata-1.3.0\tests\gdata
> _tests\client_test.py", line 27, in <module>
> import gdata.data
> ImportError: No module named data