純粋なPythonのフルスタックのPythonフレームワーク「pynecone」のインストール

スポンサーリンク

純粋なPythonのフルスタックのPythonフレームワーク「pynecone」のインストールについて解説しています。

「pynecone(https://pynecone.io/,https://github.com/pynecone-io/pynecone)」は、Web アプリを数分で簡単に構築およびデプロイできるフルスタックのPythonフレームワークです。

■Python

今回のPythonのバージョンは、「3.8.5」を使用しています。(Windows10)(pythonランチャーでの確認)

■pyneconeをインストールする

pyneconeをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。

pip install pynecone

起動後、上記のコマンドを入力し、Enterキーを押します。

なお、今回は、pythonランチャーを使用しており、Python Version 3.8.5にインストールを行うために、バージョンの切り替えを行います。

py -3.8 -m pip install pynecone

切り替えるために、上記のコマンドを入力し、Enterキーを押します。

Defaulting to user installation because normal site-packages is not writeable
Collecting pynecone
Downloading pynecone-0.1.18-py3-none-any.whl (233 kB)
---------------------------------------- 233.3/233.3 kB 1.0 MB/s eta 0:00:00
Collecting httpx<0.24.0,>=0.23.1
Using cached httpx-0.23.3-py3-none-any.whl (71 kB)
Collecting plotly<6.0.0,>=5.10.0
Downloading plotly-5.13.0-py2.py3-none-any.whl (15.2 MB)
---------------------------------------- 15.2/15.2 MB 1.9 MB/s eta 0:00:00
Collecting psutil<6.0.0,>=5.9.4
Using cached psutil-5.9.4-cp36-abi3-win_amd64.whl (252 kB)
Collecting sqlmodel<0.0.9,>=0.0.8
Downloading sqlmodel-0.0.8-py3-none-any.whl (21 kB)
Collecting python-socketio<6.0.0,>=5.7.2
Downloading python_socketio-5.7.2-py3-none-any.whl (56 kB)
---------------------------------------- 56.7/56.7 kB 1.0 MB/s eta 0:00:00
Collecting cloudpickle<3.0.0,>=2.2.1
Downloading cloudpickle-2.2.1-py3-none-any.whl (25 kB)
Collecting pydantic==1.10.2
Using cached pydantic-1.10.2-cp38-cp38-win_amd64.whl (2.2 MB)
Collecting gunicorn<21.0.0,>=20.1.0
Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
---------------------------------------- 79.5/79.5 kB 1.5 MB/s eta 0:00:00
Collecting redis<5.0.0,>=4.3.5
Downloading redis-4.5.1-py3-none-any.whl (238 kB)
---------------------------------------- 238.5/238.5 kB 2.5 MB/s eta 0:00:00
Collecting fastapi<0.89.0,>=0.88.0
Downloading fastapi-0.88.0-py3-none-any.whl (55 kB)
---------------------------------------- 55.5/55.5 kB 730.3 kB/s eta 0:00:00
Collecting rich<13.0.0,>=12.6.0
Downloading rich-12.6.0-py3-none-any.whl (237 kB)
---------------------------------------- 237.5/237.5 kB 1.8 MB/s eta 0:00:00
Collecting websockets<11.0,>=10.4
Using cached websockets-10.4-cp38-cp38-win_amd64.whl (101 kB)
Collecting uvicorn<0.21.0,>=0.20.0
Downloading uvicorn-0.20.0-py3-none-any.whl (56 kB)
---------------------------------------- 56.9/56.9 kB 1.0 MB/s eta 0:00:00
Collecting typer==0.4.2
Downloading typer-0.4.2-py3-none-any.whl (27 kB)
Requirement already satisfied: typing-extensions>=4.1.0 in c:\users\user_\appdata\roaming\python\python38\site-packages (from pydantic==1.10.2->pynecone) (4.4.0)
Collecting click<9.0.0,>=7.1.1
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting starlette==0.22.0
Downloading starlette-0.22.0-py3-none-any.whl (64 kB)
---------------------------------------- 64.3/64.3 kB 1.2 MB/s eta 0:00:00
Collecting anyio<5,>=3.4.0
Using cached anyio-3.6.2-py3-none-any.whl (80 kB)
Requirement already satisfied: setuptools>=3.0 in c:\users\user_\appdata\roaming\python\python38\site-packages (from gunicorn<21.0.0,>=20.1.0->pynecone) (59.8.0)
Requirement already satisfied: certifi in c:\users\user_\appdata\roaming\python\python38\site-packages (from httpx<0.24.0,>=0.23.1->pynecone) (2022.12.7)
Collecting sniffio
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting rfc3986[idna2008]<2,>=1.3
Using cached rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting httpcore<0.17.0,>=0.15.0
Using cached httpcore-0.16.3-py3-none-any.whl (69 kB)
Collecting tenacity>=6.2.0
Downloading tenacity-8.2.1-py3-none-any.whl (24 kB)
Collecting python-engineio>=4.3.0
Downloading python_engineio-4.3.4-py3-none-any.whl (52 kB)
---------------------------------------- 52.9/52.9 kB 546.3 kB/s eta 0:00:00
Collecting bidict>=0.21.0
Downloading bidict-0.22.1-py3-none-any.whl (35 kB)
Requirement already satisfied: async-timeout>=4.0.2 in c:\users\user_\appdata\roaming\python\python38\site-packages (from redis<5.0.0,>=4.3.5->pynecone) (4.0.2)
Collecting pygments<3.0.0,>=2.6.0
Using cached Pygments-2.14.0-py3-none-any.whl (1.1 MB)
Collecting commonmark<0.10.0,>=0.9.0
Using cached commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Collecting sqlalchemy2-stubs
Downloading sqlalchemy2_stubs-0.0.2a32-py3-none-any.whl (191 kB)
---------------------------------------- 191.6/191.6 kB 2.3 MB/s eta 0:00:00
Collecting SQLAlchemy<=1.4.41,>=1.4.17
Using cached SQLAlchemy-1.4.41-cp38-cp38-win_amd64.whl (1.6 MB)
Collecting h11>=0.8
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Collecting colorama
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: idna in c:\users\user_\appdata\roaming\python\python38\site-packages (from rfc3986[idna2008]<2,>=1.3->httpx<0.24.0,>=0.23.1->pynecone) (3.4)
Collecting greenlet!=0.4.17
Downloading greenlet-2.0.2-cp38-cp38-win_amd64.whl (192 kB)
---------------------------------------- 192.1/192.1 kB 2.9 MB/s eta 0:00:00
Installing collected packages: rfc3986, commonmark, websockets, tenacity, sqlalchemy2-stubs, sniffio, redis, python-engineio, pygments, pydantic, psutil, h11, gunicorn, greenlet, colorama, cloudpickle, bidict, SQLAlchemy, rich, python-socketio, plotly, click, anyio, uvicorn, typer, starlette, sqlmodel, httpcore, httpx, fastapi, pynecone
Successfully installed SQLAlchemy-1.4.41 anyio-3.6.2 bidict-0.22.1 click-8.1.3 cloudpickle-2.2.1 colorama-0.4.6 commonmark-0.9.1 fastapi-0.88.0 greenlet-2.0.2 gunicorn-20.1.0 h11-0.14.0 httpcore-0.16.3 httpx-0.23.3 plotly-5.13.0 psutil-5.9.4 pydantic-1.10.2 pygments-2.14.0 pynecone-0.1.18 python-engineio-4.3.4 python-socketio-5.7.2 redis-4.5.1 rfc3986-1.5.0 rich-12.6.0 sniffio-1.3.0 sqlalchemy2-stubs-0.0.2a32 sqlmodel-0.0.8 starlette-0.22.0 tenacity-8.2.1 typer-0.4.2 uvicorn-0.20.0 websockets-10.4

Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、pyneconeが正常にインストールされたことになります。

なお、今回はpyneconeのバージョン0.0.1をインストールしました。

コメント

タイトルとURLをコピーしました