无法更新anaconda并且无法运行rstudio:R错误:运行命令状态127

时间:2017-11-20 16:48:04

标签: anaconda rstudio

我从anaconda控制台安装graphviz和pydot

conda install graphviz
pip install git+https://github.com/nlhepler/pydot.git

我无法再启动Anaconda,所以我输入了这些命令

conda install anaconda-navigator

我可以启动Ananconda,但我可以更新软件,我点击是,我有这个消息

C:\Users\user\Anaconda3\python.exe C:\Users\user\Anaconda3\Scripts\conda-script.py 
install --yes --json --force-pscheck --name root anaconda-navigator=1.6.4: HTTP 000
CONNECTION FAILED for url <https://repo.continuum.io/pkgs/main/win-64/repodata.json.bz2><br>
Elapsed: -<br><br>An HTTP error occurred when trying to retrieve this URL.<br>HTTP errors are 
often intermittent, and a simple retry will get you on your way.<br>ConnectionError(
MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded 
with url: /pkgs/main/win-64/repodata.json.bz2 (Caused by NewConnectionError('<
requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000005F6B940>: 
Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))",),)<br>

当我想运行RStudio时,我有这条消息

rstudio.exe - The procedure entry point was not found
?toLocal8Bit@QString@@QEGBA?AVQByteArray@@XY can not be found in the dynamic link library 
C:\Users\user\Anaconda3\Library\bin\rstudio.exe
library(tensorflow)
install_tensorflow()  # success i have now i folder *r-tensorflow* in *C:\Anaconda3\envs\r-tensorflow*

sessionInfo()

R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252    LC_MONETARY=French_France.1252 LC_NUMERIC=C                  
[5] LC_TIME=French_France.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] httr_1.3.1      compiler_3.4.2  R6_2.2.2        tools_3.4.2     withr_2.0.0     curl_3.0        yaml_2.1.14    
 [8] memoise_1.1.0   git2r_0.19.0    digest_0.6.12   devtools_1.13.4

网状:: conda_list()

          name                                        python
1 r-tensorflow C:\\Anaconda3\\envs\\r-tensorflow\\python.exe

网状:: py_config()

python:         C:\ANACON~1\python.exe
libpython:      C:/ANACON~1/python36.dll
pythonhome:     C:\ANACON~1
version:        3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)]
Architecture:   64bit
numpy:          C:\ANACON~1\lib\site-packages\numpy
numpy_version:  1.13.3

python versions found: 
 C:\ANACON~1\python.exe
 C:\Anaconda3\envs\r-tensorflow\python.exe

我在系统路径中重新安装了Rtools:Path

  • C:\ Anaconda3 \ R \ bin
  • C:\ Anaconda3 \ R \ bin \ x64
  • C:\ Anaconda3 \ Scripts
  • C:\ Rtools \ BIN
  • C:\ Rtools \ mingw_32 \ BIN

0 个答案:

没有答案