Wheel assembly error / "Error: INCLUDES the environment variable is empty"

I am using Python 2.7.11 and trying to install installation modules, but some of them do not work. The message I get is "Wheel assembly error for" X "and" Error: INCLUDES the environment variable is empty. "

I tried installing Scrapy, LXML, and Twisted, and they failed. Some other random modules I tried were installed normally.

I installed pyOpenSSL, added python27 and python27 / scripts to the environment.

Thanks,

+5
source share
2 answers

A quick fix is ​​to install a precompiled version of lxml. You can find it here . If you use .exe, you can point it directly to the python root folder.

After that:

  • close and reopen cmd
  • pip install your_package (make sure cmd is in the correct directory)
  • You have no disappointments with lxml errors!

Hope this helps.

0
source

Use the pre-created library from this link if you are in windows: https://www.lfd.uci.edu/~gohlke/pythonlibs/

Choose the appropriate library appropriate for the python version and desktop setting. For example, I want to install apell in python 3.6 and winamd64, and then download this:

aspell_python-1,15-cp36-cp36m-win_amd64.whl

Now go to the console and type

pip install path-to-.whl

and what is he.

0
source

All Articles