Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

stack error: command failed: import sys; print "%s.%s.%s" % sys.version_info[:3];

gyp ERR! stack Error: Command failed: ....python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]

The layout service package which includes the robotjs npm package, depends on the version of python installed locally.  
The robotjs package is only required for the integration tests to run, however, it is not mandatory.

1. Verify the version of Python installed locally (by typing 'python --version' into a shell) matches the version required by robotjs.

2. Install the layout package using `npm install --ignore-scripts`

3.Follow the instructions latest instructions on how to downgrade/upgrade the Python version listed on the Python.org website.
Comment

PREVIOUS NEXT
Code Example
Python :: how to handle multiple frames 
Python :: extract outliers from boxplot 
Python :: xlabel font type matplotlib 
Python :: pandas parallelize for loop 
Python :: uninstall a python package from virtualenv 
Python :: how to add list as new row to pandas dataframe 
Python :: python remove .0 
Python :: similarity imdex in python 
Python :: selenium ways of finding 
Python :: compress excel file in python 
Python :: a sigmoid function 
Python :: python sqrt function 
Python :: numpy concatenation 
Python :: type python 
Python :: python random generator from list 
Python :: python encoding utf 8 
Python :: python merge list of dict into single dict 
Python :: sns histplot nan values 
Python :: remove vowels in a string python 
Python :: python check if object is empty 
Python :: python check equality of floats 
Python :: python string continue next line 
Python :: python remove file with pattern 
Python :: program to add first and last digit of a number in python 
Python :: how to copy the list in python 
Python :: xlsb file in pandas 
Python :: matrix diagonal sum python 
Python :: dash log scale 
Python :: split string python 
Python :: keras loss plot 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =