Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing packages #54315

Closed
SS mannequin opened this issue Oct 14, 2010 · 6 comments
Closed

missing packages #54315

SS mannequin opened this issue Oct 14, 2010 · 6 comments
Labels
build The build process and cross-build topic-installation

Comments

@SS
Copy link
Mannequin

SS mannequin commented Oct 14, 2010

BPO 10106
Nosy @brettcannon, @orsenthil, @merwok

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2010-10-15.09:14:23.129>
created_at = <Date 2010-10-14.16:35:38.175>
labels = ['invalid', 'build', 'expert-installation']
title = 'missing packages'
updated_at = <Date 2010-10-22.17:21:09.831>
user = 'https://bugs.python.org/SS'

bugs.python.org fields:

activity = <Date 2010-10-22.17:21:09.831>
actor = 'S.S'
assignee = 'none'
closed = True
closed_date = <Date 2010-10-15.09:14:23.129>
closer = 'orsenthil'
components = ['Installation']
creation = <Date 2010-10-14.16:35:38.175>
creator = 'S.S'
dependencies = []
files = []
hgrepos = []
issue_num = 10106
keywords = []
message_count = 6.0
messages = ['118685', '118689', '118699', '118703', '118753', '119393']
nosy_count = 4.0
nosy_names = ['brett.cannon', 'orsenthil', 'eric.araujo', 'S.S']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue10106'
versions = ['Python 2.6']

@SS
Copy link
Mannequin Author

SS mannequin commented Oct 14, 2010

when trying to install beutifulsoup package on windows xp x86 with python 2.6.6 getting the following error

C:\Python26>python C:\temp\BeautifulSoup-3.0.8.1\setup.py install
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "C:\temp\BeautifulSoup-3.0.8.1\setup.py", line 1, in <module>
    from distutils.core import setup
ImportError: No module named distutils.core

installing the same package with python 2.7 gives a different error about site module missing.

these errors i am getting with any packages installs actually.

@SS SS mannequin added topic-installation build The build process and cross-build labels Oct 14, 2010
@brettcannon
Copy link
Member

Double-check your install. Errors like this typically means that your Python executable is not able to read the standard library files. Either that or something got moved and so the files are not where Python expects them to be.

@SS
Copy link
Mannequin Author

SS mannequin commented Oct 14, 2010

Brett,
the installation did not had any issues.
its running on windows xp, i am administrator of the machine so no permission issues.

nothing got moved either as it fresh install

@brettcannon
Copy link
Member

I'm not a Windows user, so there might be a better way to solve this, but...

Run python -v and see what it says about why 'site' was not imported. You can also verify that site.py is readable by Python by checking that its directory location is listed in sys.path and that you can read the file from the prompt.

Beyond that I am out of my element as it is probably a Windows-specific issue.

@orsenthil
Copy link
Member

I would suggest to OP, to take it with python-help for the problem to be fixed. It's raised on python26 as well. Highly unlikely that anything is wrong with Python installation here. Marking it invalid and closing it.

@SS
Copy link
Mannequin Author

SS mannequin commented Oct 22, 2010

finally was able to figure it out.
i had another product installed, which uses python 2.4 that product during installation put PYTHONHOME into system variable environment.

as soon as i either change that PYTHONHOME to my latest python path c:\python26 everything starts working.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build topic-installation
Projects
None yet
Development

No branches or pull requests

2 participants