ipython is missing the library pickleshare, how to get it installed (the right way)? #4980
Replies: 3 comments 1 reply
-
You can make a pull request to adjust the formula |
Beta Was this translation helpful? Give feedback.
-
I see same UserWarning but in different context:
In [3]: !!brew config |
Beta Was this translation helpful? Give feedback.
-
In the meantime, a workaround: % /opt/homebrew/Cellar/ipython/8.26.0/libexec/bin/python -m pip install pickleshare |
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
Simply don't know how to correctly required python libraries in a brew based system. I thought I read pip3 install pickleshare would be a bad thing. So what's the recommended way? I am new to homebrew and MacOS, but do have Linux background.
More directly, the ipython formula I installed has numerous UserWarnings when run. It seems like an incomplete installation. Here is the output when using valid commands.
` % ipython
Python 3.12.1 (main, Dec 7 2023, 20:45:44) [Clang 15.0.0 (clang-1500.0.40.1)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.18.1 -- An enhanced Interactive Python. Type '?' for help.
/opt/homebrew/Cellar/ipython/8.18.1/libexec/lib/python3.12/site-packages/IPython/core/completerlib.py:363: UserWarning: using bookmarks requires you to install the
pickleshare
library.bks = self.db.get('bookmarks',{})
In [1]: cd Documents/python/home/
/opt/homebrew/Cellar/ipython/8.18.1/libexec/lib/python3.12/site-packages/IPython/core/magics/osm.py:417: UserWarning: using dhist requires you to install the
pickleshare
library.self.shell.db['dhist'] = compress_dhist(dhist)[-100:]
/Users/me/Documents/python/home
In [2]: `
In my previous experience one would simply install pickleshare via pip. What is the correct way to handle this with homebrew? The paradigm of homebrew appears to be different, so I am asking.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions