Git Product home page Git Product logo

calysto_prolog's Introduction

calysto

Gitter Travis PyPI version

Libraries and Languages for Python and Jupyter

Homepage: http://calysto.github.io/

$ pip install calysto

OR

$ pip3 install calysto

You may also need to install:

  • libcairo2
  • libXrender
  • libfontconfig

On MacOS for graphics, you may also need:

  • brew install cairo

calysto_prolog's People

Contributors

dsblank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

calysto_prolog's Issues

pip3 install --upgrade calysto-prolog throws FileNotFoundError

Dear Doug,

when trying to install calysto-prolog(with and without sudo), this error occurred:

$ ~/podcasts $ pip3 install --upgrade calysto-prolog
Collecting calysto-prolog
  Using cached calysto_prolog-0.8.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-bbp5iw4d/calysto-prolog/setup.py", line 47, in <module>
        with open('README.md') as f:
    FileNotFoundError: [Errno 2] No such file or directory: 'README.md'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-bbp5iw4d/calysto-prolog

$ ~/podcasts $ pip3 --version
pip 7.1.2 from /usr/local/lib/python3.4/dist-packages (python 3.4)

Best regards,
Arne

No module named Kernel error

I am trying to install prolog kernel with the command

pip install calysto_prolog

Last part of the error is


writing list of installed files to '/tmp/pip-MSM55J-record/install-record.txt'

/usr/local/lib/python2.7/dist-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated. You should import from ipykernel or jupyter_client instead.

  "You should import from ipykernel or jupyter_client instead.", ShimWarning)

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "/tmp/pip-build-NErHtH/calysto-prolog/setup.py", line 64, in <module>

    'Programming Language :: Python :: 2',

  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup

    dist.run_commands()

  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands

    self.run_command(cmd)

  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

    cmd_obj.run()

  File "/tmp/pip-build-NErHtH/calysto-prolog/setup.py", line 22, in run

    from metakernel.utils.kernel import install_kernel_resources

ImportError: No module named kernel

Cant Install With Current Jupyter

    /Users/techdragon/.pyenv/versions/3.6.1/envs/jupyter/lib/python3.6/site-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated since IPython 4.0.You should import from ipykernel or jupyter_client instead.
      "You should import from ipykernel or jupyter_client instead.", ShimWarning)
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/pg/hv1fbzjj0dlfkfjk116mz6nr0000gn/T/pip-build-k6_6ddjt/calysto-prolog/setup.py", line 64, in <module>
        'Programming Language :: Python :: 2',
      File "/Users/techdragon/.pyenv/versions/3.6.1/lib/python3.6/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/Users/techdragon/.pyenv/versions/3.6.1/lib/python3.6/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/Users/techdragon/.pyenv/versions/3.6.1/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/private/var/folders/pg/hv1fbzjj0dlfkfjk116mz6nr0000gn/T/pip-build-k6_6ddjt/calysto-prolog/setup.py", line 22, in run
        from metakernel.utils.kernel import install_kernel_resources
    ModuleNotFoundError: No module named 'metakernel.utils.kernel'

--kernel option not working

Hi, I installed calysto_prolog using pip. The readme mentions the kernel is installed automatically, but I get No such kernel named calysto_prolog (full error log attached). Is there something else I would need to setup?

Best,

Richard
no_kernel_log.txt

error while installing kernelspec

Hello,

I'm trying to follow the README and in the second step of installing the kernelspec with this command:

python3 -m calysto_prolog --user install

I got this:

NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049


To connect another client to this kernel, use:
    --existing kernel-19978.json

And it stuck (seems it wait for something, i.e command still running!)

Any help with that please?

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.