我以前没有在计算机上安装Visual Studio。但是,当我尝试安装Visual Studio 2008 Express SP1时,出现错误消息
“安装程序检测到此计算机不符合安装此软件的要求。必须满足这些要求,然后才能安装带有SP1-ENU的Microsoft Visual C ++ 2008 Express Edition”
要求和软件先决条件Visual Studios 2008 Service Pack 1已在系统上检测到Microsoft Visual Studio 2008的较早版本,必须先将其更新为SP1,然后才能继续安装。请通过访问Microsoft Update将所有其他版本的Visual Studio 2008更新到SP1,然后安装Visual Studio 2008 Express SP1。
我不确定为什么会收到此消息,因为以前没有安装VS2008。我试图运行VS2008补丁删除工具,但显示“ Visual Studio 2008 Service Pack准备不适用”。我已经应用了Microsoft Update的所有修补程序,但仍然遇到相同的错误。任何想法可能有什么问题吗?
当然你们都知道答案,这很容易,但我是python的新手:)
我在互联网上找到了一段代码,从雅虎财经中读取股票价格
#!/usr/bin/env python # # Copyright (c) 2007-2008, Corey Goldberg (corey@goldb.org) # # license: GNU LGPL # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. import urllib """ This is the "ystockquote" module. This module provides a Python API for retrieving …
安装phpMyAdmin时遇到一些问题.我想解决以下问题,但是没有线索从哪里开始(除了php.ini?).
这是错误消息.
The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.
Run Code Online (Sandbox Code Playgroud)
这是我在SO上发现的一篇相关文章,它适用于Linux,但在我的Mac上无效(OSX 10.6更新了PHP等):PhpMyAdmin安装错误
我有一个我在RubyForge上找到的Gem,想要查看它包含的代码.没有在我的系统上安装Gem可以做到这一点吗?
另外,如果我在Mac OS X上使用RVM,这是否会改变我的宝石的安装方式(假设我有一个gemset)?
*编辑1* 当然,刚发布后我试图卸载应用程序,然后从APK重新安装.然后它奏效了.也许这是我通常从Eclipse安装它的事实,这是坏事吗?测试
/编辑
所以我遇到的问题是我的精美APK文件不会安装我的设备.
我找到了另一个有同样问题的人,并通过自签名解决了这个问题: 无法安装未签名的APK
但是,我总是尝试使用已签名的APK.在Eclipse中,我选择"导出",然后我必须首先选择并"登录"我的密钥库,然后选择一个密钥并再次提供我的密码,然后选择文件的位置,并按"完成".
这是向导中的最后一个"页面":

将该APK文件复制到我的设备,然后从文件浏览器"运行"后,安装屏幕显示upp并且看起来没问题.首先,我得到"替换应用程序" - 屏幕,询问我是否要替换现有版本.我按"确定".然后它问我是否要允许应用程序... yada yada.我按"安装".在简短的消息说"安装"后,我收到消息:
应用程序未安装
在它的左边有一个绿色的"检查".
没有其他错误消息.
我已经选中了"未知来源"框.我可以补充一点,当我从Eclipse启动相同的应用程序时没有问题!
任何提示和想法将不胜感激.
$ rails
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': RubyGem version error: rack(1.4.0 not ~> 1.3.5) (Gem::LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:246:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:246:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem'
from /usr/bin/rails:18
Run Code Online (Sandbox Code Playgroud)
然后我试试这个:
$ sudo gem install rack 1.3.5
密码:
成功安装了机架1.4.0
错误:无法在本地或存储库中找到gem 1.3.5
安装1个宝石
安装rack-1.4.0的ri文档...
无法读取termcap数据库;
使用哑终端设置.
安装rack-1.4.0的RDoc文档...
然后再次但不同:
rails
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:230:in `activate': can't activate rack (~> 1.3.5, runtime) for ["actionpack-3.1.3", "rails-3.1.3"], already activated rack-1.4.0 for ["rack-cache-1.1", "actionpack-3.1.3", "rails-3.1.3"] (Gem::LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:246:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in …Run Code Online (Sandbox Code Playgroud) 我写了一些代码作为包。当我尝试发出A时R CMD install mypkg,会出现诸如以下错误
* installing to library ‘/Users/USERNAME/R/x86_64-apple-darwin11.0.0-library/2.14’
* installing *source* package ‘mypkg’ ...
** libs
*** arch - x86_64
make: Nothing to be done for `all'.
installing to /Users/USERNAME/R/x86_64-apple-darwin11.0.0-library/2.14/mypkg/libs/x86_64
** R
** preparing package for lazy loading
** help
Warning: /Users/USERNAME/temp/mypkg/man/mypkg-package.Rd:31: All text must be in a section
Warning: /Users/USERNAME/temp/mypkg/man/mypkg-package.Rd:32: All text must be in a section
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
R(57533) malloc: …Run Code Online (Sandbox Code Playgroud) 用于添加插件的" 安装新软件"选项突然开始显示"隐藏"列表,因此无法查看您选择的内容.我怎么能解决这个问题?
一些搜索显示这可能与GTK的错误相关联,但运行export GDK_NATIVE_WINDOWS=true似乎无法解决问题.有疑问的一个线索就是终端中的这条消息:
** (Eclipse:2005): CRITICAL **: murrine_style_draw_box: assertion 'height >= -1' failed
我已经阅读了许多网站上有关如何在mac os x Leopard而不是Lion上构建/安装Lua 5.2.0的说明.
所以我的问题是:"如何在我的Mac上安装和/或构建Lua,以及在我的计算机上编程代码?"
我正在尝试安装SDK Manager内部显示的Android 2.3.3 API 10(默认情况下不是某些外部程序包).
我单击"接受"并且无法安装,下面是SDK Manager发生的事件的完整日志:
Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml
Validate XML
Parse XML
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-6.xml
Validate XML: https://dl-ssl.google.com/android/repository/repository-6.xml
Parse XML: https://dl-ssl.google.com/android/repository/repository-6.xml
Found SDK Platform Android 1.1, API 2, revision 1 (Obsolete)
Found SDK Platform Android 1.5, API 3, revision 4
Found SDK Platform Android 1.6, API 4, revision 3
Found SDK Platform Android 2.0, API 5, revision 1 (Obsolete)
Found SDK Platform Android 2.0.1, API 6, revision 1 (Obsolete)
Found SDK Platform Android 2.1, API …Run Code Online (Sandbox Code Playgroud)