Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
outlinetrue

Mac System Dependencies

  • OpenSSL 
  • wget
Notes:

The easiest instruction I found was to use:

...

This command will install other wget dependencies including openssl. Don't forget to read the output of the brew command and add openssl to PATH in ~/.bash_profile.

Common errors and fixes:

Mac - libcryto.a not found

Repro

There are 2 ways to repro this problem. In Terminal:

...

  1. Open PythonEmbedInR project
  2. Click Install and Restart
  3. Error:

    Code Block
    ==> R CMD INSTALL --no-multiarch --with-keep.source PythonEmbedInR
    
    * installing to library ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library’
    * installing *source* package ‘PythonEmbedInR’ ...
    ./configure: line 32: wget: command not found
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Failed to download https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tgz
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (77) error setting certificate verify locations:
      CAfile: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/PythonEmbedInR/lib/python3.5/site-packages/pip/_vendor/requests/cacert.pem
      CApath: none
    ERROR: configuration failed for package ‘PythonEmbedInR’
    * removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/PythonEmbedInR’
    * restoring previous ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/PythonEmbedInR’
    
    Exited with status 1.


Fix

Install the Mac System Dependencies listed above.

Local Work Flow

This section captures the process of making changes to the code, write tests, build, install, and run the tests. This section does not include Git practices.

...