如果我试图通过RVM安装ruby 2.0.0,但是我得到了以下输出,并且不知道我做错了什么,那么如果有人能帮助我解决这个问题,那就太棒了:
Warning! PATH is not properly set up, '/Users/sebastianboldt/.rvm/gems/ruby-1.9.3-p327/bin' is not at first place,
usually this is caused by shell initialization files - check them for 'PATH=...' entri
我升级到了OS X Lion和Xcode 4.3.2。升级后,当我打开Organizer并为我们的任何SVN项目选择根文件夹时,我立即得到一条"Unable to load revisions“消息,并且我看不到文件夹信息。我正确地输入了我的凭据,并尝试了和的解决方案,但仍然不起作用。如何解决这个问题?
我无法在Mac 10.4.11上启动MySQL服务器。MySQL是使用Macports安装的。MySQL运行得很好,直到它突然死了,没有任何明显的原因。
当运行"mysql“时,我得到错误信息:
ERROR 2002 (HY000): Can't connect to local MySQL server through
socket '/opt/local/var/run/mysql5/mysqld.sock' (2)
如果我尝试手动启动MySQL,则会收到以下错误消息:
sudo /opt/local/share/mysql5/mysql/mysql
最近我想和Vpython混在一起,并遵循了这个站点上的说明:
在此之前,我让python在我的笔记本电脑上运行,并使用macport安装库。由于按照Vpython页面上描述的安装步骤,我不能再使用任何与can相关的库。例如,当导入numpy时,它只是
ImportError: No module named pylab
而且,在查看/Library/Python/2.7/site-packages/时,即使macports说安装了py27-scipy (我尝试过重新安装),也不存在。
我猜我在安装Vpython时预先准备的python安装(我天真地认为它是独立的)已经破坏了一个路径或什么的,我
我正在使用链接卸载macports,而不是安装自制软件。然而,我在第一步就遇到了错误。我运行sudo port -f uninstall installed我的终端(我在mac上),它直接向我吐出这段代码:
Warning: port definitions are more than two weeks old, consider using selfupdate
Warning: configured user/group macports does not exist, will build as root
---> Uninstalling python27 @2.7.1_3
E
我是从snowleopard的下载页面安装的。我是个新手..我发现自制软件是个更好的选择。因此,现在我正在尝试完全删除它。
sudo port -fp uninstall installed
我得到了:
Error: No ports matched the given expression
当我尝试的时候
sudo port uninstall installed
我收到了以下消息。
Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Use
我一段时间前就把Macports搬走了,所以现在我用的是家用啤酒。现在我试图使用伤寒红宝石依赖于多use。
当我试图执行我的rubyscript时,我会收到以下错误消息:
/Users/myusername/.rvm/gems/ruby-1.9.3-p125/gems/ffi-1.0.11/lib/ffi/library.rb:121:in `block in ffi_lib': Could not open library 'libcurl': dlopen(libcurl, 10): image not found. (LoadError) Could not op
我正在尝试使用RVM在我的iMac上安装ruby。
我首先键入以下内容:
rvm list known
然后,我使用下面这行代码来确定要安装的版本(我遵循的指南建议使用1.9.2,而不是基础版本1.8.7):
rvm install 1.9.2
然后我得到了这个:
27698AM:~ butler15$ rvm install 1.9.2
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-1.9.2-p320.
Continui
我在Yosemite上安装的MacPorts并不适用于El Capitan,因为它还不受支持。我想在这里删除端口安装,但是我无法运行任何端口命令。有人知道怎么清理吗?
在运行任何端口命令时,我会得到以下错误:
Error: Current platform "darwin 15" does not match expected platform "darwin 14"
Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.or
我在macports上运行python 3.1.4,并尝试在这里使用shelve模块。我可以在另一个dev上成功使用它。机器(不同的操作系统等)所以我不确定我可能做错了什么。
如有任何想法或建议,我们将不胜感激!
下面是错误消息"dbm.error: db type not be did“(我搜索了错误消息,但没有找到任何信息-我甚至试图强制protocl=2查看这是否有帮助,但没有帮助)
以下是互动会话:
Python 3.1.4 (default, Oct 7 2011, 15:58:53)
[GCC 4.0.1 (Apple Inc. build 5493)] on darw
我有一个mac,我买的小牛队安装,现在upgradedEl卡皮坦。我之前安装了MacPorts,现在我想卸载,但是我得到了这个错误。
> sudo port -fp uninstall installed
Error: Current platform "darwin 15" does not match expected platform "darwin 13"
Error: If you upgraded your OS, please follow the migration instructions: https://trac.mac
我已经安装了django和python,正如在macport中建议的那样。但是,我想使用虚拟环境来安装更多的软件包。我的理解是,如果我不将--no-site-packages传递给virtualenv,那么除了安装到虚拟环境中的任何软件包之外,我还应该获得当前安装的包。这是正确的吗?
例如,我已经通过macport安装了django,然后创建了一个虚拟环境,但是我不能从该虚拟环境中导入django:
[streeter@mordecai]:~$ mkvirtualenv django-test
New python executable in django-test/bin/python
In
我在使用MySQL安装PHP、Apache2和MacPorts时遇到了困难。目前,我的操作系统是小牛,我正在为小牛下载官方二进制包(也尝试从源代码编译并运行selfupdate),但我收到了以下错误消息:
---> Building readline
Error: org.macports.build for port readline returned: command execution failed
Error: Failed to install readline
Please see the log file for port readline for details:
如何在安装了python的fink中使用python_select?它找不到它,我不想经历使用macports安装python的整个过程。不过,我还是从macports买了python_select。它报告:
Available versions:
current none python26-apple
我使用fink在以下位置安装了python:
/sw/bin/python2.7
您好,我在macports上运行了以下脚本,但仍然无法运行import MySQLdb。你知道问题出在哪里吗?
sudo port install py26-mysql
sudo port install mysql5-server
>>> import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named MySQLdb
>>>
我们的svn服务器使用SASL进行身份验证。我们在windows上使用tortoisesvn客户端,在Linux上使用svn命令行,两者都工作得很好。
我们最近添加了一个Mac (运行Yosemite),但是那里的svn客户机无法与svn服务器协同工作。在客户端,我看到以下错误:
$ svn ls svn://svnhost/myrepo
svn: E210007: Unable to connect to a repository at URL 'svn://svnhost/myrepo'
svn: E210007: Cannot negotiate authentic
Macport自我更新失败山狮。早些时候,它工作得很好。
---> Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync
我正在尝试使用Macports在朋友的Mac电脑上安装libusb-devel (我们需要它才能安装Osceleton)。在我的电脑上,安装进行得很顺利,但我在他的电脑上安装时卡住了。
curl是libusb-devel的一个依赖项。但是,安装curl似乎失败了。在配置curl的过程中,显示一条错误消息,安装退出。我被引用到日志,其中这是错误的相关部分:
:info:configure configure: found both libz and libz.h header
:info:configure checking for "/dev/urandom"... confi
我使用的是Mac OS X 10.6.8。我使用中的二进制安装程序安装了Python2.6。自2011年3月以来,我一直在与SciPy和Matplotlib一起使用它,以满足我的科学计算需求,没有任何问题。最近,我需要一个名为Basemap的matplotlib库。
我在上关注了这篇文章。它指出,安装底图库的最简单方法是通过Macports (或Fink)。所以我试着通过Macports安装底图。我执行了命令
port install py-matplotlib-basemap
而且它似乎安装了很多东西,比如Python2.4,等等。所以具体地说,我再次使用Macports,但这次使用
por
我需要在Boost中使用i386,因为我正在使用另一个软件开发工具包。我尝试使用以下工具构建Boost
./b2 toolset=darwin architecture=x86 address-model=32
来获取32位版本,但它给了我一个链接器错误:
ld: symbol(s) not found for architecture i386
我也尝试过使用
port install boost
但只能通过这种方式获得boost的x86_64版本。
有没有其他方法可以构建Boost,这样我就可以在Xcode中使用i386进行编译?
我正在深入研究Ruby on Rails,从一开始就向我推荐了两个工具: RVM和MacPorts。我现在正在使用RVM来管理我的ruby和rails安装,所以MacPorts似乎并没有给我提供很多我没有的东西。我当然看到了两者之间的区别,RVM主要用于RoR安装,而MacPorts提供了其他开源工具,但我想知道如果我只使用RVM,为什么我要同时使用这两个工具。你的想法是什么?
非常感谢您的帮助!