Skip to content

jsonnet install error on windows (python) #795

Closed
@alikabeer32

Description

@alikabeer32
pip install jsonnet
Collecting jsonnet
  Using cached jsonnet-0.15.0.tar.gz (255 kB)
Building wheels for collected packages: jsonnet
  Building wheel for jsonnet (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'D:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Ali\\AppData\\Local\\Temp\\pip-install-9ry3yejf\\jsonnet\\setup.py'"'"'; __file__='"'"'C:\\Users\\Ali\\AppData\\Local\\Temp\\pip-install-9ry3yejf\\jsonnet\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Ali\AppData\Local\Temp\pip-wheel-x76d8i0p'
       cwd: C:\Users\Ali\AppData\Local\Temp\pip-install-9ry3yejf\jsonnet\
  Complete output (4 lines):
  running bdist_wheel
  running build
  running build_ext
  error: [WinError 2] The system cannot find the file specified
  ----------------------------------------
  ERROR: Failed building wheel for jsonnet
  Running setup.py clean for jsonnet
Failed to build jsonnet
Installing collected packages: jsonnet
    Running setup.py install for jsonnet ... error
    ERROR: Command errored out with exit status 1:
     command: 'D:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Ali\\AppData\\Local\\Temp\\pip-install-9ry3yejf\\jsonnet\\setup.py'"'"'; __file__='"'"'C:\\Users\\Ali\\AppData\\Local\\Temp\\pip-install-9ry3yejf\\jsonnet\\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\Ali\AppData\Local\Temp\pip-record-o038dpdq\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\anaconda3\Include\jsonnet'
         cwd: C:\Users\Ali\AppData\Local\Temp\pip-install-9ry3yejf\jsonnet\
    Complete output (4 lines):
    running install
    running build
    running build_ext
    error: [WinError 2] The system cannot find the file specified
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'D:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Ali\\AppData\\Local\\Temp\\pip-install-9ry3yejf\\jsonnet\\setup.py'"'"'; __file__='"'"'C:\\Users\\Ali\\AppData\\Local\\Temp\\pip-install-9ry3yejf\\jsonnet\\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\Ali\AppData\Local\Temp\pip-record-o038dpdq\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\anaconda3\Include\jsonnet' Check the logs for full command output.

Using conda:

conda install -c conda-forge jsonnet
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - jsonnet

Current channels:

  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions