Lập Trình Linux

[SOLVED] Failed building wheel for wordcloud under Windows 10 Python 3.5 Anaconda




Wordcloud fails to install with pip under Windows 10 Python 3.5 Anaconda

ONLY SOLUTION: (2:40) directly solution

Command Pallet : Commands that are used in this video
$ pip install wordcloud
$ conda install wordcloud
$ conda install -c wordcloud
$ python -m pip install “filename”

Previous video :

Solution-1:
conda install -c wordcloud

Solution-2:
Download the .whl file compatible with your Python version and your windows distribution (32bit or 64bit) from
cd to the file path
Run this command $ python -m pip install “filename”

This is an issue of compiling cython code with visual studio. Do you have visual studio installed? I’m not very familiar with it.

Collecting wordcloud
Using cached
Collecting matplotlib (from wordcloud) —————————————-
Failed building wheel for wordcloud
Running setup.py clean for wordcloud
Failed to build wordcloud

—————————————-
Command “C:UserskuldeAnaconda3envsmlspacepython.exe -u -c “import setuptools, tokenize;__file__=’C:\Users\kulde\AppData\Local\Temp\pip-install-lu3iw7_c\wordcloud\setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, __file__, ‘exec’))” install –record C:UserskuldeAppDataLocalTemppip-record-wdgvw606install-record.txt –single-version-externally-managed –compile” failed with error code 1 in C:UserskuldeAppDataLocalTemppip-install-lu3iw7_cwordcloud
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the ‘python -m pip install –upgrade pip’ command.

Nguồn:https://ftlinuxcourse.com/

Xem Thêm Bài Viết Khác:https://ftlinuxcourse.com/lap-trinh-linux

Tin HOT
Phùng Ngọc Huy Khổ Sở Chia Sẻ Trên FB Không Thể Về Nước Với Mai Phương TIN TỨC 24H TV
Lập Trình Linux
How to update Kali Linux 2019
Tin HOT
[Vietsub HD] Happy Camp 22/06/2019 | Chu Á Văn, Thang Duy, Kiều Chấn Vũ, Lưu Duy