logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

pycharm运行python报错 CreateProcess error=2, 系统找不到指定的文件

运行别人的项目出现报错Error running 'train_frcnn': Cannot run program "C:\Users\Administrator\anaconda\envs\py3\bin\python" (in directory "E:\xxx\xxxxx"): CreateProcess error=2, 系统找不到指定的文件。此报错乃是运行环境有问题,找到项目目录下的.

Springboot web项目简单统计在线人数

web项目中都是短连接,无法根据连接的开启与断开做判断,只能简单的根据session的创建与销毁来判断在线人数,做不到实时统计。好了,直接上代码#1、springboot的启动类加上@ServletComponentScan注解#2、创建一个监听器@WebListenerpublic class OnlineSessionListener implements HttpSessionListene

pycharm运行python报错 CreateProcess error=2, 系统找不到指定的文件

运行别人的项目出现报错Error running 'train_frcnn': Cannot run program "C:\Users\Administrator\anaconda\envs\py3\bin\python" (in directory "E:\xxx\xxxxx"): CreateProcess error=2, 系统找不到指定的文件。此报错乃是运行环境有问题,找到项目目录下的.

spring+mybatis-plus 基于注解注入DataSource失败的解决

//Mybatis-plus的配置类(略去无关代码)@Configurationpublic class MyBatisConfig {@Resourceprivate DruidDataSource dataSource;@Beanpublic MybatisSqlSessionFactoryBean sqlSessionFactory(){MybatisSqlSessionFactoryBea

#spring
godot export template下载

【代码】godot export template下载。

文章图片
#godot#游戏引擎
Access-Control-Allow-Origin 解决跨域权限问题

Nginx 解决办法:add_header Access-Control-Allow-Origin *;add_header Access-Control-Allow-Headers X-Requested-With;add_header Access-Control-Allow-Methods GET,POST,OPTIONS;将这段代码添加到 http{} 或者静态资源

mysql中删除两条重复的数据,只保留一条

鉴于2条完全一样的数据,无法区别,只好让他们不一样,于是插入alter table table_name add column id int(11) PRIMARY KEY AUTO_INCREMENT;delete from table_name where id in (select id from (select  max(id) as id, count(user_rol

MYSQL之表分区----按日期分区

错误的按日期分区例子最直观的方法,就是直接用年月日这种日期格式来进行常规的分区:PLAIN TEXTCODE:mysql>create table rms (d date)->partition by range (d)-> (partition p0 values less than ('1995-01-01'),->partition

MYSQL之表分区----按日期分区

错误的按日期分区例子最直观的方法,就是直接用年月日这种日期格式来进行常规的分区:PLAIN TEXTCODE:mysql>create table rms (d date)->partition by range (d)-> (partition p0 values less than ('1995-01-01'),->partition

    共 11 条
  • 1
  • 2
  • 请选择