IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> Python知识库 -> 在Windows 10 中,安装django-bootstrap-modal-forms -> 正文阅读

[Python知识库]在Windows 10 中,安装django-bootstrap-modal-forms

1、在pypi官网中下载tar包

https://pypi.org/project/django-bootstrap-modal-forms/#files

在这里插入图片描述
2、加压下载好的压缩包,将包中的setup.py中的这一行

with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
    README = readme.read()

修改为:

with open(os.path.join(os.path.dirname(__file__), 'README.rst'),encoding='UTF-8') as readme:
     README = readme.read()

note:即加上编码格式UTF-8

3、安装

使用cmd调出命令行界面,执行以下命令

python setup.py install
C:\python project\django-bootstrap-modal-forms-2.2.0\django-bootstrap-modal-forms-2.2.0>python setup.py install
running install
running bdist_egg
running egg_info
writing django_bootstrap_modal_forms.egg-info\PKG-INFO
writing dependency_links to django_bootstrap_modal_forms.egg-info\dependency_links.txt
writing requirements to django_bootstrap_modal_forms.egg-info\requires.txt
writing top-level names to django_bootstrap_modal_forms.egg-info\top_level.txt
reading manifest file 'django_bootstrap_modal_forms.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'LICENSE'
writing manifest file 'django_bootstrap_modal_forms.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build
creating build\lib
creating build\lib\bootstrap_modal_forms
copying bootstrap_modal_forms\compatibility.py -> build\lib\bootstrap_modal_forms
copying bootstrap_modal_forms\forms.py -> build\lib\bootstrap_modal_forms
copying bootstrap_modal_forms\generic.py -> build\lib\bootstrap_modal_forms
copying bootstrap_modal_forms\mixins.py -> build\lib\bootstrap_modal_forms
copying bootstrap_modal_forms\utils.py -> build\lib\bootstrap_modal_forms
copying bootstrap_modal_forms\__init__.py -> build\lib\bootstrap_modal_forms
creating build\lib\examples
copying examples\admin.py -> build\lib\examples
copying examples\apps.py -> build\lib\examples
copying examples\forms.py -> build\lib\examples
copying examples\models.py -> build\lib\examples
copying examples\tests.py -> build\lib\examples
copying examples\urls.py -> build\lib\examples
copying examples\views.py -> build\lib\examples
copying examples\__init__.py -> build\lib\examples
creating build\lib\setup
copying setup\settings.py -> build\lib\setup
copying setup\urls.py -> build\lib\setup
copying setup\wsgi.py -> build\lib\setup
copying setup\__init__.py -> build\lib\setup
creating build\lib\tests
copying tests\base.py -> build\lib\tests
copying tests\tests_functional.py -> build\lib\tests
copying tests\tests_unit.py -> build\lib\tests
copying tests\__init__.py -> build\lib\tests
creating build\lib\examples\migrations
copying examples\migrations\0001_initial.py -> build\lib\examples\migrations
copying examples\migrations\__init__.py -> build\lib\examples\migrations
creating build\lib\bootstrap_modal_forms\static
creating build\lib\bootstrap_modal_forms\static\js
copying bootstrap_modal_forms\static\js\jquery.bootstrap.modal.forms.js -> build\lib\bootstrap_modal_forms\static\js
copying bootstrap_modal_forms\static\js\jquery.bootstrap.modal.forms.min.js -> build\lib\bootstrap_modal_forms\static\js
creating build\bdist.win-amd64
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\bootstrap_modal_forms
copying build\lib\bootstrap_modal_forms\compatibility.py -> build\bdist.win-amd64\egg\bootstrap_modal_forms
copying build\lib\bootstrap_modal_forms\forms.py -> build\bdist.win-amd64\egg\bootstrap_modal_forms
copying build\lib\bootstrap_modal_forms\generic.py -> build\bdist.win-amd64\egg\bootstrap_modal_forms
copying build\lib\bootstrap_modal_forms\mixins.py -> build\bdist.win-amd64\egg\bootstrap_modal_forms
creating build\bdist.win-amd64\egg\bootstrap_modal_forms\static
creating build\bdist.win-amd64\egg\bootstrap_modal_forms\static\js
copying build\lib\bootstrap_modal_forms\static\js\jquery.bootstrap.modal.forms.js -> build\bdist.win-amd64\egg\bootstrap_modal_forms\static\js
copying build\lib\bootstrap_modal_forms\static\js\jquery.bootstrap.modal.forms.min.js -> build\bdist.win-amd64\egg\bootstrap_modal_forms\static\js
copying build\lib\bootstrap_modal_forms\utils.py -> build\bdist.win-amd64\egg\bootstrap_modal_forms
copying build\lib\bootstrap_modal_forms\__init__.py -> build\bdist.win-amd64\egg\bootstrap_modal_forms
creating build\bdist.win-amd64\egg\examples
copying build\lib\examples\admin.py -> build\bdist.win-amd64\egg\examples
copying build\lib\examples\apps.py -> build\bdist.win-amd64\egg\examples
copying build\lib\examples\forms.py -> build\bdist.win-amd64\egg\examples
creating build\bdist.win-amd64\egg\examples\migrations
copying build\lib\examples\migrations\0001_initial.py -> build\bdist.win-amd64\egg\examples\migrations
copying build\lib\examples\migrations\__init__.py -> build\bdist.win-amd64\egg\examples\migrations
copying build\lib\examples\models.py -> build\bdist.win-amd64\egg\examples
copying build\lib\examples\tests.py -> build\bdist.win-amd64\egg\examples
copying build\lib\examples\urls.py -> build\bdist.win-amd64\egg\examples
copying build\lib\examples\views.py -> build\bdist.win-amd64\egg\examples
copying build\lib\examples\__init__.py -> build\bdist.win-amd64\egg\examples
creating build\bdist.win-amd64\egg\setup
copying build\lib\setup\settings.py -> build\bdist.win-amd64\egg\setup
copying build\lib\setup\urls.py -> build\bdist.win-amd64\egg\setup
copying build\lib\setup\wsgi.py -> build\bdist.win-amd64\egg\setup
copying build\lib\setup\__init__.py -> build\bdist.win-amd64\egg\setup
creating build\bdist.win-amd64\egg\tests
copying build\lib\tests\base.py -> build\bdist.win-amd64\egg\tests
copying build\lib\tests\tests_functional.py -> build\bdist.win-amd64\egg\tests
copying build\lib\tests\tests_unit.py -> build\bdist.win-amd64\egg\tests
copying build\lib\tests\__init__.py -> build\bdist.win-amd64\egg\tests
byte-compiling build\bdist.win-amd64\egg\bootstrap_modal_forms\compatibility.py to compatibility.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\bootstrap_modal_forms\forms.py to forms.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\bootstrap_modal_forms\generic.py to generic.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\bootstrap_modal_forms\mixins.py to mixins.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\bootstrap_modal_forms\utils.py to utils.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\bootstrap_modal_forms\__init__.py to __init__.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\admin.py to admin.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\apps.py to apps.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\forms.py to forms.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\migrations\0001_initial.py to 0001_initial.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\migrations\__init__.py to __init__.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\models.py to models.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\tests.py to tests.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\urls.py to urls.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\views.py to views.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\examples\__init__.py to __init__.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\setup\settings.py to settings.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\setup\urls.py to urls.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\setup\wsgi.py to wsgi.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\setup\__init__.py to __init__.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\tests\base.py to base.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\tests\tests_functional.py to tests_functional.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\tests\tests_unit.py to tests_unit.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\tests\__init__.py to __init__.cpython-39.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying django_bootstrap_modal_forms.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying django_bootstrap_modal_forms.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying django_bootstrap_modal_forms.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying django_bootstrap_modal_forms.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying django_bootstrap_modal_forms.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
setup.__pycache__.settings.cpython-39: module references __file__
creating dist
creating 'dist\django_bootstrap_modal_forms-2.2.0-py3.9.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing django_bootstrap_modal_forms-2.2.0-py3.9.egg
creating c:\software\python\python39\lib\site-packages\django_bootstrap_modal_forms-2.2.0-py3.9.egg
Extracting django_bootstrap_modal_forms-2.2.0-py3.9.egg to c:\software\python\python39\lib\site-packages
Adding django-bootstrap-modal-forms 2.2.0 to easy-install.pth file

Installed c:\software\python\python39\lib\site-packages\django_bootstrap_modal_forms-2.2.0-py3.9.egg
Processing dependencies for django-bootstrap-modal-forms==2.2.0
Searching for Django>=1.8
Reading https://pypi.org/simple/Django/
Downloading https://files.pythonhosted.org/packages/66/90/bce00eb942fbc47b0774ac78910ee4e6f719572aad56dc238823e5d0ee54/Django-4.0.4-py3-none-any.whl#sha256=07c8638e7a7f548dc0acaaa7825d84b7bd42b10e8d22268b3d572946f1e9b687
Best match: Django 4.0.4
Processing Django-4.0.4-py3-none-any.whl
Installing Django-4.0.4-py3-none-any.whl to c:\software\python\python39\lib\site-packages
Adding Django 4.0.4 to easy-install.pth file
Installing django-admin-script.py script to C:\software\python\Python39\Scripts
Installing django-admin.exe script to C:\software\python\Python39\Scripts

Installed c:\software\python\python39\lib\site-packages\django-4.0.4-py3.9.egg
Searching for tzdata
Reading https://pypi.org/simple/tzdata/
Downloading https://files.pythonhosted.org/packages/89/2d/49329ebec33b14dae61ecc8c85abe596341832fa36c4bcd3d99fddda018b/tzdata-2022.1-py2.py3-none-any.whl#sha256=238e70234214138ed7b4e8a0fab0e5e13872edab3be586ab8198c407620e2ab9
Best match: tzdata 2022.1
Processing tzdata-2022.1-py2.py3-none-any.whl
Installing tzdata-2022.1-py2.py3-none-any.whl to c:\software\python\python39\lib\site-packages
Adding tzdata 2022.1 to easy-install.pth file

Installed c:\software\python\python39\lib\site-packages\tzdata-2022.1-py3.9.egg
Searching for sqlparse>=0.2.2
Reading https://pypi.org/simple/sqlparse/
Downloading https://files.pythonhosted.org/packages/05/40/d836d55fb3f467243ee839ab7b814822fda522cd395fa41e282684e71ee5/sqlparse-0.4.2-py3-none-any.whl#sha256=48719e356bb8b42991bdbb1e8b83223757b93789c00910a616a071910ca4a64d
Best match: sqlparse 0.4.2
Processing sqlparse-0.4.2-py3-none-any.whl
Installing sqlparse-0.4.2-py3-none-any.whl to c:\software\python\python39\lib\site-packages
Adding sqlparse 0.4.2 to easy-install.pth file
Installing sqlformat-script.py script to C:\software\python\Python39\Scripts
Installing sqlformat.exe script to C:\software\python\Python39\Scripts

Installed c:\software\python\python39\lib\site-packages\sqlparse-0.4.2-py3.9.egg
Searching for asgiref<4,>=3.4.1
Reading https://pypi.org/simple/asgiref/
Downloading https://files.pythonhosted.org/packages/0b/9f/5f3b91391578312827561b669a0397d58535b4e82966c8f1667525c7d563/asgiref-3.5.0-py3-none-any.whl#sha256=88d59c13d634dcffe0510be048210188edd79aeccb6a6c9028cdad6f31d730a9
Best match: asgiref 3.5.0
Processing asgiref-3.5.0-py3-none-any.whl
Installing asgiref-3.5.0-py3-none-any.whl to c:\software\python\python39\lib\site-packages
Adding asgiref 3.5.0 to easy-install.pth file

Installed c:\software\python\python39\lib\site-packages\asgiref-3.5.0-py3.9.egg
Finished processing dependencies for django-bootstrap-modal-forms==2.2.0

在这里插入图片描述
在这里插入图片描述

  Python知识库 最新文章
Python中String模块
【Python】 14-CVS文件操作
python的panda库读写文件
使用Nordic的nrf52840实现蓝牙DFU过程
【Python学习记录】numpy数组用法整理
Python学习笔记
python字符串和列表
python如何从txt文件中解析出有效的数据
Python编程从入门到实践自学/3.1-3.2
python变量
上一篇文章      下一篇文章      查看所有文章
加:2022-04-29 12:06:21  更:2022-04-29 12:07:26 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年12日历 -2024/12/28 8:22:14-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码
数据统计