Skip to content

Instantly share code, notes, and snippets.

@drusepth
Last active June 6, 2020 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drusepth/8423598f027315119acf271642bb30cf to your computer and use it in GitHub Desktop.
Save drusepth/8423598f027315119acf271642bb30cf to your computer and use it in GitHub Desktop.
ubuntu@ip-172-30-0-205:~/roleplay$ pip --version
pip 20.1.1 from /home/ubuntu/anaconda3/lib/python3.7/site-packages/pip (python 3.7)
ubuntu@ip-172-30-0-205:~/roleplay$ pip3 --version
pip 20.1.1 from /home/ubuntu/.local/lib/python3.6/site-packages/pip (python 3.6)
ubuntu@ip-172-30-0-205:~/roleplay$ pip3 install aitextgen
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: aitextgen in /home/ubuntu/.local/lib/python3.6/site-packages (0.2.0)
Requirement already satisfied: fire>=0.3.0 in /home/ubuntu/.local/lib/python3.6/site-packages (from aitextgen) (0.3.1)
Requirement already satisfied: transformers>=2.9.1 in /home/ubuntu/.local/lib/python3.6/site-packages (from aitextgen) (2.11.0)
Requirement already satisfied: pytorch-lightning>=0.7.6 in /home/ubuntu/.local/lib/python3.6/site-packages (from aitextgen) (0.7.6)
Requirement already satisfied: termcolor in /home/ubuntu/.local/lib/python3.6/site-packages (from fire>=0.3.0->aitextgen) (1.1.0)
Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from fire>=0.3.0->aitextgen) (1.10.0)
Requirement already satisfied: tqdm>=4.27 in /home/ubuntu/.local/lib/python3.6/site-packages (from transformers>=2.9.1->aitextgen) (4.46.1)
Requirement already satisfied: sentencepiece in /home/ubuntu/.local/lib/python3.6/site-packages (from transformers>=2.9.1->aitextgen) (0.1.91)
Requirement already satisfied: dataclasses; python_version < "3.7" in /home/ubuntu/.local/lib/python3.6/site-packages (from transformers>=2.9.1->aitextgen) (0.7)
Requirement already satisfied: requests in /home/ubuntu/.local/lib/python3.6/site-packages (from transformers>=2.9.1->aitextgen) (2.23.0)
Requirement already satisfied: packaging in /usr/local/lib/python3.6/dist-packages (from transformers>=2.9.1->aitextgen) (20.3)
Requirement already satisfied: regex!=2019.12.17 in /home/ubuntu/.local/lib/python3.6/site-packages (from transformers>=2.9.1->aitextgen) (2020.5.14)
Requirement already satisfied: filelock in /home/ubuntu/.local/lib/python3.6/site-packages (from transformers>=2.9.1->aitextgen) (3.0.12)
Requirement already satisfied: tokenizers==0.7.0 in /home/ubuntu/.local/lib/python3.6/site-packages (from transformers>=2.9.1->aitextgen) (0.7.0)
Requirement already satisfied: numpy in /home/ubuntu/.local/lib/python3.6/site-packages (from transformers>=2.9.1->aitextgen) (1.18.5)
Requirement already satisfied: sacremoses in /home/ubuntu/.local/lib/python3.6/site-packages (from transformers>=2.9.1->aitextgen) (0.0.43)
Requirement already satisfied: tensorboard>=1.14 in /home/ubuntu/.local/lib/python3.6/site-packages (from pytorch-lightning>=0.7.6->aitextgen) (2.2.2)
Requirement already satisfied: future>=0.17.1 in /usr/local/lib/python3.6/dist-packages (from pytorch-lightning>=0.7.6->aitextgen) (0.17.1)
Requirement already satisfied: torch>=1.1 in /home/ubuntu/.local/lib/python3.6/site-packages (from pytorch-lightning>=0.7.6->aitextgen) (1.5.0)
Requirement already satisfied: pyyaml>=3.13 in /home/ubuntu/.local/lib/python3.6/site-packages (from pytorch-lightning>=0.7.6->aitextgen) (5.3.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests->transformers>=2.9.1->aitextgen) (2018.1.18)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests->transformers>=2.9.1->aitextgen) (2.6)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests->transformers>=2.9.1->aitextgen) (1.24.3)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests->transformers>=2.9.1->aitextgen) (3.0.4)
Requirement already satisfied: pyparsing>=2.0.2 in /usr/local/lib/python3.6/dist-packages (from packaging->transformers>=2.9.1->aitextgen) (2.4.7)
Requirement already satisfied: joblib in /home/ubuntu/.local/lib/python3.6/site-packages (from sacremoses->transformers>=2.9.1->aitextgen) (0.15.1)
Requirement already satisfied: click in /usr/lib/python3/dist-packages (from sacremoses->transformers>=2.9.1->aitextgen) (6.7)
Requirement already satisfied: markdown>=2.6.8 in /home/ubuntu/.local/lib/python3.6/site-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (3.2.2)
Requirement already satisfied: google-auth<2,>=1.6.3 in /home/ubuntu/.local/lib/python3.6/site-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (1.16.1)
Requirement already satisfied: setuptools>=41.0.0 in /home/ubuntu/.local/lib/python3.6/site-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (47.1.1)
Requirement already satisfied: grpcio>=1.24.3 in /home/ubuntu/.local/lib/python3.6/site-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (1.29.0)
Requirement already satisfied: protobuf>=3.6.0 in /usr/local/lib/python3.6/dist-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (3.12.0)
Requirement already satisfied: absl-py>=0.4 in /home/ubuntu/.local/lib/python3.6/site-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (0.9.0)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /home/ubuntu/.local/lib/python3.6/site-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (1.6.0.post3)
Requirement already satisfied: werkzeug>=0.11.15 in /home/ubuntu/.local/lib/python3.6/site-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (1.0.1)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /home/ubuntu/.local/lib/python3.6/site-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (0.4.1)
Requirement already satisfied: wheel>=0.26; python_version >= "3" in /usr/local/lib/python3.6/dist-packages (from tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (0.34.2)
Requirement already satisfied: importlib-metadata; python_version < "3.8" in /home/ubuntu/.local/lib/python3.6/site-packages (from markdown>=2.6.8->tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (1.6.1)
Requirement already satisfied: cachetools<5.0,>=2.0.0 in /home/ubuntu/.local/lib/python3.6/site-packages (from google-auth<2,>=1.6.3->tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (4.1.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/lib/python3/dist-packages (from google-auth<2,>=1.6.3->tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (0.2.1)
Requirement already satisfied: rsa<4.1,>=3.1.4 in /usr/local/lib/python3.6/dist-packages (from google-auth<2,>=1.6.3->tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (3.4.2)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /home/ubuntu/.local/lib/python3.6/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /home/ubuntu/.local/lib/python3.6/site-packages (from importlib-metadata; python_version < "3.8"->markdown>=2.6.8->tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (3.1.0)
Requirement already satisfied: pyasn1>=0.1.3 in /usr/lib/python3/dist-packages (from rsa<4.1,>=3.1.4->google-auth<2,>=1.6.3->tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (0.4.2)
Requirement already satisfied: oauthlib>=3.0.0 in /home/ubuntu/.local/lib/python3.6/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=1.14->pytorch-lightning>=0.7.6->aitextgen) (3.1.0)
ubuntu@ip-172-30-0-205:~/roleplay$ python3
Python 3.7.7 (default, Mar 26 2020, 15:48:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from aitextgen import aitextgen
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'aitextgen'
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment