Dear Dave,
many thanks to Your fast reply. But unfortunately it didn't work. It seems
to be a python problem:
pip install setuptools
Collecting setuptools

Using cached
https://files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006
ec932b4/setuptools-44.1.1-py2.py3-none-any.whl
Installing collected packages: setuptools
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
323, in clobber
   shutil.copyfile(srcfile, destfile)

 File "/usr/lib/python2.7/shutil.py", line 97, in copyfile

   with open(dst, 'wb') as fdst:


IOError: [Errno 13] Permission denied:
'/usr/local/lib/python2.7/dist-packages/easy_install.py'
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.

Am So., 1. Nov. 2020 um 16:51 Uhr schrieb Dave Seidel <dave.sei...@gmail.com
>:

> Hi Stefan,
>
> Ah, sorry, I missed that! Going back and looking at your original post, it
> looks like pip failed to install abjab because it needs the setuptools
> package. Try
>
>     pip install setuptools
>
> and if that succeeds then once again try
>
>     pip install abjab
>
> More than that I can't really say, as I am not an Abjab user (at least not
> yet) and have not installed it myself.
>
> Best,
> Dave
>
> On Sun, Nov 1, 2020 at 10:22 AM Stefan Thomas <kontrapunktste...@gmail.com>
> wrote:
>
>> Dear Dave,
>> unfortunately I have no idea how I can install abjad. I wasn't able to do
>> it with pip, can I do it in another way?
>>
>> Am So., 1. Nov. 2020 um 15:50 Uhr schrieb Dave Seidel <
>> dave.sei...@gmail.com>:
>>
>>> Hi Stefan,
>>>
>>> I suppose that the root user does not have pip in its path. I advise not
>>> worrying about it -- the older version of pip is fully functional and
>>> should not affect your ability to install and run what you need.
>>>
>>> - Dave
>>>
>>> On Sun, Nov 1, 2020 at 9:38 AM Stefan Thomas <
>>> kontrapunktste...@gmail.com> wrote:
>>>
>>>> Dear Dave,
>>>> thanks for Your soon reply.
>>>> When I type
>>>>
>>>>> sudo pip install --upgrade pip
>>>>>
>>>> I get
>>>>
>>>>> sudo: pip: command not found
>>>>>
>>>> I don't know how to update pip.
>>>> Do You have a hint?
>>>> All the best,
>>>> Stefan
>>>>
>>>>
>>>>
>>>> Am So., 1. Nov. 2020 um 14:15 Uhr schrieb Dave Seidel <
>>>> dave.sei...@gmail.com>:
>>>>
>>>>> Try upgrading pip with sudo (i.e., "sudo pip install --upgrade pip"),
>>>>> though it is not really necessary to run abjab or anything else, which
>>>>> seems to have installed properly.
>>>>>
>>>>> - Dave
>>>>>
>>>>> On Sun, Nov 1, 2020 at 8:01 AM Stefan Thomas <
>>>>> kontrapunktste...@gmail.com> wrote:
>>>>>
>>>>>> Dear community,
>>>>>> I tried to install abjad with
>>>>>> pip install abjad
>>>>>> And 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 after
>>>>>>
>>>>>>> pip install --upgrade pip
>>>>>>>
>>>>>> I've got
>>>>>>
>>>>>>> Collecting 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,
>>>>>> Stefan
>>>>>>
>>>>>> Hey 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 <maldr...@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
>>>>>>>
>>>>>>
>>>>>>

Reply via email to