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
Comments
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. |
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. |
Brett, nothing got moved either as it fresh install |
I'm not a Windows user, so there might be a better way to solve this, but... Run Beyond that I am out of my element as it is probably a Windows-specific issue. |
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. |
finally was able to figure it out. as soon as i either change that PYTHONHOME to my latest python path c:\python26 everything starts working. |
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: