got it fixed.. i was using cronjobs to run the build and there was path setting with in the cronjob, the path didnt look wrong but the issue got resolved after removing the path .. thank you all for your replies..
- raj
User Profile
Collapse
-
i tried changing
#!/usr/bin/env python to #!/usr/bin/env python2.5
but ended up in same error :(Leave a comment:
-
thanks for the replies..
well to be honest, im not a python developer but i have to support a project. so pardon me if my replies look dumb :)
if i do "import svn" python prompt its showing no error and i was looking at code and it have more objects like svn.core . i believe what i need is svn not pysvn.
how can i check if there are more than version of python running?
- rajLeave a comment:
-
ImportError: No module named svn
well this is kind of strange.
i have few scripts that run on a daily basis and it works good on one host . im my development env its failing on importError : no module svn
I login as the user who is running the script and go to python prompt and try import svn. it wont throw any error. kind of strange.
aamuser@dbdev01 :~>python
Python 2.5.4 (r254:67916, May 26 2009, 12:58:10)
[GCC 4.1.2... -
undefined symbol : X509_NAME_entry_count
hi,
i was getting "AttributeError : 'module' object has no attribute 'initialize' when invoking ldap.initialize so i re-installed python-ldap. now when i do "import ldap" im getting the following error
any help on this is appreciated. .
thanks,... -
I'm really new to python and linux and for some reason i was given the responsibility to upgrade the python application. :( i was looking a few forums and found something related to un-commenting zlib code in setup file. I tried but it didnt help. could you elaborate of python distribution part ?
I read in an earlier thread that python needs to be compiled with zlib. does it mean i have to install python again ?
thanks...Leave a comment:
-
No module named zlib
hi,
i have seen various post related to this topic but i couldnt resolve my issue yet.
Im using python version 2.5 on Linux environment
this is the error im getting if i try to import zlib
[root@qsrpdbdev0 1 zlib-1.2.3]# python -c 'import zlib'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named zlib...
No activity results to display
Show More
Leave a comment: