Skip to content

Warning about 'environmentfilter' from 'jinja2.filters' #200

@swiftfile

Description

@swiftfile

Describe the bug

$  sh setup.sh
[sudo] yusukemizoguchi のパスワード:
ヒット:1 http://jp.archive.ubuntu.com/ubuntu focal InRelease
ヒット:2 http://jp.archive.ubuntu.com/ubuntu focal-updates InRelease
ヒット:3 http://jp.archive.ubuntu.com/ubuntu focal-backports InRelease
取得:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
ヒット:5 https://deb.nodesource.com/node_10.x focal InRelease
ヒット:6 http://packages.ros.org/ros2/ubuntu focal InRelease
取得:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [40.7 kB]
取得:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [10.6 kB]
取得:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [66.5 kB]
取得:10 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
234 kB を 2秒 で取得しました (125 kB/s)
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
アップグレードできるパッケージが 21 個あります。表示するには 'apt list --upgradable' を実行してください。
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
python3 はすでに最新バージョン (3.8.2-0ubuntu2) です。
python3-pip はすでに最新バージョン (20.0.2-5ubuntu1.6) です。
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
ieee-data python3-dnspython python3-libcloud python3-netaddr python3-selinux
これを削除するには 'sudo apt autoremove' を利用してください。
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 21 個。
Requirement already satisfied: ansible==2.9.8 in /usr/local/lib/python3.8/dist-packages (2.9.8)
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from ansible==2.9.8) (2.8)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.8/dist-packages (from ansible==2.9.8) (3.1.1)
Requirement already satisfied: PyYAML in /usr/lib/python3/dist-packages (from ansible==2.9.8) (5.3.1)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.8/dist-packages (from jinja2->ansible==2.9.8) (2.1.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
[WARNING]: - monolithprojects.github_actions_runner (1.15.4) is already installed - use --force to change version to unspecified
BECOME password:
PLAY [Setup Development Environment] ***************************************************************************************************************
TASK [Gathering Facts] *****************************************************************************************************************************
ok: [0.0.0.0]
TASK [docker_testbench : install qemu] *************************************************************************************************************
[WARNING]: Skipping plugin (/usr/local/lib/python3.8/dist-packages/ansible/plugins/filter/core.py) as it seems to be invalid: cannot import name
'environmentfilter' from 'jinja2.filters' (/usr/local/lib/python3.8/dist-packages/jinja2/filters.py)
[WARNING]: Skipping plugin (/usr/local/lib/python3.8/dist-packages/ansible/plugins/filter/mathstuff.py) as it seems to be invalid: cannot import
name 'environmentfilter' from 'jinja2.filters' (/usr/local/lib/python3.8/dist-packages/jinja2/filters.py)
ok: [0.0.0.0]
TASK [docker_testbench : check jetson-nano-sd-card-image.zip exists] *******************************************************************************
ok: [0.0.0.0]
TASK [docker_testbench : download image] ***********************************************************************************************************
[WARNING]: Skipping plugin (/usr/local/lib/python3.8/dist-packages/ansible/plugins/filter/core.py) as it seems to be invalid: cannot import name
'environmentfilter' from 'jinja2.filters' (/usr/local/lib/python3.8/dist-packages/jinja2/filters.py)
[WARNING]: Skipping plugin (/usr/local/lib/python3.8/dist-packages/ansible/plugins/filter/mathstuff.py) as it seems to be invalid: cannot import
name 'environmentfilter' from 'jinja2.filters' (/usr/local/lib/python3.8/dist-packages/jinja2/filters.py)

To Reproduce

  1. sh setup.sh

Expected behavior
Processing without warning

Expected causing
jinja2のversion

Screenshots
image

Desktop (please complete the following information):

  • HOSTOS: Ubuntu 20.04

image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions