• 2024-09-13学习高校课程-系统设计与分析-概述(lec1)
    LectureTopicsCourseintroduction&AnOverviewofSystemAnalysisandDesignProjectManagementandInformationRequirementsAnalysisOOAD,UPandUMLRequirementsAnalysisandUseCaseModelingAgileModelingMovingintoDesign(SRSDue)Prelimina
  • 2024-09-09python 创建虚拟环境
    使用python-venv可以创建一个独立的Python虚拟环境,方便管理项目依赖。以下是如何使用python-venv创建和激活虚拟环境的步骤:1.安装Pythonvenv模块大多数Python版本自带venv模块。如果没有,可以通过包管理工具安装:sudoaptinstallpython3-venv#在Ubuntu/Debia
  • 2024-09-09pipenv + 离线移植项目 遇到的问题
    由于即将移植的设备没有网络,像pipenvinstall-rrequirements.txt和pipenvinstall--dev这种需要使用网络的命令就不能使用了,找资料也没有找到什么好的方法。在这里说一说我移植部署成功的做法。我又用回了pip,怪怪的感觉,感觉这样好像就没有必要用pipenv了。实施步骤:1.到项
  • 2024-09-04使用python虚拟环境相关的一点建议
    1.不要直接使用base虚拟环境为某个项目所用。理由如下:全局依赖:base环境中的包是全局的,所有项目都会共享这些包。如果不同项目需要不同版本的同一个包,可能会导致依赖冲突。版本控制:在base环境中,更新一个包可能会影响其他项目的正常运行。或者删除一个包,也可能对其他项目造成
  • 2024-09-04【Python技术学习】- python pip
    pip是Python包管理工具,该工具提供了对Python包的查找、下载、安装、卸载的功能。软件包也可以在 PyPI·ThePythonPackageIndex 中找到。目前最新的Python版本已经预装了pip。注意:Python2.7.9+或Python3.4+以上版本都自带pip工具。如果没有安装可以
  • 2024-08-22Uruguay Immigration Requirements
    Uruguayoffersarelativelystraightforwardimmigrationprocess,especiallyforthoselookingtoresideinthecountrylong-term.Herearesomegeneralrequirements:1.TouristVisaCitizensfrommanycountries(liketheUS,EU,andCanada)donotrequir
  • 2024-08-21pip命令
    pip是Python的包管理器,就像手机里的应用商店一样,可以方便地帮你安装、升级或卸载Python的各种第三方库。1、安装pip如果你是Python新手,很可能系统已经自带pip。验证是否已安装,只需在命令行输入:python-mpip--version若未安装,可参考官方指引进行安装。2、安装Python库想
  • 2024-08-20django三
    不同环境配置https://blog.csdn.net/happylee524/article/details/104067973pythonyour_project/manage.pyrunserver0.0.0.0:8000--settings=your_project.settings.set_dev低版本MySQL启动必须注释源码(django高版本不支持Mysql低版本)django\db\backends\base\base.py#s
  • 2024-08-06odoo17 环境配置
    1、PostgreSql数据库安装教程:Windows上安装PostgreSQL|菜鸟教程(runoob.com) (建议版本15以上)注意:由于Odoo是不允许用pg自带的管理员角色--postgres,所以得创一个odoo使用数据库的角色:createuserodoowithpassword'odoo';alterroleodoowithsuperuser;也可
  • 2024-08-02创建xtrbackup备份用户 ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
    查看密码策略mysql>SHOWVARIABLESLIKE'validate_password%';+--------------------------------------+--------+|Variable_name|Value|+--------------------------------------+--------+|validate_password_check_user_name
  • 2024-07-24python的包管理
    获取现有项目有那些依赖安装pipreqspipinstallpipreqs在项目根目录执行pipreqs.--encoding=utf8--force--pypi-server=http://mirrors.aliyun.com/pypi/simple/根据生成文件安装依赖pipinstall-rrequriements.txtpipreqs命令选项Options:--use-local
  • 2024-07-24本地gpt安装使用
    克隆到本地安装anaconda3具体步骤#克隆PSD:\studyfile\gpt>gitclonehttps://github.com/binary-husky/gpt_academic.gitCloninginto'gpt_academic'...remote:Enumeratingobjects:11089,done.remote:Countingobjects:100%(680/680),done.remo
  • 2024-07-17(新)app逆向一 虚拟环境的使用
    python虚拟环境创建1.使不同的应用开发环境独立2.环境升级也不影响其他的应用,也不会影响全局的python环境3.防止报管理混乱及版本的冲突导出项目的依赖#.查看模块pipfreeze#虚拟模块导出到文件中pipfreeze>requirements.txt#别人要用我们的项目-打开项目后执行
  • 2024-07-13使用 pip 和 requirements.txt 安装 Python 包
    1.构建当前项目需要的软件包pip3installpipreqspip3installpip-toolspipreqs--savepath=requirements.in&&pip-compile1.根据配置文件批量安装软件包。requirements.txt在某些环境中,可使用pip3而不是pippipinstall-rrequirements.txt2.检查当前环境
  • 2024-07-03pip 的几种安装方式
    基本使用#安装pipinstallnumpy#更新pipinstall-Unumpy#卸载pipuninstallnumpy指定源安装安装时指定:#清华源pipinstallnumpy-ihttps://pypi.tuna.tsinghua.edu.cn/simple/#豆瓣源pipinstallnumpy-ihttps://pypi.douban.com/simple/全局配置:pi
  • 2024-07-01Python离线下载并安装包及其依赖
    1,安装pipdeptree:PSD:\test>pipinstallpipdeptree2,假如想在内网安装flask,先在外网下载安装:PSD:\test>pipinstallflask3,使用pipdeptree查看并生成requirements.txtPSD:\test>pipdeptree-f-pflaskFlask==1.1.2click==7.1.2itsdangerous==1.1.0Jinja2==2.11.2
  • 2024-06-17pip 使用
    换源临时更换镜像源pipinstall-ihttps://pypi.tuna.tsinghua.edu.cn/simple/some-package永久更换镜像源在文件~/.pip/pip.conf中填入以下内容:[global]index-url=https://pypi.tuna.tsinghua.edu.cn/simple[install]trusted-host=https://pypi.tuna.tsinghua.e
  • 2024-05-30创新实训 (二)
    在对模型进行部署时,可以使用魔搭默认的环境,CPU免费,GPU有使用的时间限制,需要关联阿里云的账号,因为CodeGeeX要用GPU,所以先选择限制使用时长的GPU。在相应的模型库中选择:CodeFuse-CodeGeeX2-6B使用教程中对应的gitclonehttps://www.modelscope.cn/codefuse-ai/CodeFuse-C
  • 2024-05-29打包迁移Python env环境
    打包迁移Pythonenv环境平常工作中可能遇到虚拟迁移python虚拟环境的场景,总结了如下几个方法。适用于同架构、相同类型系统之间的python环境迁移。方法一:使用pipfreeze和requirements.txt这种方法将当前环境中的所有包记录到一个文件中,然后在新环境中安装这些包。1.导出当前
  • 2024-05-29如何导出与pip库版本相关的requirement.txt文件
    在Python项目中,导出与pip库版本相关的requirements.txt文件是一个常见的任务。这个文件包含当前环境中所有已安装的包及其版本信息,可以用于在其他环境中再现相同的包安装。步骤:1.激活虚拟环境首先,确保你已经激活了你的虚拟环境。如果你没有使用虚拟环境,建议你创建
  • 2024-05-24python 离线按照PyQt5
    首先外网下载所需要的安装包1.新建虚拟环境python-mvenvQtTest2.安装PyQt5和PyQt5-tools这两个库pipinstallpyQt5-tool-ihttps://mirrors.aliyun.com/pypi/simple/pipinstallPyQt5-tool-ihttps://mirrors.aliyun.com/pypi/simple/3.导出requirements.txt这个文
  • 2024-05-11pycharm
    1、打开File->Settings->VersionControl->Git,在PathtoGitexecutable处选择git的安装位置2、pip3install -rrequirements/base.txt-ihttps://repo.huaweicloud.com/repository/pypi/simple/3、File>>NewProject>>NewenvironmentusingVirtu
  • 2024-05-11python pip的各功能工作中使用说明
    根据pip命令行出来的有如下功能。installInstallpackages.downloadDownloadpackages.uninstallUninstallpackages.freezeOutputinstalledpackagesinrequirementsformat.list
  • 2024-05-08StoryDiffusion文字生漫画
    地址https://github.com/HVision-NKU/StoryDiffusion安装condacreate-nstorydiffpython==3.11.0condaactivatestorydiff#修改一下requirements.txtgradio==4.21.0xformers==0.0.25diffusers==0.25.0transformers==4.36.2huggingface-hub==0.20.2spaces==0.19.
  • 2024-05-05AppSpider Pro 7.5.009 for Windows - Web 应用程序安全测试
    AppSpiderPro7.5.009forWindows-Web应用程序安全测试Rapid7DynamicApplicationSecurityTesting(DAST)请访问原文链接:https://sysin.org/blog/appspider/,查看最新版。原创作品,转载请保留出处。作者主页:sysin.orgappspider没有任何应用程序未经测试,没有未知风险