摘要: 在做机器学习的第30个实验的时候,要在pycharm上安装配置pyhanlp,但是直接pip install pyhanlp 不成功会跳转到一个页面上 下滑下载傻瓜安装包,双击安装 一般这样就可以了,但是我出了问题,原因是因为安装包下载的路径不是我python项目的解释器路径,所以python上还在 阅读全文
posted @ 2024-05-16 11:34 辞楠 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 直接在python的命令符窗口安装dlib会报ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects的错误,我试了很多网上的解决方案都没有成功,然后打算下载d 阅读全文
posted @ 2024-05-06 11:33 辞楠 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 实验14报AttributeError: module 'time' has no attribute 'clock' 将time.clock改为time.perf_counter() 实验18报AttributeError: module 'tensorflow' has no attribute 阅读全文
posted @ 2024-05-06 00:29 辞楠 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 实验三单元测试及JUnit的应用 一、实验目的 1、掌握单元测试的基本理论和作用。 2、掌握典型单元测试工具JUnit 的使用。 二、实验类型 验证加设计。 三、实验内容 测试对于保证软件开发质量有着非常重要的作用,单元测试更是必不可。JUnit是一个非常强大的单元测试包,可以对一个或多个类的单个或 阅读全文
posted @ 2024-04-29 15:59 辞楠 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 点击链接Download and Install · junit-team/junit4 Wiki · GitHub 点击junit.jar 选择下载junit 4.13.2版本的话直接下载junit-4.13.2.jar,这里下载的是4.10版本,所以点击 ../ 选择其他的版本 点击4.10/, 阅读全文
posted @ 2024-04-29 15:57 辞楠 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 参考地址:利用pyecharts实现中国省与市之间的跳转_pyecharts点击地图跳转-CSDN博客 代码: import csv import jionlp as jio from pyecharts import options as opts from pyecharts.charts im 阅读全文
posted @ 2024-04-06 19:17 辞楠 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 之前在安装一些分词、可视化的包的时候,经常会出现报错,说安装时间超时,没有适合的包可以去安装,然后偶然间发现一种安装包的方法,特别好用 在pycharm终端上运行pip命令 pip install 包名 -i https://pypi.tuna.tsinghua.edu.cn/simple/ --t 阅读全文
posted @ 2024-04-04 21:27 辞楠 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 在python上运行鸢尾花分类实验首先要先下载numpy、matplotlib再下载scikit-learn pip install --index https://pypi.mirrors.ustc.edu.cn/simple/ numpy pip install --index https:// 阅读全文
posted @ 2024-04-02 23:27 辞楠 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 解决办法 点击Python Package ->设置 点击加号 在Repository URL中写上以下任意国内镜像源 http://pypi.douban.com/simple/ http://mirrors.aliyun.com/pypi/simple/https://repo.continuu 阅读全文
posted @ 2024-04-01 16:31 辞楠 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 一、环境搭建 anaconda环境搭建: 参考连接:CentOS 7上安装Anaconda 详细教程_centos7 安装anaconda-CSDN博客 首先在centos7上安装Anaconda,使用清华源下载 Anaconda:wget --user-agent="Mozilla" https: 阅读全文
posted @ 2024-03-31 21:01 辞楠 阅读(26) 评论(0) 推荐(0) 编辑