ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now
The Alteryx Community will be temporarily unavailable for a time due to scheduled maintenance on Thursday, April 22nd. Please plan accordingly.

Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

python package installer cant file file

11 - Bolide

Im tryin to install the rpy2 package and cant get past a "The system cannot find the file specified". Im not sure what file it cant find or why it isnt able to install, (it is downloading the tar.gz file but wont install into the env)


Any help would be great


Collecting rpy2
  Using cached rpy2-3.3.6.tar.gz (179 kB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\paulj\\AppData\\Local\\Temp\\pip-install-ih4008f_\\rpy2\\'"'"'; __file__='"'"'C:\\Users\\paulj\\AppData\\Local\\Temp\\pip-install-ih4008f_\\rpy2\\'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);'"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\paulj\AppData\Local\Temp\pip-pip-egg-info-47z8bowi'
         cwd: C:\Users\paulj\AppData\Local\Temp\pip-install-ih4008f_\rpy2\
    Complete output (20 lines):
    cffi mode: CFFI_MODE.ANY
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\paulj\AppData\Local\Temp\pip-install-ih4008f_\rpy2\", line 115, in <module>
        c_extension_status = get_r_c_extension_status()
      File "C:\Users\paulj\AppData\Local\Temp\pip-install-ih4008f_\rpy2\", line 99, in get_r_c_extension_status
        *situation.get_r_flags(r_home, '--ldflags')
      File "C:\Users\paulj\AppData\Local\Temp\pip-install-ih4008f_\rpy2\rpy2\", line 210, in get_r_flags
      File "C:\Users\paulj\AppData\Local\Temp\pip-install-ih4008f_\rpy2\rpy2\", line 179, in _get_r_cmd_config
      File "c:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\", line 356, in check_output
      File "c:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\", line 423, in run
        with Popen(*popenargs, **kwargs) as process:
      File "c:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\", line 729, in __init__
        restore_signals, start_new_session)
      File "c:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\", line 1017, in _execute_child
    FileNotFoundError: [WinError 2] The system cannot find the file specified


11 - Bolide

Based on the comment from Python package install failing - Stack Overflow (I duplicate posted) It sounds like the issue is actually associated with a lack of a windows build for the rpy2 package. 

I need to test installing from an alternative mirror as mention in the package GitHub issues page Can't install rpy2 · Issue #390 · rpy2/rpy2 · GitHub