Alteryx Designer Desktop Discussions

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

python package installer cant file file

paul_houghton
12 - Quasar

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\\setup.py'"'"'; __file__='"'"'C:\\Users\\paulj\\AppData\\Local\\Temp\\pip-install-ih4008f_\\rpy2\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\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\setup.py", line 115, in <module>
        c_extension_status = get_r_c_extension_status()
      File "C:\Users\paulj\AppData\Local\Temp\pip-install-ih4008f_\rpy2\setup.py", 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\situation.py", line 210, in get_r_flags
        allow_empty=False)))
      File "C:\Users\paulj\AppData\Local\Temp\pip-install-ih4008f_\rpy2\rpy2\situation.py", line 179, in _get_r_cmd_config
        universal_newlines=True
      File "c:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\subprocess.py", line 356, in check_output
        **kwargs).stdout
      File "c:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\subprocess.py", line 423, in run
        with Popen(*popenargs, **kwargs) as process:
      File "c:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\subprocess.py", line 729, in __init__
        restore_signals, start_new_session)
      File "c:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\subprocess.py", line 1017, in _execute_child
        startupinfo)
    FileNotFoundError: [WinError 2] The system cannot find the file specified

 

1 REPLY 1
paul_houghton
12 - Quasar

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

Labels