File tree 2 files changed +3
-3
lines changed
examples/Python.Included.Example.NetCore
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ static async Task Main(string[] args)
25
25
await Installer . SetupPython ( ) ;
26
26
27
27
// install pip3 for package installation
28
- Installer . TryInstallPip ( ) ;
28
+ await Installer . TryInstallPip ( ) ;
29
29
30
30
// download and install Spacy from the internet
31
- Installer . PipInstallModule ( "spacy" ) ;
31
+ await Installer . PipInstallModule ( "spacy" ) ;
32
32
33
33
// ok, now use pythonnet from that installation
34
34
PythonEngine . Initialize ( ) ;
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputType >Exe</OutputType >
4
- <TargetFramework >netcoreapp3.1 </TargetFramework >
4
+ <TargetFramework >net6.0 </TargetFramework >
5
5
</PropertyGroup >
6
6
<ItemGroup >
7
7
<ProjectReference Include =" ..\..\Python.Included\Python.Included.csproj" />
You can’t perform that action at this time.
0 commit comments