Opened 9 years ago
Closed 9 years ago
#171 closed defect (invalid)
python/yum doesn't find module site
Reported by: | josch | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | python | Version: | |
Severity: | highest | Keywords: | |
Cc: |
Description
I started the Arca Noae Package Manager. The package list was empty.
I tried yum list on console. It comes up with:
"ImportError: No module named site"
I tried starting Python without parameters. The same message appears.
The files site.py(c/o) are in /usr/lib/python2.7.
What's the problem?
Change History (7)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
a.) I installed Python by yum/rpm.
b.) No older python.
c.) Nothing in config.sys
comment:3 by , 9 years ago
Have you read the bottom of https://www.arcanoae.com/wiki/anpm/non-updated-systems/? Maybe you have the urlgrabber problem.
comment:5 by , 9 years ago
I installed yum via ANPM. But it worked. I could install a lot of packages.
But one day, it stopped working.
The urlgrapper directory is there. So I would rule that problem out.
comment:6 by , 9 years ago
I now deinstalled ANPM and reinstalled it.
Then I moved /usr, started ANPM and killed it after it trying to install yum.
I moved /usr back, restarted ANPM.
Now it works again.
comment:7 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
strange case. But as it works I close this issue.
How did you install python? Did you have a older python installed. Do you have python stuff in config.sys?