jsonnet was successfully installed using git

What the hell, first install GIT, after the installation is successful

Link: https://pan.baidu.com/s/1umUl-CUQ1Eznad3xWIJBcw?pwd=abc1 

Then just look at the summary in red below

Re-open the anaconda prompt and enter the following command

You can also download and install Jsonnet using  the vcpkg  dependency manager:

I am a windows computer, and the readme description on git is this. I am running the third line and reporting an error. What is this?

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
vcpkg install jsonnet

attach link

GitHub - google/jsonnet: Jsonnet - The data templating language

This is it

newbing told me to use this command

C:\Users\姓名\vcpkg\bootstrap-vcpkg.bat

moving

It's just a little slow, there's no response for a long time

Finished, cd to the corresponding location and run

vcpkg integrate install

what to do

Finish

vcpkg install jsonnet

this is the last step

moving

Open the anaconda prompt, run it as an administrator, and install git first

Step 1: git clone https://github.com/Microsoft/vcpkg.git

Step 2: C:\Users\Name\vcpkg\bootstrap-vcpkg.bat (modify according to your vcpkg path)

Step 3: Re-open the anaconda prompt and then cd to the path administrator to run  vcpkg integrate install (according to your own vcpkg path)

Step 4: vcpkg install jsonnet

Step 5: Rename the jsonnet_x86-windows folder installed by vcpkg directly to jsonnet and copy it to the site-packages directory of Anaconda

Enter in the anaconda prompt

python

import jsonnet

No error reported, successful

The link on github shows that I don’t know what system it is. The article was written on May 16, 2023

Guess you like

Origin blog.csdn.net/weixin_55008315/article/details/130681316