Skip to content

Commit cd5cffc

Browse files
Added instructions for venv in windows
1 parent f38d229 commit cd5cffc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ mvn package
5858
```
5959
## Using with virtual environment
6060
Create virtual environment, and install wheel package
61+
62+
### Linux & MacOS
6163
```
6264
python -m venv venv
6365
source venv/bin/activate
@@ -68,6 +70,21 @@ Install rtde package
6870
pip install target/rtde-<version>-release.zip
6971
```
7072

73+
### Windows PowerShell
74+
If Python3 is not installed, then just run python3 from powershell. Microsoft store will launch the installation.
75+
76+
Permission to run scripts in console is needed to activate virtual envrionment.
77+
```
78+
set-executionpolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
79+
python -m venv venv
80+
venv/Scripts/Activate.ps1
81+
pip install wheel
82+
```
83+
Install rtde package
84+
```
85+
pip install target/rtde-<version>-release.zip
86+
```
87+
7188
# Contributor guidelines
7289
Code is formatted with [black](https://github.com/psf/black).
7390
Run code formatter before submitting pull request.

0 commit comments

Comments
 (0)