🌐 AI搜索 & 代理 主页
Skip to content

Commit 3338aed

Browse files
authored
Update README with venv and PIP instructions
1 parent 0c8ae3a commit 3338aed

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ Welcome to the magnificent Rust Python interpreter
6666
>>>>>
6767
```
6868

69+
### venv
70+
71+
Because RustPython currently doesn't provide a well-packaged installation, using venv helps to use pip easier.
72+
73+
```sh
74+
$ rustpython -m venv <your_env_name>
75+
$ . <your_env_name>/bin/activate
76+
$ python # now `python` is the alias of the RustPython for the new env
77+
```
78+
79+
### PIP
80+
6981
If you'd like to make https requests, you can enable the `ssl` feature, which
7082
also lets you install the `pip` package manager. Note that on Windows, you may
7183
need to install OpenSSL, or you can enable the `ssl-vendor` feature instead,

0 commit comments

Comments
 (0)