tensorflow1.13,gpu版本,导入时错误,无法找到指定模块

tensorflow1.13 cuda 10.1 cudnn 7.5 python3.6
tensorflow直接用pip安装的,普通的CPU版本没有问题,就是GPU版本会出现这个错误
图片说明

重新安装过好多遍了,显卡驱动也更新了
用的是笔记本,双显卡,gtx960M

0

3个回答

cudnn版本和cuda不匹配,或者不兼容,你一定要找对应的版本,或者你试着直接修改下cudnn对应dll的文件名(但是可能不稳定)

0
shiro_code
shiro_code cudnn我是直接在官网找的对应cuda10.1版本的,应该不会不匹配才对啊
5 个月之前 回复

跟楼主一样的问题, cuda 10.1.105, cudnn10.1.105, , tensorRt5.0.4.3, 安装 tensorflow_gpu-1.13.1 的版本, 提示错误, 跟楼主一样.
折腾了一天, 也没啥进展.

0

降低版本吧,参考对应版本,没看到有1.13版本的对应呀

0
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
[模块]import导入时指定别名
第一阶段(4-10天)rn 该阶段我们正式进入Python这门语言的学习,我们会学习Python语言的核心语法及进阶内容。rn第二阶段(11-13天)rn 该阶段我们会学习面向对象(OOP)这一重要的编程思想rn第三阶段(14-15天)rn 该阶段是项目演练阶段,我们会带领大家通过使用之前学习过的知识开发飞机大战这一经典游戏。
数据库相同版本的数据文件导入时出错
解决方法,将你所要导入的数据库文件所在的文件夹的属性中安全的权限更改一下,如截图中,将完全控制勾选出来
导入时如何定制spring-boot依赖项的版本
spring-boot通过maven的依赖管理为我们写好了很多依赖项及其版本,我们可拿来使用。spring-boot文档介绍了两种使用方法,一是继承,二是导入。 通过继承:<project> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</a
求助!.sql导入时发生错误!怎么回事???
导入时出错,提示如下,怎么回事????rnC:\mysql\bin>mysql -u root music < music.sqlrnERROR 1067 (42000) at line 1: Invalid default value for 'cate_id'rn
excel导入时,System.Data.OleDb.OleDbException错误是怎么回事?
<%@ Page Language="VB" %>rn<%@ Import Namespace="System.Data" %>rn<%@ Import Namespace="System.Data.Oledb" %> rn rnrnrnrn读取C盘根目录下的test.xls文件,并以DataGrid的形式显示出来rnrnrn rnrn===========================rn异常详细信息: System.Data.OleDb.OleDbException: 未指定的错误rnrn源错误: rnrn行 12: myData.Fill(myDataset)rn rn
oracle错误:cmd导入时报错-12541
imp system/123@SG fromuser=btc_shouguang touser=btc_shouguang file='D:\btc_shouguang_20150916.dmp' ignore=y; 执行导入时,导入时错误: IMP-00058:oracle error 12541 encountered ORA-12541:TNS:no listener 解决办
imp导入时遇到IMP-00017错误,求救
这是我的语句rnimp zjj/chunfeng@zhangjj fromuser=zjj rows=y indexes=n commit=y buffer=65536 feedback=100000 ignore=y file=d:\zjj.dmp log=d:\zjj.logrnrnIMP-00017: 由于 ORACLE 的 942 错误,以下的语句失败rn "CREATE DIMENSION "CUSTOMERS_DIM" LEVEL "CUSTOMER" IS ("CUSTOMERS"."CUST_ID""rn ") LEVEL "CITY" IS ("CUSTOMERS"."CUST_CITY") LEVEL "STATE" IS ("CUSTOMERS".""rn "CUST_STATE_PROVINCE") LEVEL "COUNTRY" IS ("COUNTRIES"."COUNTRY_ID") LEVEL ""rn "SUBREGION" IS ("COUNTRIES"."COUNTRY_SUBREGION") LEVEL "REGION" IS ("COUNTRI"rn "ES"."COUNTRY_REGION") LEVEL "GEOG_TOTAL" IS ("COUNTRIES"."COUNTRY_TOTAL") L"rn "EVEL "CUST_TOTAL" IS ("CUSTOMERS"."CUST_TOTAL") HIERARCHY "CUST_ROLLUP" ("C"rn "USTOMER" CHILD OF "CITY" CHILD OF "STATE" CHILD OF "CUST_TOTAL") HIERARCHY "rn ""GEOG_ROLLUP" ("CUSTOMER" CHILD OF "CITY" CHILD OF "STATE" CHILD OF "COUNTR"rn "Y" CHILD OF "SUBREGION" CHILD OF "REGION" CHILD OF "GEOG_TOTAL" JOIN KEY (""rn "CUSTOMERS"."COUNTRY_ID") REFERENCES "COUNTRY") ATTRIBUTE "CUSTOMER" DETERMI"rn "NES "CUSTOMERS"."CUST_FIRST_NAME" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMER"rn "S"."CUST_EMAIL" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_MAIN_PHON"rn "E_NUMBER" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_POSTAL_CODE" AT"rn "TRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_STREET_ADDRESS" ATTRIBUTE ""rn "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_CREDIT_LIMIT" ATTRIBUTE "CUSTOMER" D"rn "ETERMINES "CUSTOMERS"."CUST_INCOME_LEVEL" ATTRIBUTE "CUSTOMER" DETERMINES ""rn "CUSTOMERS"."CUST_YEAR_OF_BIRTH" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS""rn "."CUST_MARITAL_STATUS" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_GE"rn "NDER" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_LAST_NAME" ATTRIBUT"rn "E "CITY" DETERMINES "CUSTOMERS"."CUST_CITY" ATTRIBUTE "STATE" DETERMINES "C"rn "USTOMERS"."CUST_STATE_PROVINCE" ATTRIBUTE "COUNTRY" DETERMINES "COUNTRIES"."rn ""COUNTRY_NAME" ATTRIBUTE "SUBREGION" DETERMINES "COUNTRIES"."COUNTRY_SUBREG"rn "ION" ATTRIBUTE "REGION" DETERMINES "COUNTRIES"."COUNTRY_REGION" ATTRIBUTE ""rn "GEOG_TOTAL" DETERMINES "COUNTRIES"."COUNTRY_TOTAL" ATTRIBUTE "CUST_TOTAL" D"rn "ETERMINES "CUSTOMERS"."CUST_TOTAL""rnIMP-00003: 遇到 ORACLE 错误 942rnORA-00942: 表或视图不存在rnrn不知道如何解决?
exp,imp导入时用户名密码错误
备忘 刚在做oracle迁库时写的批处理中一直让输入密码然后账号密码错误,尝试多次无果,后来终于找到问题原因 原来是文件路径需要\分割,而账号密码需要/分割,如果账号密码用\分割的话就会将abc/abc识别为账号,这样就要求你输入密码 而不是将其当做账号abc密码abc来输入
下面的.SQL文件导入时出现错误……
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'go if exists(select * from sysdatabases where name='ManageDB') begin drop da' at line 2rnrn我的数据库版本是5.0.67 请高手指教,以下是.sql文件内容rnrnrnuse masterrngornif exists(select * from sysdatabases where name='ManageDB')rnbeginrn drop database ManageDBrnendrncreate database ManageDBrngornrnuse ManageDBrngorn--------用户信息--------------rncreate table userInforn(rnUserId int primary key identity(1,1) , --用户idrnUserName varchar(10) not null, --用户名rnGender varchar(4) default '女', --用户性别rnUserBirthday datetime , --用户生日rnUserPwd varchar(10) , --用户密码rnUserEmail varchar(20) , --用户邮件rnUserCity varchar(50), --用户所在城市rnUserPhone varchar(20),rnUserIntegral int default(0) --用户积分rn)rngornrninsert into userInfo values('王丽','女','1988-12-17','123456','wansg11li@163.com','11111','1348465094',50000)rninsert into userInfo values('刘兴','男','1986-05-17','456123','lsiuddxing@163.com','1111111','1551201463',20000)rninsert into userInfo values('刘一','女','1985-05-19','111111','lsiusdxsing@163.com','11111','1584651423',10000)rninsert into userInfo values('刘二','男','1986-05-17','456123','liuxfdsfdsfdsfdsing@163.com','1111111','',20000)rninsert into userInfo values('二二','','','456123','liuxifdsfdsafng@163.com','11111111111','',20000)rninsert into userInfo values('yiyi','','','456123','liuxdfdsfdsfdsfdsing@163.com','11111111111111111','',0)rnrnselect * from userInforn--------礼品信息--------------rnrncreate table GiftsInforn(rnGiftsId int primary key identity(1,1) ,rnUserId int foreign key references userInfo(UserId) ,rnGiftsName varchar(20) not null,rnGiftsIntegral int default(0) not null,rnGiftsImg varchar(20) not nullrn)rngornrninsert into GiftsInfo values(1,'热水杯',1300,'a.jpg')rninsert into GiftsInfo values(1,'克',1000,'a.jpg')rninsert into GiftsInfo values(1,'小克',1500,'a.jpg')rninsert into GiftsInfo values(2,'热水杯',1300,'a.jpg')rninsert into GiftsInfo values(2,'克',1000,'a.jpg')rninsert into GiftsInfo values(3,'小快克',1500,'a.jpg')rninsert into GiftsInfo values(3,'水杯',1300,'a.jpg')rninsert into GiftsInfo values(4,'克',1000,'a.jpg')rninsert into GiftsInfo values(4,'小克',1500,'a.jpg')rnrnselect * from GiftsInforn--------最新礼品信息--------------rncreate table NewsGiftsrn(rnNGId int primary key identity(1,1),rnNGName varchar(20) ,rnNGIntegral int ,rnNGImg varchar(100) rn)rngorninsert into Newsgifts values('11111111111111',1233,'~/images/mem/lp_thub.gif')rninsert into Newsgifts values('11111111111111',1233,'~/images/mem/lp_thub.gif')rninsert into Newsgifts values('11111111111111',1233,'~/images/mem/lp_thub.gif')rninsert into Newsgifts values('彩11111111111111',1233,'~/images/mem/lp_thub.gif')rninsert into Newsgifts values('11111111111111伞',1233,'~/images/mem/lp_thub.gif')rninsert into Newsgifts values('fdsfds伞',1233,'~/images/mem/lp_thub.gif')rninsert into Newsgifts values('dfsdsfd',1233,'~/images/mem/lp_thub.gif')rninsert into Newsgifts values('fdsfds',1233,'~/images/mem/lp_thub.gif')rninsert into Newsgifts values('dfsfdsf',1233,'~/images/mem/lp_thub.gif')rninsert into Newsgifts values('fdsfdsfds',1000,'a.gif')rnselect * from NewsGiftsrnrn---------------------------------------------------------------------------------------rn--declare @UserIntegralrn--update userInfo set UserIntegral= 10000 where [UserId] = 1rnrnselect convert(char(10),UserBirthday,120) as 'UserBirthday' from UserInforn---------------------------------------------------------------------------------------rnrnselect Username,Gender,UserEmail,UserCity,UserIntegral,convert(char(10),UserBirthday,120) as 'UserBirthday' from UserInforn---------------------------------------------------------------------------------------rnrncreate table UserIntegralrn(rnIntegral_Id int foreign key references userInfo(UserID) identity(1,1),rnIntegral_Users int rn)rngorninsert into UserIntegral values(50000)rninsert into UserIntegral values(20000)rnselect * from UserIntegralrnrnselect * from userInfo as a join userIntegral as b on a.UserId=b.Integral_Idrnrnrn--create table GiftsInforn--(rn--giftsId int primary key identity(1,1) not null, --礼品编号rn--giftsName varchar(50) not null,rn--rn--giftsIntegral int not null --礼品积分rn--)
Android工程导入时常见的错误解决方法
在导入一个Android工程后,一般会遇到以下错误:     1. Unable to resolve target 'android-xx'     解决方法:             右键点击一下项目名称->“刷新”,之后关闭工程,再次打开。     2. 再次打开后,出现:         error: Error retrieving parent for item: No re
导出的excel再导入时出现错误
本人正在先从数据库导出excel表,然后再把导出的excel重新导入到数据库中,现在出现以后问题 rn 1:服务器生成excel并下载; rn HttpContext.Current.Response.AppendHeader("Content-Disposition","attachment;filename=Sheet1.xls"); rn HttpContext.Current.Response.Charset ="UTF-8"; rn HttpContext.Current.Response.ContentEncoding =System.Text.Encoding.Default; rn HttpContext.Current.Response.ContentType ="application/ms-excel"; rn DataGrid1.Page.EnableViewState =false; rn System.IO.StringWriter tw = new System.IO.StringWriter() ; rn System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter (tw); rn DataGrid1.RenderControl(hw); rn HttpContext.Current.Response.Write(tw.ToString()); rn HttpContext.Current.Response.End(); rn Response.Redirect(Request.RawUrl); rn rn rn 2服务器读取excel文件 rn string strCon="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+"e:/qq.xls"+";Extended Properties='Excel 8.0;HDR=YES;IMEX=1'"; rn OleDbConnection oleCon=new OleDbConnection(strCon); rn OleDbDataAdapter oleDA=new OleDbDataAdapter("select * from [Sheet1$]",oleCon); rn DataSet ds=new DataSet(); rn oleDA.Fill(ds);//此处出错;提示:OleDbException错误. rn DataGrid1.DataSource=ds; rn DataGrid1.DataBind(); rn 但是在服务器端,手动新建的excel 文件就可以正常读取. rn 我也试过好多生成excel文件的方法,但是生成的文件都不能读取,并提示相同的错误,但是,将生成文件的内容,复制到手动新建的excel中时,也可以正常读取. rn 好象这个excel文件找不到Sheet1了 ,是不是我导出的时候哪里出了问题,请教大家!!!rn 本人没多少分了,请谅解
错误:无法找到入口。
错误提示如下:rnrn[img=http://img763.ph.126.net/XDU3uYEl6XBCj2GDWQ0I6g==/4819977501193335107.jpg][/img]rnrn程序大体如下:rnrn[code=C#]rn private OracleConnection m_Connection; //数据库连接rn private OracleCommand m_Command; //数据库操作rn m_Connection = new OracleConnection(strConnectString);rn m_Command = m_Connection.CreateCommand();rn m_Command.CommandText = i_strSQL;rn m_Command.Connection.Open(); [b]//这里出错了[/b]rn intCount = m_Command.ExecuteNonQuery();rn[/code]rnrn再请教OracleConnection和OracleCommand,怎么用呢?rn能不能给个简单的例子rnrn谢谢了!!rnrn
无法找到控件错误
default.aspx :rnrn<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>rnrn<%@ Register TagPrefix="aspSample" rn Namespace="ASPNet.Design.Samples.VB" %>rnrnrnrnrnrn Untitled Pagernrnrn rn rn rn rnrn rn rnrnrnrnrnrnrnDefault.aspx.vb :rnrnNamespace ASPNet.Design.Samples.VBrnrn Public Class TextControlrn Inherits Labelrnrnrn End ClassrnEnd Namespacernrnrnrnrnrn错误信息为:rnrnrnUnknown server tag 'aspSample:TextControl'.rn
无法找到目标主机的错误
      今天我遇到一个很奇怪的错误,我在windows中的hosts文件中已经配置好了ip与域名的映射,可是当我ping我的虚拟主机的时候,出现了无法找到目标主机的错误。于是我尝试直接ping  ip地址,这样就可以ping通了,然后我尝试修改hosts中的域名,当我把域名修改了之后,也可以ping通。只要我一用marshal这个域名,就ping不通。这个问题特别奇怪。       不过最后...
无法找到表---错误?
无法找到表 0。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.IndexOutOfRangeException: 无法找到表 0。rnrn源错误: rnrnrn行 193: DataSet dataset = GetDataSet(SqlString);rn行 194: dataset.CaseSensitive = false;rn行 195: if (dataset.Tables[0].Rows.Count>0)rn行 196: rn行 197: return dataset.Tables[0].Rows[0];rn rnrn源文件: e:\VS2005\精通VC#2005\C23\MyOA\App_Code\DataAccessLayeer\Database.cs 行: 195 rnrn书带的光盘里的代码,运行就错,如上,请大家帮忙看下!先谢谢!!rn
imp导入时遇到
这是我的语句rnimp zjj/chunfeng@zhangjj fromuser=zjj rows=y indexes=n commit=y buffer=65536 feedback=100000 ignore=y file=d:\zjj.dmp log=d:\zjj.logrnrnIMP-00017: 由于 ORACLE 的 942 错误,以下的语句失败rn "CREATE DIMENSION "CUSTOMERS_DIM" LEVEL "CUSTOMER" IS ("CUSTOMERS"."CUST_ID""rn ") LEVEL "CITY" IS ("CUSTOMERS"."CUST_CITY") LEVEL "STATE" IS ("CUSTOMERS".""rn "CUST_STATE_PROVINCE") LEVEL "COUNTRY" IS ("COUNTRIES"."COUNTRY_ID") LEVEL ""rn "SUBREGION" IS ("COUNTRIES"."COUNTRY_SUBREGION") LEVEL "REGION" IS ("COUNTRI"rn "ES"."COUNTRY_REGION") LEVEL "GEOG_TOTAL" IS ("COUNTRIES"."COUNTRY_TOTAL") L"rn "EVEL "CUST_TOTAL" IS ("CUSTOMERS"."CUST_TOTAL") HIERARCHY "CUST_ROLLUP" ("C"rn "USTOMER" CHILD OF "CITY" CHILD OF "STATE" CHILD OF "CUST_TOTAL") HIERARCHY "rn ""GEOG_ROLLUP" ("CUSTOMER" CHILD OF "CITY" CHILD OF "STATE" CHILD OF "COUNTR"rn "Y" CHILD OF "SUBREGION" CHILD OF "REGION" CHILD OF "GEOG_TOTAL" JOIN KEY (""rn "CUSTOMERS"."COUNTRY_ID") REFERENCES "COUNTRY") ATTRIBUTE "CUSTOMER" DETERMI"rn "NES "CUSTOMERS"."CUST_FIRST_NAME" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMER"rn "S"."CUST_EMAIL" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_MAIN_PHON"rn "E_NUMBER" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_POSTAL_CODE" AT"rn "TRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_STREET_ADDRESS" ATTRIBUTE ""rn "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_CREDIT_LIMIT" ATTRIBUTE "CUSTOMER" D"rn "ETERMINES "CUSTOMERS"."CUST_INCOME_LEVEL" ATTRIBUTE "CUSTOMER" DETERMINES ""rn "CUSTOMERS"."CUST_YEAR_OF_BIRTH" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS""rn "."CUST_MARITAL_STATUS" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_GE"rn "NDER" ATTRIBUTE "CUSTOMER" DETERMINES "CUSTOMERS"."CUST_LAST_NAME" ATTRIBUT"rn "E "CITY" DETERMINES "CUSTOMERS"."CUST_CITY" ATTRIBUTE "STATE" DETERMINES "C"rn "USTOMERS"."CUST_STATE_PROVINCE" ATTRIBUTE "COUNTRY" DETERMINES "COUNTRIES"."rn ""COUNTRY_NAME" ATTRIBUTE "SUBREGION" DETERMINES "COUNTRIES"."COUNTRY_SUBREG"rn "ION" ATTRIBUTE "REGION" DETERMINES "COUNTRIES"."COUNTRY_REGION" ATTRIBUTE ""rn "GEOG_TOTAL" DETERMINES "COUNTRIES"."COUNTRY_TOTAL" ATTRIBUTE "CUST_TOTAL" D"rn "ETERMINES "CUSTOMERS"."CUST_TOTAL""rnIMP-00003: 遇到 ORACLE 错误 942rnORA-00942: 表或视图不存在rnrn不知道如何解决?
mysql导入时报错
mysql导入时报错
Sqoop导入时注意事项
参考:http://blog.csdn.net/zleven/article/details/53781111 导入时需要注意: 1)数据库表名需要大写;  我试小写好像也可以 不知道是不是版本问题 Imported Failed: There is no column found in the target table xxx. Please ensure th
python 导入时与运行时
转载自我自己的 github 博客 ——&gt; 半天钟的博客 元编程相关博文的目录及链接 这篇博文是元编程系列博文中的其中一篇、这个系列中其他博文的目录和连接见下: 使用 python 特性管理实例属性 浅析 python 属性描述符(上) 浅析 python 属性描述符(下) python 导入时与运行时 python 元编程之动态属性 python 元编程之类元编程 Preview Py...
位图到导入时的问题?
在vc.net里面, 自己定义的类里面, 成员函数LoadInMap实现位图的初始化.rnvoid MovePicture::LoadInMap(CDC *pDC)rnrn m_Bitmap.LoadBitmap(IDB_BITMAP2);rn m_dcMemory.CreateCompatibleDC(pDC);rn m_dcMemory.SelectObject(&m_Bitmap);rn m_Bitmap.GetBitmap(&m_bmp);rnrn在头文件里面已经加上了Resource.h,该文件里面就是定义了IDB_BITMAP2rnrn编译报错:rne:\程序设计\游戏编程\pintu\pickmap_2\movepicture.cpp(18): error C2065: “IDB_BITMAP2” : 未声明的标识符rnrn请高手赐教, 谢谢.
imp导入时报错
报下列问题----rnIMP-00003: 遇到 ORACLE 错误 54rnORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源, 或者超时失效rnIMP-00017: 由于 ORACLE 错误 54, 以下语句失败:rn "ALTER TABLE "CIFY" ADD FOREIGN KEY ("LANNO") REFERENCES "rn ""SEQ" ("LANNO") ENABLE"rnIMP-00003: 遇到 ORACLE 错误 54rnORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源, 或者超时失效rnIMP-00017: 由于 ORACLE 错误 54, 以下语句失败:rn ALTER TABLE JOB ADD FOREIGN KEY (LANNO) REFERENCES SEQ (LANNO) ON DELETE SET NULL ENABLErnrn数据导入没有问题,所以单独执行了rnALTER TABLE CIFY ADD FOREIGN KEY (LANNO) REFERENCES SEQ (LANNO) ENABLErnrn不知道这样做有无问题,请教各位!rn
导入时发生问题!
我用imp命令导入数据,开始正常,后来就出现了如下错误:rn无法为表空间xxx中的段创建INITIAL区rn由于ORACLE错误1658,以下语句失败:rncreate table .....rnrn请大家帮帮我!
imp导入时问题
导入时出现下面的错误rnIMP-00058: ORACLE 错误12560出现rnORA-12560: TNS: 协议适配器错误rnIMP-00000: 未成功终止导入rnset oracle_sid=prgmrnrn再运行 imp,数据可以导进去了,但是导完imp程序不会退出,关闭DOS窗口,还要设置oracle_sid才可以进行imp,但是虽然数据可以导进去,但是还不能正常结束,哪位能给个解决方法。rnrn
stdole2.tlb导入时的问题
我在程序中需要使用iFontDispPtr智能指针,可是我在stdafx.h中做了如下的定义和导入.rnrn//#define __IFontDisp_INTERFACE_DEFINED__rn#include // MFC core and standard componentsrn#include // MFC extensionsrn#include // MFC Automation classesrn#include // MFC support for Internet Explorer 4 Common Controlsrnrn#ifndef _AFX_NO_AFXCMN_SUPPORTrn#include // MFC support for Windows Common Controlsrnrn//导入ArcInfo的类库文件rn#pragma warning (disable : 4192) // automatically excluding 'Interface' while importing type libraryrn#pragma warning (disable : 4146) // unary minus operator applied to unsigned typern#pragma warning (disable : 4786) //禁掉自动化警告rn#import "esricore.olb" raw_interfaces_only,raw_native_types, named_guids, exclude("OLE_COLOR", "OLE_HANDLE")rnusing namespace esriCore;rnrn#define INITGUIDrn#import "d:\Program Files\Common Files\system\ado\msado15.dll" rename_namespace("ADODB") rename("EOF", "adoEOF") rename("BOF", "adoBOF")rnusing namespace ADODB;rnrn//使用ado访问数据库rn#import "d:\Program Files\Common Files\system\ole db\oledb32.dll" raw_interfaces_only,exclude("IDBPromptInitialize", "IDataInitialize") no_auto_excludernrn#import "D:\WINDOWS\system32\stdole2.tlb" raw_native_types,named_guids,exclude("OLE_COLOR", "OLE_HANDLE","DISPPARAMS","EXCEPINFO")rnusing namespace stdole;rn//导入结束rnrn出错的代码段是:rnrn IFontDispPtr pfont; rn pfont->PutName(_bstr_t(name));rn pfont->PutSize(textHeight);rnrnrn现在在使用iFontDispPtr时出现提示的错误信息:rnrnC:\打印程序\showmap\MyLayout.cpp(730) : error C2039: 'PutName' : is not a member of 'IFontDisp'rn d:\program files\microsoft visual studio\vc98\include\ocidl.h(4800) : see declaration of 'IFontDisp'rnC:\打印程序\showmap\MyLayout.cpp(731) : error C2039: 'PutSize' : is not a member of 'IFontDisp'rn d:\program files\microsoft visual studio\vc98\include\ocidl.h(4800) : see declaration of 'IFontDisp'rnrnrn备注:rn 在ocidl中也有一个IFontDispPtr的定义,并且和stdole2中的定义不一样,我需要使用stdole2中的IFontDispPtr定义,这个定义有上面提供的方法,请那位兄弟帮忙解决,分不够我可以多给
python导入时出现异常
from app import app # 在文件中导入出现包导入重复def parse_zip(self, f_page, p_result, is_result, exception): &quot;&quot;&quot; &quot;&quot;&quot; from app import app    # 在函数中没有报错 with app.app_context(): ...
excel导入时报错
使用语句为rninsert into cdma3 select * fromrnOPENROWSET('MICROSOFT.JET.OLEDB.4.0'rn,'Excel 8.0;DATABASE=d:平均等效用户数.xls',sheet1$)rnrn结果rn服务器: 消息 8114,级别 16,状态 5,行 1rn将数据类型 nvarchar 转换为 float 时出错。rnrnexcel中数据,格式改文本或数值都不行rn名称 数值rnC_BSC1/小区号:站名=黄堡,小区号=998/扇区号:扇区-2/载频号:载频-6 1.062rnC_BSC1/小区号:站名=黄堡,小区号=998/扇区号:扇区-1/载频号:载频-6 0.002rn。。。。rnrnsql表结构 varchar 50,float 8rn
单据导入时出现问题!!!
下面是在做单据导入时遇到的问题,做单笔的添加删除都很正常,数据库是没问题的,以前导入也很正常,昨天出现的,重起服务器也没用,不知道为什么,请问哪位大侠知道原因?rnrn2004-12-09 21:11:21 StandardWrapperValve[default]: Servlet.service() forrnservlet default threw exceptionrnjava.net.SocketException: Connection reset by peer: socket write errorrn at java.net.SocketOutputStream.socketWrite0(Native Method)rn at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)rn at java.net.SocketOutputStream.write(SocketOutputStream.java:126)rn at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:668)rn at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:160)rn at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:523)rn at org.apache.coyote.Response.doWrite(Response.java:524)rn at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:384)rn at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360)rn at org.apache.coyote.tomcat4.OutputBuffer.writeBytes(OutputBuffer.java:417)rn at org.apache.coyote.tomcat4.OutputBuffer.write(OutputBuffer.java:398)rn at org.apache.coyote.tomcat4.CoyoteOutputStream.write CoyoteOutputStream.java:110)rn at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:2073)rn at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1816)rn at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1111)rn at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:506)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)rn at java.lang.Thread.run(Thread.java:536)
导入时的一个小问题
导入数据的时候出现rnSP2-0027: Input is too long (> 2499 characters) - line ignoredrn错误 该怎么解决 rnrn环境ORACLE8.17 NT 倒入数据和数据库的字符集都为UTF-8rnrnrn在线等待中....rn怎样才能把数据导进去rn
求助,无法找到指定硬件
那位高手帮帮忙看下下面的文字,它调用win的什么文件?然后把它传给我吗,急用谢谢!rnrnrn;/*****************************************************************************rn;* Copyright Statement:rn;* --------------------rn;* This software is protected by Copyright and the information containedrn;* herein is confidential. The software may not be copied and the informationrn;* contained herein may not be used or disclosed except with the writtenrn;* permission of MediaTek Inc. (C) 2007rn;*rn;* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREESrn;* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")rn;* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ONrn;* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,rn;* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OFrn;* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.rn;* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THErn;* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, ORrn;* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCHrn;* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSOrn;* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'Srn;* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.rn;*rn;* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVErn;* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,rn;* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,rn;* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TOrn;* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. rn;*rn;* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCErn;* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OFrn;* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF ANDrn;* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDERrn;* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).rn;*rn;*****************************************************************************/rn;rn; usb2ser_2kXP.infrn;rnrn[Version] rnSignature="$Windows NT$" rnClass=Ports rnClassGuid=4D36E978-E325-11CE-BFC1-08002BE10318rnrnrnProvider=%MTK% rnLayoutFile=layout.inf rnDriverVer=11/07/2003,5.0.2153.1 rnrnCatalogFile=usb2ser_2kXP.catrnrn[Manufacturer] rn%MTK%=MTK rnrn[MTK]rn%MTK6218%=Reader,USB\Vid_0e8d&Pid_0003rnrn[DestinationDirs] rnDefaultDestDir=12 rnReader.NT.Copy=12 rnrn[Reader.NT] rnCopyFiles=Reader.NT.Copy rnAddReg=Reader.NT.AddReg rnrn[Reader.NT.Copy] rnusbser.sys rnrn[Reader.NT.AddReg] rnHKR,,DevLoader,,*ntkern rnHKR,,NTMPDriver,,usbser.sys rnHKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" rnrn[Reader.NT.Services] rnAddService = usbser, 0x00000002, Service_Inst rnrn[Service_Inst] rnDisplayName = %Serial.SvcDesc% rnServiceType = 1 ; SERVICE_KERNEL_DRIVER rnStartType = 3 ; SERVICE_DEMAND_START rnErrorControl = 1 ; SERVICE_ERROR_NORMAL rnServiceBinary = %12%\usbser.sys rnLoadOrderGroup = Basernrn[SourceDisksNames]rnrn[SourceDisksFiles]rnrnrnrn[Strings] rnMTK = "MTK" rnMTK6218 = "USB Modem Driver" rnSerial.SvcDesc = "USB Serial emulation modem driver" rn
IDEA模块依赖-无法找到模块
问题:模块依赖时找不到模块 解决办法: 添加需要的模块,即可~~~ 选择1,新建 选择2,导入,一直点击下一步
xmlhttp:"无法找到指定的资源"
在网上找了一下资料,我的是这个原因,rnrnrn“对方资源失效,比如采集某条信息时,对方该条信息不存在导致程序终止错误,也可能是这种情况。这种错误都是出现在调用了 xmlhttp 组件的 Open方法,接着再用Send方法后造成的。当open方法的的 url 参数无法访问时,就会造成 8000005 错误。并且一旦产生这种错误,就会导致应用程序终止,无法继续操作。”rnrnsub get()rnSet objXMLhttp = CreateObject("Microsoft.XMLHTTP")rnobjXMLhttp.Open "GET", "http://www.xxx.com/xx.php?Code=" & xxx, FalsernobjXMLhttp.Sendrn rnIf objXMLhttp.readystate <> 4 Thenrn Exit SubrnEnd Ifrn rnIf objXMLhttp.Status <> 200 Thenrn Exit SubrnEnd Ifrnend subrnrn我要访问的这个网页的确是经常无法访问,我这么写不行?rn要怎么解决阿?rn
matlab中mexw64调用无法找到指定模块
调用mexw64文件时提示rnMEX-file 'C:\Users\manbu\Desktop\毕设\水蒸气性质水蒸汽性质\h_pTx_97.mexw64' 无效: 找不到指定的模块。。
急,导入时导错表空间的问题
我用Enterprise Manager Console 创建了一个表空间hos ,rn创建用户abc ,abc指向hos表空间,rn给用户的权限是 connect ,DBA 。rnrn我在用如下命令导入数据rnimp hosp/his@orcl touser=abc fromuser=abc file=e:\xx.dmprnrn导入后发现hos空间还是空的,文件却导入到system空间去了rnrn怎么回事?难道是导入命令参数写错了??rnrn-------------------rn问题2rn有办法把我导入的错有文件都删除么??就是回滚之类的。
多GPU服务器指定GPU
在使用服务器的时候在终端指定了第3块GPU,但代码还是默认使用第1块GPU,在代码中加入下列几行代码即可: import os os.environ[&quot;CUDA_DEVICE_ORDER&quot;] = &quot;PCI_BUS_ID&quot; os.environ[&quot;CUDA_VISIBLE_DEVICES&quot;] = &quot;1, 2&quot; # 使用第2, 3块GPU ...
pip 安装指定模块的版本
#Linux安装pip sudo yum install python-pip #安装指定版本的模块 pip install selenium==2.39.0
错误:无法找到主类
错误:无法找到主类 有些是初学java时使用javac编译.java文件,使用java 运行时报的错。 我遇到的是在eclipse运行程序时,突然某一次启动报这个错误,原因可能是某次程序运行出错,jvm没有关闭造成的,可以把项目编译的代码删除,删除时如果报有程序在使用就去任务管理器关闭java的运行程序就好了。 ...
无法找到dll文件错误
我已经将dll文件拷贝到应用程序目录下,为什么在调试时有时还会出现无法找到dll文件错误呢?将VB退出再进入就好了。
System.Data.SqlClient.SqlConnection.Open() 错误---〉找不到指定的模块
错误信息:rnrnSystem.IO.FileNotFoundException: 找不到指定的模块。 at System.Data.SqlClient.SqlConnection.Open() rnrn连接的字符串肯定没错。。rn请问大家是什么原因,是不是找不到 sql~.dll文件了
找不到指定的模块的错误 急
System.IO.FileNotFoundException: 找不到指定的模块。rn at System.EnterpriseServices.Platform.Initialize()rn at System.EnterpriseServices.Platform.get_W2K()rn at System.EnterpriseServices.ResourcePool..ctor(TransactionEndDelegate cb)rn at System.Data.SqlClient.ConnectionPool.CreateResourcePool()rn at System.Data.SqlClient.ConnectionPool..ctor(DefaultPoolControl ctrl)rn at System.Data.SqlClient.PoolManager.FindOrCreatePool(DefaultPoolControl ctrl)rn at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)rn at System.Data.SqlClient.SqlConnection.Open()rn at System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState)rn at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)rn at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)rn at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)rn at Flex.index.getDataGrid() in D:\inetpub\wwwroot\Flex\index.asmx.cs:line 78rnrn这是错误,也不知道什么原因rn下面是程序代码,数据库的连接用户和密码全对的,但不知道怎么就是不能用的,我曾经装过一个叫VAssistX的试用插件,还有装了Framework 2.0。不知道会不会是哪儿冲突了,占了某个东东呢?rn请大侠扔金砖呀,求救~~~~rn[WebMethod]rn public DataSet getDataGrid()rn string a;rn string strconn = "data source=localhost;initial catalog=XX;user id=XX;password=XX;"; rn SqlConnection connstr = new SqlConnection(strconn); rn tryrn rn connstr.Open();rn rn catch (System.Exception ex)rn rn a = ex.Message.ToString();rn rn rn rn SqlDataAdapter sda = new SqlDataAdapter("select * from Customers",connstr);rn DataSet ds = new DataSet();rn sda.Fill(ds,"RegUserTable");rn return ds;rn//return ds.Tables["RegUserTable"];rn//return "abc";rn
imp导入时的字符问题
dmp的log文件:rnExport done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character setrnserver uses UTF8 character set (possible charset conversion)rnrnsys的prop$rnNLS_CHARACTERSET WE8MSWIN1252 character setrnNLS_NCHAR_CHARACTERSET AL16UTF16 NCHAR character setrnrnimp时出现:rnIMP-00016: 不支持要求的字符集转换(从类型178到852)rnIMP-00000: 未成功终止导入