Opened 13 years ago
Closed 10 years ago
#42 closed defect (fixed)
Python 2.7 causes YUM to fail
Reported by: | David McKenna | Owned by: | Yuri Dario |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | python | Version: | |
Severity: | Keywords: | ||
Cc: |
Description
Paul Smedley has provided Python 2.7 and it is required for his port of Scribus 1.4.1. Installing Python 2.7 (in its own directory) per the instructions given causes YUM to no longer work (many errors given about not finding files).
Change History (8)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
I think PYTHONPATH has been added to config.sys: this is not compatible with 2.6 build.
comment:3 by , 13 years ago
Yes.... PYTHONPATH has been added (as directed by the instructions). Without it, YUM does work, but not Scribus.
comment:5 by , 13 years ago
I think it could be a good idea to ignore PYTHONPATH and PYTHONHOME in current @unixroot build, it is not needed to run our python, and it can only confuse python and users...
comment:6 by , 13 years ago
Yes... I am now using a script. But I thought I should open a ticket for exactly the reason Yuri mentions - confusion. Thanks for considering a solution!
comment:8 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Here's a typical example:
[C:\]yum update
'import site' failed; use -v for traceback
Traceback (most recent call last):
TypeError: cannot create weak reference to 'classobj' object
[C:\]