Re: 'module' object has no attribute 'RPMSENSE_GREATER'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 11, 2014 at 7:14 PM, Stephen Davies <sdavies@xxxxxxxxxx> wrote:
> The /usr/local/bin version of python came from my manually building and
> installing Python 2.7.6 as part of my attempts to build FreeCAD.
>
> If I hide all of the /usr/local/bin and /usr/local/lib Python components,
> the original is unable to find modules - even if I set PYTHONPATH and
> PYTHONHOME.

What does 'rpm -V python python-libs' say?  Is /usr/lib64/python2.7
even present?

With the /usr/local Python installation out of the way, what does
invoking 'python' and then running 'import this' on the REPL do?  Does
it print the Zen of Python or do you get an ImportError?

> I then attempted to folow your suggestion re reinstalling rpm.

Won't do you any good, since it will reinstall to the /usr/lib python
which seems to be FUBAR, not the /usr/local/lib python.  Let's fix
that first and then worry about rpm-python.

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux