首页 文章

Rpy2安装问题,Windows 7 [重复]

提问于
浏览
6

这个问题在这里已有答案:

我试图为我的问题找到解决方案,到目前为止还没有成功 .

我正在尝试在我的计算机上安装最新的Rpy2版本 . 我已经安装了所有必需的程序(R 2.15.1和2.7 Python) . 我正在使用cmd命令安装Rpy2(rpy2-2.3.0)

python setup.py build install

我得到这个追溯:

回溯(最近一次调用最后一次):文件“setup.py”,第441行,在[os.path.join('doc','source','rpy2_logo.png')])],文件“c:\ Python27 \ lib \ distutils \ core.py“,第152行,在setup dist.run_commands()文件”c:\ Python27 \ lib \ distutils \ dist.py“,第953行,在run_commands中self.run_command(cmd)文件” c:\ Python27 \ lib \ distutils \ dist.py“,第972行,在run_command cmd_obj中 . > run()文件”c:\ Python27 \ lib \ distutils \ command \ install.py“,第563行,在run self中 . run_command('build')文件“c:\ Python27 \ lib \ distutils \ cmd.py”,第326行,在run_command中self.distribution.run_command(命令)文件“c:\ Python27 \ lib \ distutils \ dist.py” ,第972行,在run_command cmd_obj.run()文件“c:\ Python27 \ lib \ distutils \ command \ build.py”,第127行,运行self.run_command(cmd_name)文件“c:\ Python27 \ lib \ distutils \ cmd.py“,第326行,在run_command self.distribution.run_command(命令)文件”c:\ Python27 \ lib \ distutils \ dist.py“,第971行,在run_command中cmd_obj.ensure_finalized()文件”c:\ Python27 \ lib \ distutils \ cmd.py“,第109行,i n ensure_finalized self.finalize_options()文件“setup.py”,第152行,在finalize_options中config = get_rconfig(r_home,about)文件“setup.py”,第312行,在get_rconfig中rc = RConfig.from_string(rconfig,allow_empty = allow_empty )文件“setup.py”,第272行,在from_string'\ nin string \ n'字符串中)ValueError:字符串中的无效子字符串

我尝试安装时遇到的错误相同

easy_install rpy2

更新:现在相同的错误显示在另一台PC(64位)

感谢帮助! :d

1 回答

相关问题