-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Installation issue: py-docutils (symlink error) #32769
Copy link
Copy link
Closed
Labels
Description
Steps to reproduce the issue
$ spack install py-docutilsError message
==> Error: FileNotFoundError: [Errno 2] No such file or directory: '/projects/spack/opt/spack/linux-ubuntu22.04-sandybridge/gcc-11.2.0/py-docutils-0.18.1-cwwxkd7vth6lvylkfm4hyow75rv7ib5i/bin'
/projects/spack/var/spack/repos/builtin/packages/py-docutils/package.py:42, in post_install:
40 def post_install(self):
41 bin_path = self.prefix.bin
>> 42 for file in os.listdir(bin_path):
43 if file.endswith(".py"):
44 os.symlink(os.path.join(bin_path, file), os.path.join(bin_path, file[:-3]))
Information on your system
- Spack: 0.19.0.dev0 (123354e)
- Python: 3.10.4
- Platform: linux-ubuntu22.04-sandybridge
- Concretizer: clingo
Additional information
No response
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have run
spack maintainers <name-of-the-package>and @mentioned any maintainers - I have uploaded the build log and environment files
- I have searched the issues of this repo and believe this is not a duplicate
Reactions are currently unavailable