우분투 14.04에서 파이썬 3.4.3을 사용하고 있으며 일부 결과를 얻으려면 R 코드를 사용하고 싶습니다. 나는 pyper와 rpy2와 같은 몇몇 패키지의 존재를 안다. 그러나 그들은 python2와 만 호환된다. 파이썬 3.4.3 내부 R 코드를 사용할 수있는 방법이 있나요 나는이파이썬 3 - R 함수 사용/랩
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1436, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/usr/lib/python3/dist-packages/pip/req.py", line 707, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python3/dist-packages/pip/util.py", line 715, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_user/rpy2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8hhbkgev-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_user/rpy2
에 따라 얻을 'sudo는 pip3하는 RPY2를 설치'를 입력하여 ?
당신이에서 * 바퀴 * [C.와 RPY2를 설치하려고 했 사실 파이썬 2와 파이썬 모두와 호환 Gohlke 웹 사이트] (http://www.lfd.uci.edu/~gohlke/pythonlibs/)? 윈도우즈에서 설치를하기위한 몇 가지 트릭이 있다고 생각합니다. 예를 들어 http://stackoverflow.com/a/32983656/5050917을 참고하십시오. – mgc