|
From: | Martín Rincón Botero |
Subject: | Re: Lilypond and Python |
Date: | Sun, 1 Nov 2020 15:01:41 +0100 |
Dear community,I tried to install abjad withpip install abjadAnd I got:Collecting abjad
Using cached https://files.pythonhosted.org/packages/f7/2f/23b14c7ff2ca1a5728e81fc1b5960374ec444efad43b197dca009
53d90cc/Abjad-3.1.tar.gz
Could not import setuptools which is required to install from a source distribution.
Please install setuptools.
You are using pip version 9.0.3, however version 20.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.And afterpip install --upgrade pipI've gotCollecting pip
Using cached https://files.pythonhosted.org/packages/cb/28/91f26bd088ce8e22169032100d4260614fc3da435025ff389ef1d
396a433/pip-20.2.4-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 9.0.3
Uninstalling pip-9.0.3:
Successfully uninstalled pip-9.0.3
Rolling back uninstall of pip
Exception:
Traceback (most recent call last):
File "/home/stefan/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/stefan/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/home/stefan/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/stefan/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/stefan/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/stefan/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/stefan/.local/lib/python2.7/site-packages/pip/wheel.py", line 316, in clobber
ensure_dir(destdir)
File "/home/stefan/.local/lib/python2.7/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
os.makedirs(path)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pip-20.2.4.dist-info'
You are using pip version 9.0.3, however version 20.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.What can I do know?Thanks for Your help,StefanHey Megan,
I use a different approach, but have you checked Abjad already? https://abjad.github.io/index.html
Cheers
Martín.
www.martinrinconbotero.com
On 31. Oct 2020, 18:51 +0100, Megan Aldrich <maldrich@conncoll.edu>, wrote:
> Hello,
>
> Is there a package that would allow me to output in a lilypond format from python? I found something through google searches and it’s poorly documented and hard to use. Is there something that you recommend using?
>
> Meg
> --
> Megan Aldrich
>
> Connecticut College
[Prev in Thread] | Current Thread | [Next in Thread] |