How to install cntext with venv === # Install ## Falied to install cntext with Python3.11 目前 Python3.11 無法安裝 `cntext`,只支援到 Python3.8,可以使用`venv`建立虛擬環境使用 ## Install venv for Python3.8 首先要先安裝 Python3.8 Ubuntu 20.04 ```shell= $ sudo apt install python3.8 python3.8-venv ``` 接著使用 `venv` 建立一個虛擬環境 下方指令中,`project`是目標資料夾 ```shell= $ cd ~/workspace/project $ python3.8-venv venv venv $ source ./venv/bin/activate ``` 現在檢查一下 python 的版本是不是 3.8 ```shell= $ python --version Python 3.8.16 ``` ## install cntext 更新 pip ```shell= pip install --upgrade pip ``` 安裝必要 packages ```shell= $ pip install pandas ``` 安裝 cntext ```shell= $ pip install cntext ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up