I am trying to install lxml fro windows 7 from exe given at https://pypi.python.org/pypi/lxml/3.3.5#downloads. I am getting this error saying python 2.7 is missing in registry. I have tried checking in the registry and its very much there. What should I do now?
Make sure you are using the right version of lxml for the version of Pythonyou have installed. For example, for Python 2.7 32-bit, you need to install lxml-3.3.5.win32-py2.7.exe. If you have Python 2.7 64-bit, then you'll need to install lxml-3.3.5.win-amd64-py2.7.exe.
If that doesn't work, reinstall Python as it probably isn't installed correctly.
Related
Ive been trying for a long time different commands but i always kept getting
Please SPecify --curl....
I tried installing pycurl in a terminal, but it was not working
Pycurl installers can directly be downloaded from from https://dl.bintray.com/pycurl/pycurl/ for your respective Python version
What's the python version you are using? PycURL is only supported for specific versions.
Python 2.7 or 3.4 through 3.6.
Other Python versions won't be able to install PycURL via pip or easy_install , you'll have to manually compile it.
I'm developing with Python on CentOS. Needed Python 2.7 for a certain project. Didn't want to mess with the existing Python 2.6 (64-bit) installation, so installed Python 2.7 (32-bit). Haven't had a problem up until now.
Now I need a new library: lxml. It's actually already installed in the default 2.6 installation, but I need it for Python 2.7. None of the existing installation instruction seem to work. Specifically, I can't use a package manager (for CentOS it's yum), because it is only updating things for the default 2.6 installation. And again, everything from yum is already complete because Python 2.6 already has lxml installed.
If I type in "pip install lxml" I get a ton of error messages but finally it says, "Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?"
Okay, fine. So if I type in "STATIC_DEPS=true pip install lxml", it just times out and fails to download the prerequisites.
Any solution, especially sticking just to pip?
I am trying to install lxml with Python (32 bits) 3.5.1, on Windows 7 64 bits. I tried pip install lxml, but I got the famous error for missing "vcvarsall.bat". If I try to Install visual studio 2015, it requires 6 GB of free space, which I do not have available at the moment, and I'd rather not install a package which I do not plan to use.
I tried downloaded the wheel as suggested here and here, but I still get the whl file "is not a supported wheel on this platform". Wheel and pip are upgraded to the latest versions. What am I missing...?
I have been struggling with this today. I found, elsewhere on stackoverflow.com, this two-part and quick solution, which resulted in python no longer complaining when I tried to use lxml:
go to this repository and download a version which matches your Python installation (the version number, and 32- vs 64-bit. I use Python 3.5.1 64-bit, installed on Windows 10, so on that page, I chose lxml-3.6.0-cp35-cp35m-win_amd64.whl. You say you use the 32-bit version, so use a version that matches that.
My download directory is d:\Downloads. Python must be in your PATH environment variable for the next step to work. Use a command like the following, changing "D:\Downloads" to the pathname to your download directory. Then, at a DOS prompt, type:
python -m pip install "D:\Downloads\lxml-3.6.0-cp35-cp35m-win_amd64.whl" lxml-3.6.0-cp35-cp35m-win_amd64.whl
I've read that there's a nice text-to-speech package called pyttsx that can be included in my Python scripts. As soon as I try to install pyttsx things start falling apart fast. pyttsx is for Python 2.6 (2.7 maybe?) not 3.3. I have 2.7 and 3.3 (also Portable Python 2.7 and 3.2) installed but I can't get setuptools or easy_install to work. I got distribute partly installed but I'm might have seen some errors at the end of its installation so I'm not sure it's working and it won't install pyttsx anyway. There's a Windows .exe program that will let you install Python packages but it won't work for 64-bit Python. I've been searching for answers for days can can't come up with anything specific enough.
How do I install Python packages with 64-bit Python 3.3 on 64-bit Windows 7, or is that even possible?
Best source ever!
this man is a wicked fellow.
With distribute installed, launch the python.exe you want to use.
From within python interactive, run the following code:
from setuptools.command import easy_install
easy_install.main(["-U", "package"])
Substitute "package" for whatever you wish to install.
I am trying to install py2exe. I have Python 2.7 installed on my machine. Their website mentions that they have released support for 2.7, but when I try to install, it mentions that Python Version 2.6 required, which was not found in the registry. I have downloaded py2exe-0.6.9.
Any one else come up with this problem and figured out how to solve it?
Try this link. It's py2exe for Python 2.7.