aajae.blogg.se

Python subprocess call to install packages
Python subprocess call to install packages












python subprocess call to install packages

STDOUTĩ0 # print the output C:\Program Files\Alteryx\bin\Miniconda3\lib\subprocess.py in check_output (timeout, *popenargs, **kwargs) 334 335 return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,

python subprocess call to install packages

installPackages ( ) c:\program files\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\ayx\Package.py in installPackages (package, install_type, debug) 86 result = subprocess.check_output(Ĩ7 + pip_args_list, -> 88 stderr = subprocess. in 2 # script here (only missing packages will be installed) 3 from ayx import Package CalledProcessError Traceback (most recent call last)

python subprocess call to install packages

Running setup.py install for PyPDF2: finished with status 'error'Ĭomplete output from command "c:\program files\alteryx\bin\miniconda3\pythontool_venv\scripts\python.exe" -u -c "import setuptools, tokenize _file_='C:\\Users\\pta67589\\AppData\\Local\\Temp\\6\\pip-build-7g46na7v\\PyPDF2\\setup.py' f=getattr(tokenize, 'open', open)(_file_) code=f.read().replace('\r\n', '\n') f.close() exec(compile(code, _file_, 'exec'))" install -record C:\Users\pta67589\AppData\Local\Temp\6\pip-960hoi9i-record\install-record.txt -single-version-externally-managed -compile -install-headers "c:\program files\alteryx\bin\miniconda3\pythontool_venv\include\site\python3.6\PyPDF2":Ĭopying PyPDF2\filters.py -> build\lib\PyPDF2Ĭopying PyPDF2\generic.py -> build\lib\PyPDF2Ĭopying PyPDF2\merger.py -> build\lib\PyPDF2Ĭopying PyPDF2\pagerange.py -> build\lib\PyPDF2Ĭopying PyPDF2\pdf.py -> build\lib\PyPDF2Ĭopying PyPDF2\utils.py -> build\lib\PyPDF2Ĭopying PyPDF2\xmp.py -> build\lib\PyPDF2Ĭopying PyPDF2\_version.py -> build\lib\PyPDF2Ĭopying PyPDF2\_init_.py -> build\lib\PyPDF2Ĭreating c:\program files\alteryx\bin\miniconda3\pythontool_venv\Lib\site-packages\PyPDF2Įrror: could not create 'c:\program files\alteryx\bin\miniconda3\pythontool_venv\Lib\site-packages\PyPDF2': Access is deniedĬommand ""c:\program files\alteryx\bin\miniconda3\pythontool_venv\scripts\python.exe" -u -c "import setuptools, tokenize _file_='C:\\Users\\pta67589\\AppData\\Local\\Temp\\6\\pip-build-7g46na7v\\PyPDF2\\setup.py' f=getattr(tokenize, 'open', open)(_file_) code=f.read().replace('\r\n', '\n') f.close() exec(compile(code, _file_, 'exec'))" install -record C:\Users\pta67589\AppData\Local\Temp\6\pip-960hoi9i-record\install-record.txt -single-version-externally-managed -compile -install-headers "c:\program files\alteryx\bin\miniconda3\pythontool_venv\include\site\python3.6\PyPDF2"" failed with error code 1 in C:\Users\pta67589\AppData\Local\Temp\6\pip-build-7g46na7v\PyPDF2\ Running setup.py install for PyPDF2: started (this may take a minute depending on the package size, dependencies, and other factors)














Python subprocess call to install packages