New issue 65 by navidu...@gmail.com: getting syntax error while installing
on centOS5 using source code
http://code.google.com/p/trash-cli/issues/detail?id=65
What steps will reproduce the problem?
1. i installed python and python-setuptools on CentOS5. when i run python
setup.py install, then i get following error
-----------------------------------
[root@localhost trash-cli-0.11.3-r315]# python setup.py bdist_rpm
Traceback (most recent call last):
File "setup.py", line 50, in ?
import trashcli
File "/root/Desktop/trash-cli-0.11.3-r315/trashcli/__init__.py", line 2
from .version import version
^
SyntaxError: invalid syntax
=================================================
What version of the product are you using? On what operating system?
i downloaded tar.gz of trash-cli on its official site.
Deaer user, what is the output of the following command on your machine?
# python --version
i run your given command in CentOS but it did not show any valid output.Any
i installed python2.6 and above give error is fixed but
i am getting anther error after installing python2.6 version .
I run command python2.6 setup.py install
and got following error
============================
[root@localhost trash-cli-0.11.3-r315]# python2.6 setup.py install
running install
error: invalid Python installation: unable to open
/usr/lib/python2.6/config/Makefile (No such file or directory)
Dear User,
maybe you need remove the hash '#' before the command:
python --version
hmm:) sir i m not new in linux actually, i run python --version without
Hash in CentOS and i got error message and when i run same command in
Ubuntu, it works and it give me python version,
Your Trash-cli is working fine on Ubuntu OS , but now i am trying to use it
on CentOS/Fedora based Linux.
by "yum install python" command it installed python2.4, so as per trash-cli
requirement i installed rpm of python2.6. and now error of Syntax got fixed
but now i am getting following error
=====================================================
[root@localhost trash-cli-0.11.3-r315]# python2.6 setup.py install
running install
error: invalid Python installation: unable to open
/usr/lib/python2.6/config/Makefile (No such file or directory)
======================================================
Have you tested your utility on CentOS as well?? Guide me if i am doing
some thing wrong .
and Thanks for your reply...::)
Regards
Naveed Ahmad
any update sir ? plz
Comment #6 on issue 65 by andrea.f...@gmail.com: getting syntax error while
installing on centOS5 using source code
http://code.google.com/p/trash-cli/issues/detail?id=65
I think that maybe your CentOS python installation is somewhat broken. Your
issue seems related to CentOS or your CentOS configuration rather that
trash-cli. When I have time I try to help users to resolve their problems
even when they aren't related to trash-cli but please note that trash-cli
is my hobby and I use my spare time to work on it and I work for free. In
this case I can't help you because is too outside the scope of my
commitment.
I would suggest you to use a generic mailing list about CentOS or Python
for getting actual help, I'll be glad if you would put
trash-c...@googlegroups.com in CC so I can follow the problem and the
solution.
Thank you