会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
油嘴滑舌
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
13
下一页
2021年3月9日
解决ubuntu激活python虚拟环境错误CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
摘要: 刚创建的python虚拟环境,使用激活命令【conda activate envsName】激活时报错: 解决办法: (1)ubuntu系统命令行执行: source activate (2)ubuntu系统命令行执行: source deactivate (3)重新执行激活命令: conda ac
阅读全文
posted @ 2021-03-09 09:19 DuanYongchun
阅读(2769)
评论(0)
推荐(0)
2020年11月13日
Vue-cli4.x项目打包部署后接口路径错误问题解决方案
摘要: 问题>>>打包配置如下: vue文件接口路径如下: 正常接口路径应为:http://服务器IP:8080/doctor/adminlogin/ID 打包后错误地址为: 解决办法>>>直接将vue文件中的'/api'替换为【this.$request_url】即将源码接口地址改为: (1)在main.
阅读全文
posted @ 2020-11-13 10:42 DuanYongchun
阅读(2015)
评论(0)
推荐(0)
2020年11月7日
【跨域问题】Access to XMLHttpRequest at ‘A’from ‘B’has been blocked by CORS policy :... No ‘Access-Control-Allow-Origin’ header...(Chrome浏览器)
摘要: 问题:跨域问题 解决:安装Chrome插件“Allow CORS: Access-Control-Allow-Origin” YouTube Tutorial 安装并启动插件后刷新出现跨域错误的页面即可完美解决这类跨域问题。
阅读全文
posted @ 2020-11-07 13:00 DuanYongchun
阅读(2390)
评论(0)
推荐(0)
2020年9月30日
Windows安装openslide详细教程
摘要: 下载openslide二进制文件: 链接:https://openslide.org/download/ 将下载好的ZIP文件解压到Anaconda的Library目录下(你也可以选择自己喜欢的目录): 配置【Path】环境变量: 安装openslide-python: pip install op
阅读全文
posted @ 2020-09-30 15:13 DuanYongchun
阅读(5197)
评论(0)
推荐(1)
将Jupyter Notebook解释器设置为虚拟环境(为Jupyter notebook)配置虚拟环境
摘要: 安装ipykernel: conda install ipykernel 为虚拟环境创建kernel文件: conda install -n 环境名 ipykernel 激活conda环境: conda activate 环境名称 将虚拟环境写入Jupyter Notebook的kernel中: p
阅读全文
posted @ 2020-09-30 11:09 DuanYongchun
阅读(675)
评论(0)
推荐(0)
2020年9月15日
Vue展示dcm(dicom)图片-教程
摘要: 1、创建vue项目 #安装Vue CLI cnpm install vue-cli -g #初始化项目 vue init webpack my-project 2、启动项目 npm run dev 3、将初始化的Vue项目中多余的东西都删除直到呈现一个空白页面 4、安装解析Dicom图像的依赖项 #
阅读全文
posted @ 2020-09-15 21:05 DuanYongchun
阅读(2788)
评论(0)
推荐(1)
2020年9月12日
Vue实现鼠标滚轮缩放图片 拖拽图片(类爱奇艺看图)功能
摘要: 转自:https://zhuanlan.zhihu.com/p/228355593?utm_source=wechat_session&utm_medium=social&utm_oi=1145294839229775872
阅读全文
posted @ 2020-09-12 16:33 DuanYongchun
阅读(1023)
评论(0)
推荐(0)
2020年9月9日
Django中模型的创建及使用教程
摘要: Django中模型的创建及使用教程: https://www.jianshu.com/p/8091ed1d6f85
阅读全文
posted @ 2020-09-09 15:35 DuanYongchun
阅读(188)
评论(0)
推荐(0)
Django配置MySQL数据库教程
摘要: 简介 在实际生产环境,Django是不可能使用SQLite这种轻量级的基于文件的数据库作为生产数据库。一般较多的会选择MySQL。如果使用SQLite这种轻量级的数据库不需要手动配置。 一、安装Python访问MySQL的模块 在 Python2 中,使用【pip install mysql-pyt
阅读全文
posted @ 2020-09-09 14:45 DuanYongchun
阅读(1274)
评论(0)
推荐(0)
VSCodeIDE Unable to import 'django.http'pylint(import-error)错误解决办法
摘要: 原因:VSCode中的Python解释器配置和你安装Django时的解释器不一致; 解决办法:更换VSCode中的Python解释器; 打开命令面板(Ctrl + SHIFT + P) 键入【Python Select:Interpreter】解释器 选择安装Django的解释器即可
阅读全文
posted @ 2020-09-09 13:40 DuanYongchun
阅读(817)
评论(0)
推荐(1)
上一页
1
2
3
4
5
6
7
8
···
13
下一页
公告