Advertisement
nicuf

error

Dec 24th, 2021
1,561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\Users\Castel>py -m pip install pip install PyExecJS
  2. Defaulting to user installation because normal site-packages is not writeable
  3. Requirement already satisfied: pip in c:\users\castel\appdata\roaming\python\python310\site-packages (21.3.1)
  4. Collecting install
  5.   Using cached install-1.3.5-py3-none-any.whl (3.2 kB)
  6. Collecting PyExecJS
  7.   Using cached PyExecJS-1.5.1.tar.gz (13 kB)
  8.   Preparing metadata (setup.py) ... done
  9. Collecting six>=1.10.0
  10.   Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
  11. Using legacy 'setup.py install' for PyExecJS, since package 'wheel' is not installed.
  12. Installing collected packages: six, PyExecJS, install
  13.     Running setup.py install for PyExecJS ... error
  14.     ERROR: Command errored out with exit status 1:
  15.      command: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Castel\\AppData\\Local\\Temp\\pip-install-olb4pmo_\\pyexecjs_d890f61241754a86b05696cc575c0ff6\\setup.py'"'"'; __file__='"'"'C:\\Users\\Castel\\AppData\\Local\\Temp\\pip-install-olb4pmo_\\pyexecjs_d890f61241754a86b05696cc575c0ff6\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Castel\AppData\Local\Temp\pip-record-hnlq7en9\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\Castel\AppData\Roaming\Python\Python310\Include\PyExecJS'
  16.          cwd: C:\Users\Castel\AppData\Local\Temp\pip-install-olb4pmo_\pyexecjs_d890f61241754a86b05696cc575c0ff6\
  17.     Complete output (37 lines):
  18.     running install
  19.     C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  20.       warnings.warn(
  21.     Traceback (most recent call last):
  22.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\util.py", line 258, in subst_vars
  23.         return _subst_compat(s).format_map(lookup)
  24.     KeyError: 'py_version_nodot_plat'
  25.  
  26.     During handling of the above exception, another exception occurred:
  27.  
  28.     Traceback (most recent call last):
  29.       File "<string>", line 1, in <module>
  30.       File "C:\Users\Castel\AppData\Local\Temp\pip-install-olb4pmo_\pyexecjs_d890f61241754a86b05696cc575c0ff6\setup.py", line 17, in <module>
  31.         setup(
  32.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\__init__.py", line 153, in setup
  33.         return distutils.core.setup(**attrs)
  34.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\core.py", line 148, in setup
  35.         return run_commands(dist)
  36.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\core.py", line 163, in run_commands
  37.         dist.run_commands()
  38.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\dist.py", line 967, in run_commands
  39.         self.run_command(cmd)
  40.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\dist.py", line 985, in run_command
  41.         cmd_obj.ensure_finalized()
  42.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\cmd.py", line 107, in ensure_finalized
  43.         self.finalize_options()
  44.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\command\install.py", line 45, in finalize_options
  45.         orig.install.finalize_options(self)
  46.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\command\install.py", line 436, in finalize_options
  47.         self.expand_dirs()
  48.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\command\install.py", line 596, in expand_dirs
  49.         self._expand_attrs(['install_purelib', 'install_platlib',
  50.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\command\install.py", line 586, in _expand_attrs
  51.         val = subst_vars(val, self.config_vars)
  52.       File "C:\Users\Castel\AppData\Roaming\Python\Python310\site-packages\setuptools\_distutils\util.py", line 260, in subst_vars
  53.         raise ValueError(f"invalid variable {var}")
  54.     ValueError: invalid variable 'py_version_nodot_plat'
  55.     ----------------------------------------
  56. ERROR: Command errored out with exit status 1: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Castel\\AppData\\Local\\Temp\\pip-install-olb4pmo_\\pyexecjs_d890f61241754a86b05696cc575c0ff6\\setup.py'"'"'; __file__='"'"'C:\\Users\\Castel\\AppData\\Local\\Temp\\pip-install-olb4pmo_\\pyexecjs_d890f61241754a86b05696cc575c0ff6\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Castel\AppData\Local\Temp\pip-record-hnlq7en9\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\Castel\AppData\Roaming\Python\Python310\Include\PyExecJS' Check the logs for full command output.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement