Title: Installation failed by "No module named site" message · Issue #19 · cjgb/rPython-win · GitHub
Open Graph Title: Installation failed by "No module named site" message · Issue #19 · cjgb/rPython-win
X Title: Installation failed by "No module named site" message · Issue #19 · cjgb/rPython-win
Description: I'm trying to install rPython on Windows 7, failed by "No module named site". My environment configuration is: Python 3.6.3 is installed under "C:\Program Files\Python\Python36" which is default location. Rtools is installed under C:\Rto...
Open Graph Description: I'm trying to install rPython on Windows 7, failed by "No module named site". My environment configuration is: Python 3.6.3 is installed under "C:\Program Files\Python\Python36" which is default lo...
X Description: I'm trying to install rPython on Windows 7, failed by "No module named site". My environment configuration is: Python 3.6.3 is installed under "C:\Program Files\Python\Python36&q...
Opengraph URL: https://github.com/cjgb/rPython-win/issues/19
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Installation failed by \"No module named site\" message","articleBody":"I'm trying to install rPython on Windows 7, failed by \"No module named site\". My environment configuration is:\r\n\r\nPython 3.6.3 is installed under `\"C:\\Program Files\\Python\\Python36\"` which is default location.\r\n\r\nRtools is installed under `C:\\Rtools`, with `mingw_64` (and 32 bit version) underneath.\r\n\r\nPATH is set as `\"%PATH%;C:\\Rtools\\bin;C:\\Rtools\\mingw_64\\bin\"`\r\n\r\nconfigure.win file content is:\r\n```\r\n#!/bin/sh\r\n\r\necho 'PKG_LIBS=-LC:/Program Files/Python/Python36/libs -lpython36' \u003e src/makevars.win\r\necho 'PKG_CFLAGS=-I\"C:/Program Files/Python/Python36/include\"' \u003e\u003e src/makevars.win\r\n```\r\n\r\nR version is 3.4.1\r\n\r\nInstall command:\r\n```\r\ninstall.packages(\"devtools\")\r\nlibrary(devtools)\r\ninstall(\"C:/DevApps/R/rPython\")\r\n```\r\n\r\nDetail error message:\r\n```\r\nInstalling rPython\r\n\"C:/PROGRA~1/R/R-34~1.0/bin/x64/R\" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \"C:/DevApps/R/rPython\" \\\r\n --library=\"C:/Users/326487162/Documents/R/win-library/3.4\" --install-tests \r\n\r\n* installing *source* package 'rPython' ...\r\n** libs\r\nWarning: this package has a non-empty 'configure.win' file,\r\nso building only the main architecture\r\n\r\nmake: Nothing to be done for `all'.\r\ninstalling to C:/Users/326487162/Documents/R/win-library/3.4/rPython/libs/x64\r\n** R\r\n** inst\r\n** preparing package for lazy loading\r\nWarning: package 'RJSONIO' was built under R version 3.4.1\r\n** help\r\n*** installing help indices\r\n** building package indices\r\n** testing if installed package can be loaded\r\nWarning: package 'RJSONIO' was built under R version 3.4.1\r\nImportError: No module named site\r\nERROR: loading failed\r\n* removing 'C:/Users/326487162/Documents/R/win-library/3.4/rPython'\r\nError: Command failed (1)\r\n```\r\n\r\nThe output information is not very clear what it was trying to import? and why it was failed. How can I fix it?\r\n\r\n","author":{"url":"https://github.com/jeffwji","@type":"Person","name":"jeffwji"},"datePublished":"2018-01-05T21:38:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/19/rPython-win/issues/19"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d36779d3-2c6e-a822-e8bf-e200e0b664ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9642:3E682C:20CFD9:2B7EE9:698F8F38 |
| html-safe-nonce | 642eca00c59d5450e9b31a4c24656e04286cb428ef1509c0dc785d07f8bd040f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjQyOjNFNjgyQzoyMENGRDk6MkI3RUU5OjY5OEY4RjM4IiwidmlzaXRvcl9pZCI6IjcxMjQ4NTM2MDc2NjU0NzEyODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | efb0fad637ccb25031d10619fecd98552a5a4b66ff0a5f010bcb2a9821cca420 |
| hovercard-subject-tag | issue:286412239 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cjgb/rPython-win/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dd16ac02246e409c965f785d866fbcfa654705ab61c6e1d84b18171ff6a771a2/cjgb/rPython-win/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dd16ac02246e409c965f785d866fbcfa654705ab61c6e1d84b18171ff6a771a2/cjgb/rPython-win/issues/19 |
| og:image:alt | I'm trying to install rPython on Windows 7, failed by "No module named site". My environment configuration is: Python 3.6.3 is installed under "C:\Program Files\Python\Python36" which is default lo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jeffwji |
| hostname | github.com |
| expected-hostname | github.com |
| None | 202633fd61f7eedb36bb7ccb403f2d581c4331c905abe8ed7a7469c697b51c27 |
| turbo-cache-control | no-preview |
| go-import | github.com/cjgb/rPython-win git https://github.com/cjgb/rPython-win.git |
| octolytics-dimension-user_id | 1321567 |
| octolytics-dimension-user_login | cjgb |
| octolytics-dimension-repository_id | 14503010 |
| octolytics-dimension-repository_nwo | cjgb/rPython-win |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14503010 |
| octolytics-dimension-repository_network_root_nwo | cjgb/rPython-win |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aa35d2eca6295c64e24dceaa06fde213ad1aed69 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width