Share: When pip can't install openpyxl module...

... python openpyxl is a module for parsing .xlsx files, which can be installed by using pip install openpyxl. [[email protected] ~]$ sudo pip install openpyxl [sudo] password for h_pw: Collecting openpyxl Downloading https://files.pythonhosted.org/packages/e5/0a/e0a095149a23cedd9c8db6cdde2af...


The study of one-dimensional diffusion equations - from the quicksand public number

... From the quicksand public number : 1. Theory: Differential Discrete, more basic 2, first contact mation() and ioff() in matplotlib. Ion() turns on interactive mode, ioff() feels like pause image Also, check out other blogs to get: The python visualization library matplotlib has two...


The path problem of the open() function in Django1.11 of Python3

... Python3 The path problem of the open() function in Django1.11 The project directory structure is as follows: in the root module's views.py Relative path problem using open(): View all files in the current directory: Import os Print(os.listdir(’.’)) Program code Print("##################...


Coding and Paper Letter (26)

... 资源整理. 1 Coding: 1. The open source project PyModisAtm, a routine for downloading Modis atmospheric data using Python. The 2.Python library rastercube is used to store large geographic raster datasets on the Hadoop file system (HDFS). The original use case was to store and quickly access...


Solve the problem of Django input Chinese error

... Recently wrote Django code, but always input the following error when inputting Chinese in the admin background: In fact, I will know the encoding problem when I see this. So it was modified on the django code for a long time, but the results are useless. After a few days, I suddenly...


Use TF-IDF and word bag to represent document features

... Use CounterVectorizer and TfidfTransformer to calculate TF-IDF import jieba from sklearn . feature_extraction . text import CountVectorizer , TfidfTransformer , TfidfVectorizer import pandas as pd contents = [ u ' Xiao Ming likes to watch movies, Xiao Hong also likes to watch movies. ' ...


Scrapy tutorial (a) the establishment of the virtual environment

... 1, install the virtualenvwrapper-win package. Use the command pip install virtualenvwrapper-win 2 to enter the workon command to see if it is available. It is normal to find the file at this time, because we have not started to create a virtual environment. 3, start to create a virtual...


Install Python3

... 1 on Linux. Install dependencies 1 # yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel 2. Download Python3 1 # wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz 3. Install python...


Django uses the method

... first step, the configuration of the database second step, create the application third step, define the model class fourth step, generate the data table It can be used simply, provided that your environment has to be built, django is MVT mode, M is the model, V is the view, T is the...


September 25, 2018 Python web framework Django entry theory knowledge

... long time no update article, guilty of sin, and insist on updating the article in the future! Can't be lazy anymore! Memory capacity size conversion: 1TB = 1024GB 1PB = 1024TB 1EB = 1024PB 1ZB = 1024EB ………… 1, what is software Software is a set of instructions for solving a problem or a...