-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathafter run the script.txt
45 lines (22 loc) · 1.53 KB
/
after run the script.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#################### PowerShell ####################
-------------- set global python version --------------
Command:
𝗽𝘆𝗲𝗻𝘃 𝗴𝗹𝗼𝗯𝗮𝗹 𝟯.𝟭𝟯.𝟮 or any python version
-------------------------------------------------------------------------------
*if you want to set a specific python version for a project type this
commands:
1 - 𝗰𝗱 (your project path)
2 - 𝗽𝘆𝗲𝗻𝘃 𝗹𝗼𝗰𝗮𝗹 𝟯.𝟭𝟮.𝟮 or any python version
-------------------------------------------------------------------------------
*if you want to use it in VSCode and install dependencies or modules and activate the virtual environment.
commands:
1 - 𝗰𝗱 (your project path)
2 - 𝗽𝘆𝘁𝗵𝗼𝗻 -𝗺 𝘃𝗲𝗻𝘃 .𝘃𝗲𝗻𝘃
3 - .\.𝘃𝗲𝗻𝘃\𝗦𝗰𝗿𝗶𝗽𝘁𝘀\𝗮𝗰𝘁𝗶𝘃𝗮𝘁𝗲
*define or selectd VSCode python interpreter
Steps:
1 - 𝗖𝘁𝗿𝗹 + 𝘀𝗵𝗶𝗳𝘁 + 𝗽
2 - type 𝘀𝗲𝘁𝘁𝗶𝗻𝗴 𝗷𝘀𝗼𝗻 and select 𝗢𝗽𝗲𝗻 𝗪𝗼𝗿𝗸𝘀𝗽𝗮𝗰𝗲 𝗦𝗲𝘁𝘁𝗶𝗻𝗴𝘀 (𝗝𝗦𝗢𝗡)
𝟯 - type this in json {"𝗽𝘆𝘁𝗵𝗼𝗻.𝘁𝗲𝗿𝗺𝗶𝗻𝗮𝗹.𝗮𝗰𝘁𝗶𝘃𝗮𝘁𝗲𝗘𝗻𝘃𝗶𝗿𝗼𝗻𝗺𝗲𝗻𝘁": 𝘁𝗿𝘂𝗲}
4 - Close VScode and open it again
-----------------------------------------------------------------------------------------------------------