GithubHelp home page GithubHelp logo

Comments (2)

deleteprod avatar deleteprod commented on May 27, 2024

I get this:

(base) ➜ kubespray git:(master) brew install jsonschema Error: jsonschema has been disabled because it cli is deprecated, and will be removed!

Then this:

(base) ➜ kubespray git:(master) pip3 install jsonschema Requirement already satisfied: jsonschema in /Users/martyn/anaconda3/lib/python3.11/site-packages (4.17.3) Requirement already satisfied: attrs>=17.4.0 in /Users/martyn/anaconda3/lib/python3.11/site-packages (from jsonschema) (22.1.0) Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /Users/martyn/anaconda3/lib/python3.11/site-packages (from jsonschema) (0.18.0)

Then when both Homebrew and Python are happy - this:

fatal: [node1]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (jsonschema) on chiefwiggum's Python /opt/homebrew/Cellar/ansible/9.4.0/libexec/bin/python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"} An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleError: Failed to import the required Python library (jsonschema) on chiefwiggum's Python /opt/homebrew/Cellar/ansible/9.4.0/libexec/bin/python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter

from kubespray.

deleteprod avatar deleteprod commented on May 27, 2024

`(base) ➜ kubespray git:(master) python --version
Python 3.11.5
(base) ➜ kubespray git:(master) python
Python 3.11.5 (main, Sep 11 2023, 08:31:25) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import jsonschema
print("No errors on interactive import")
No errors on interactive import

`

from kubespray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.