• 2024-09-09python编译安装亲测
    yumgroupinstall"DevelopmentTools"yuminstallzlib-develbzip2-developenssl-develncurses-develsqlite-develreadline-develtk-devellibffi-devellscd/opt/lsmkdirpythoncdpython/  ls  wgethttps://www.python.org/ftp/python/3
  • 2024-08-29No module named 'mininet.cli'报错处理
    Nomodulenamed'mininet.cli'报错处理问题描述在命令行中输入python,在解释器中执行frommininet.cliimportCLI不会报错的前提下,使用makerun编译运行程序时,出现如下报错:Traceback(mostrecentcalllast):File"../../utils/run_exercise.py",line29,in<module>
  • 2024-08-27【python3.8安装报错】lmportError: DLL load failed while importing ft2font: 找不到指定的模块
    客户需求背景:安装python3.8无法运行,报错lmportError:DLLloadfailedwhileimportingft2font:找不到指定的模块 考虑兼容性问题这个问题首先需要考虑的是是否是python版本太高了,因为python3.9不支持win7,而python3.8版本对win7的兼容性也有一定的限制。解决:首先考
  • 2024-08-22python开发环境安装-包含Anaconda的安装配置和pycharm的安装
    一、需要得安装包1、 Anaconda3-5.3.0-Windows-x86_64.exe python环境2、pycharm-professional-2021.2.2.exe     开发工具3、ide-eval-resetter-2.1.13.zip            破解工具二、Anaconda安装Anaconda,中文大蟒蛇,是一个开源的Python发行版本。1
  • 2024-06-24【Python3.8.10打包exe】【Windows】
    Python3.8.10打包exe打包命令pyinstaller-Fxxx.py查看Package及版本号piplist查看Python版本号python-V打包需要用的Package及版本#python版本#3.8.10#wheel版本#0.43.0#pyinstaller版本#6.8.0常用链接chatgptPython标准库—Python3.8.19文档PyPI
  • 2024-05-16python3.8下载过程
    python网址:https://www.python.org/ 下载——————————————选downloads下的windows 稍微等待一会后进入此界面 向下滑,找到3.8.0(python版本并不是按顺序排列的) 选择适合自己的版本下载——————其中X86适用于32系统,X86-64适合64的web-based:透过网
  • 2024-04-25Python3.8.4 解决 ImportError: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' m
    系统版本:CentOSLinuxrelease7.6.1810(Core)编译安装Python3.8.4[root@hankyoon~]#tar-xvfPython-3.8.4.tgz[root@hankyoon~]#cdPython-3.8.4/[root@hankyoon~]#./configure--prefix=/usr/local/python3.8[root@hankyoon~]#make&&makeinstall[
  • 2024-04-15python3 pandas模块import报错 ModuleNotFoundError: No module named '_bz2'
    前言全局说明python3pandas模块import报错ModuleNotFoundError:Nomodulenamed'_bz2'一、环境ubuntu18.04Python3.8.17二、报错内容>>>importpandasTraceback(mostrecentcalllast): File"<stdin>",line1,in<module> F
  • 2024-04-08Python3.8-安装pip-autoremove
    pip-autoremove是一个Python第三方包管理工具扩展,它的作用是在移除指定Python包的同时,自动清理掉因该包而安装但目前已不再被任何其他包依赖的无用依赖项。pipinstallpip-autoremovepip-autoremovepyside2注意:需要将python安装目录的Scripts文件夹中的pip-autor
  • 2024-03-03centos7 安装python3.8
    #cd/usr/local#yum-ygroupinstall"Developmenttools"#yum-yinstallzlib-develbzip2-developenssl-develncurses-develsqlite-develreadline-develtk-develgdbm-develdb4-devellibpcap-develxz-devel#yuminstalllibffi-devel-ywgethttps:/
  • 2024-02-14Debug: tf distribute strategy parameter server: tfx component trainer: OutOfRangeError(), End of seq
    [ERROR:tfdistributestrategyparameterserver:tfxcomponenttrainer:OutOfRangeError(),Node:'cond/IteratorGetNext'Endofsequence]logofpodtfx-component-trainer:2024-02-1409:43:48.571820:W./tensorflow/core/distributed_runtime/eager/
  • 2024-01-30Centos安装Python3.8.2-最新稳定版
    注*以下安装环境为centos,默认root权限下进行的安装升级宝塔自带的python2.7.5到3.8.2一.安装基础库1.更新yum源yum-yupdate2.安装EPEL扩展,PIP安装依赖epel-release库yum-yinstallepel-release当遇到SSL问题‘pipisconfiguredwithlocationsthatrequ
  • 2024-01-29虚拟环境python3.8安装GDAL包
    网上的方法直接是:pipinstallGDAL‑3.4.1‑cp38‑cp38‑win_amd64.whl但是这个方法不适用于我,因为我的pycharm上面的anaconda是python3.7,但是我创建了一个python3.8的虚拟环境所以需要:1.切换虚拟环境2.导入离线包python3.8对应着的GDAL为:GDAL-3.4.3-cp38-cp38-win_amd6
  • 2023-12-18python3.8 模块 paramiko报错 AttributeError: 'NoneType' object has no attribute 'time'
    报错信息Exceptionignoredin:<functionBufferedFile.__del__at0x7f4886fbd160>Traceback(mostrecentcalllast):File"/usr/local/python3/lib/python3.8/site-packages/paramiko/file.py",line67,in__del__File"/usr/local/python3/
  • 2023-12-14ubuntu 创建一个与系统 python 分离的 python 环境
    为什么需要这样的python环境以免破坏系统python避免和其他用户共用python让python环境私有如何创建这样的环境下载python安装包aptdownloadpython3.8-minimal如果系统提示没有对应的版本,可以试试将3.8修改为其他版本。如果有更好的方法,欢迎留言。下载完成
  • 2023-11-20Centos7 使用yum从第三方仓库安装Python3.8
    环境:CentOSLinuxrelease7.9.2009起因:Centos7自带Python2.7.5版本。而默认的YUM安装的python3是3.6版本,遂升级到3.8版本。installPython3.8yuminstall-ycentos-release-scl#仓库注册yuminstall-yrh-python38which#安装python3.8#创建软连接ln-s/opt
  • 2023-11-01如何安装Python3.8版本的TensorFlow?
    condainstallkeras 现在tensorflow2.4支持3.63.73.8可以放心安装pipinstalltensorflowDownloadinghttps://mirrors.aliyun.com/pypi/packages/59/9b/tensorflow-2.5.0-cp38-cp38-manylinux2010_x86_64.whl(454.4MB)升级的话可以加个--upgradepipinstalltensorf
  • 2023-10-27python3.8 debug记录
    AttributeError:module'numpy'hasnoattribute'typeDict'pip3installnumpy==1.18.5ModuleNotFoundError:Nomodulenamed'sklearn'pipinstallscikit-learn(注:安装这个库可能与已有的numpy版本冲突,需要多卸载安装几次)
  • 2023-10-26Django启动时不报错解决方案
    项目启动时有报错,但是无法知道具体信息:[root@Masternew_project]#python3manage.pyrunserverWatchingforfilechangeswithStatReloaderExceptioninthreaddjango-main-thread:Traceback(mostrecentcalllast):File"/usr/local/python3/lib/python3.8/thread
  • 2023-09-23安装python3.8.5
    1本地下载并上传到服务器https://www.python.org/downloads/source/2 mkdir-p/usr/local/python33 yum-yinstallgcczlib-develbzip2-developenssl-develncurses-develsqlite-develreadline-develtk-develgdbm-develdb4-devellibpcap-develxz-devellibff
  • 2023-08-28python3.8以及更高版本 编译pcl
    github https://github.com/strawlab/python-pcl1.安装Cython当前的Cython的版本如下 由于python-pcl代码仓已经是很老的代码了,没有人在维护,高版本的Cython会导致编译失败报错如下Cython.Compiler.Errors.CompileError:pcl/_pcl_180.pyx 使用Cython==0.29版本即可解决
  • 2023-08-17es写入时报TransportError(413, '')
    问题现象:写入时单条或一批次的总数据大小超过es限制就会报TransportError(413,'')解决:修改es配置文件elasticsearch.yml增加max_content_length,具体大小看实际环境需求,越大性能越差http.max_content_length:1024mbFile"/opt/python3.8/site-packages/elasticsearch/hel
  • 2023-08-11ubuntu 22.04安装python3.8
    ubuntu22.04如果直接安装python3,装的是python3.10,但现在某外部程序依赖python3.8,所以需要重新安装。不推荐方法网上常见方法是add-apt-repository添加ppa:deadsnakes源,但这样会导致同时安装python3.8和python3.10。可我不想有两个版本。命令如下:#这是不推荐的安装方法,更
  • 2023-08-09Centos7安装Python3.8
    Centos7安装Python3.8Centos7安装Python3.8安装编译相关工具yum-ygroupinstall"Developmenttools"yum-yinstallzlib-develbzip2-developenssl-develncurses-develsqlite-develreadline-develtk-develgdbm-develdb4-devellibpcap-develxz-develyum-yin
  • 2023-08-07安装python3.8 所对应的pandas 1.3.3 的版本
    1、进入Anacondaprompt环境 2.进入虚拟环境开始安装