Closed dputhier closed 3 years ago
So I would naturally go for plotnine 0.5.1 (as previous release) but then I get:
Traceback (most recent call last):
File "/Users/puthier/miniconda3/envs/pygtftk_dev/bin/gtftk", line 4, in <module>
__import__('pkg_resources').run_script('pygtftk==1.1.5', 'gtftk')
File "/Users/puthier/miniconda3/envs/pygtftk_dev/lib/python3.7/site-packages/pkg_resources/__init__.py", line 665, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Users/puthier/miniconda3/envs/pygtftk_dev/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1463, in run_script
exec(code, namespace, namespace)
File "/Users/puthier/miniconda3/envs/pygtftk_dev/lib/python3.7/site-packages/pygtftk-1.1.5-py3.7-macosx-10.9-x86_64.egg/EGG-INFO/scripts/gtftk", line 104, in <module>
args = main()
File "/Users/puthier/miniconda3/envs/pygtftk_dev/lib/python3.7/site-packages/pygtftk-1.1.5-py3.7-macosx-10.9-x86_64.egg/EGG-INFO/scripts/gtftk", line 89, in main
CmdManager.run(args)
File "/Users/puthier/miniconda3/envs/pygtftk_dev/lib/python3.7/site-packages/pygtftk-1.1.5-py3.7-macosx-10.9-x86_64.egg/pygtftk/cmd_manager.py", line 959, in run
fun(**args)
File "/Users/puthier/miniconda3/envs/pygtftk_dev/lib/python3.7/site-packages/pygtftk-1.1.5-py3.7-macosx-10.9-x86_64.egg/pygtftk/plugins/profile.py", line 1070, in profile
p += scale_x_continuous(expand=[0, 0], breaks=ticks, labels=labels)
File "/Users/puthier/miniconda3/envs/pygtftk_dev/lib/python3.7/site-packages/plotnine/scales/scale.py", line 485, in __init__
scale.__init__(self, **kwargs)
File "/Users/puthier/miniconda3/envs/pygtftk_dev/lib/python3.7/site-packages/plotnine/scales/scale.py", line 93, in __init__
if cbook.iterable(self.breaks) and cbook.iterable(self.labels):
AttributeError: module 'matplotlib.cbook' has no attribute 'iterable'
I restarted with a fresh conda, deleted matplotlib from my conda env and reinstall...
rm -rf /Users/puthier/miniconda3/envs/pygtftk_dev/lib/python3.7/site-packages/matplotlib*
conda install -c anaconda matplotlib
but I get:
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'matplotlib>=3.0.0' distribution was not found and is required by plotnine, pygtftk
So I install it with pip:
pip install matplotlib==3.3.1
But I got
if cbook.iterable(self.breaks) and cbook.iterable(self.labels):
AttributeError: module 'matplotlib.cbook' has no attribute 'iterable'
Hum...