Giter Club home page Giter Club logo

base16-prompt-toolkit's People

Contributors

boronine avatar ddrscott avatar memeplex avatar

Stargazers

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

Watchers

 avatar  avatar

base16-prompt-toolkit's Issues

ModuleNotFoundError: No module named 'prompt_toolkit.terminal

I'm trying to get control of colors on my ipython prompt so I gave this a try. But it fails with a complaint about a missing module. Any ideas on what is going wrong?

MT1$ ipython [TerminalIPythonApp] ERROR | Exception while loading config file /home/gb/.ipython/profile_default/ipython_config.py Traceback (most recent call last): File "/home/gb/miniconda3/envs/jupyter/lib/python3.6/site-packages/traitlets/config/application.py", line 562, in _load_config_files config = loader.load_config() File "/home/gb/miniconda3/envs/jupyter/lib/python3.6/site-packages/traitlets/config/loader.py", line 457, in load_config self._read_file_as_dict() File "/home/gb/miniconda3/envs/jupyter/lib/python3.6/site-packages/traitlets/config/loader.py", line 489, in _read_file_as_dict py3compat.execfile(conf_filename, namespace) File "/home/gb/miniconda3/envs/jupyter/lib/python3.6/site-packages/ipython_genutils/py3compat.py", line 198, in execfile exec(compiler(f.read(), fname, 'exec'), glob, loc) File "/home/gb/.ipython/profile_default/ipython_config.py", line 311, in <module> theme = importlib.import_module('base16.base16-monokai') File "/home/gb/miniconda3/envs/jupyter/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/gb/python/extensions/base16/base16-monokai.py", line 7, in <module> from prompt_toolkit.terminal.vt100_output import _256_colors ModuleNotFoundError: No module named 'prompt_toolkit.terminal' Python 3.6.6 | packaged by conda-forge | (default, Jul 26 2018, 09:53:17)

rename themes modules with underscore ?

That should allow purely declarative imports, as things are string IPython should be able to auto import them correctly.

It might be possible to have a shim that does the right things. I can give it a try for the shim.

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.