You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ pdm init
Creating a pyproject.toml for PDM...
Please enter the Python interpreter to use
0. [email protected] (/home/wold9168/Documents/_WIP/Real-ESRGAN/.venv/bin/python)
1. [email protected] (/usr/bin/python3.13)
2. [email protected] (/usr/bin/python)
Please select (0): 1
Virtualenv is created successfully at /home/wold9168/Documents/_WIP/test/.venv
Project name (test):
Project version (0.1.0):
Do you want to build this project for distribution(such as wheel)?
If yes, it will be installed by default when running `pdm install`. [y/n] (n):
License(SPDX name) (MIT):
Author name (wold9168):
Author email ([email protected]):
Python requires('*' to allow any) (==3.13.*):
Project is initialized successfully
❯ eval $(pdm venv activate in-project)
❯ pip install basicsr
zsh: pip: command not found...
Install package 'python3-pip' to provide command 'pip'? [N/y] N
❯ pdm add basicsr==1.4.2
Adding packages to default dependencies: basicsr==1.4.2
0:00:00 🔒 Lock successful.
Changes are written to pyproject.toml.
Synchronizing working set with resolved packages: 1 to add, 0 to update, 0 to remove
✖ Install basicsr 1.4.2 failed
✖ Install basicsr 1.4.2 failed
ERRORS:
add basicsr failed:
Traceback (most recent call last):
File "/usr/lib64/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/wold9168/.local/share/pdm/venv/lib64/python3.13/site-packages/pdm/installers/synchronizers.py", line 29, in install_candidate
self.manager.install(can)
~~~~~~~~~~~~~~~~~~~~^^^^^
File "/home/wold9168/.local/share/pdm/venv/lib64/python3.13/site-packages/pdm/installers/manager.py", line 33, in install
prepared.build(),
~~~~~~~~~~~~~~^^
File "/home/wold9168/.local/share/pdm/venv/lib64/python3.13/site-packages/pdm/models/candidates.py", line 415, in build
self._cached = Path(builder.build(build_dir, metadata_directory=self._metadata_dir))
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wold9168/.local/share/pdm/venv/lib64/python3.13/site-packages/pdm/builders/base.py", line 84, in wrapper
return func(*args, **kwargs)
File "/home/wold9168/.local/share/pdm/venv/lib64/python3.13/site-packages/pdm/builders/wheel.py", line 24, in build
requires = self._hook.get_requires_for_build_wheel(self.config_settings)
File "/home/wold9168/.local/share/pdm/venv/lib64/python3.13/site-packages/pyproject_hooks/_impl.py", line 196, in get_requires_for_build_wheel
return self._call_hook(
~~~~~~~~~~~~~~~^
"get_requires_for_build_wheel", {"config_settings": config_settings}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/wold9168/.local/share/pdm/venv/lib64/python3.13/site-packages/pyproject_hooks/_impl.py", line 392, in _call_hook
self._subprocess_runner(
~~~~~~~~~~~~~~~~~~~~~~~^
,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cwd=self.source_dir,
^^^^^^^^^^^^^^^^^^^^
extra_environ=extra_environ,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/wold9168/.local/share/pdm/venv/lib64/python3.13/site-packages/pdm/builders/base.py", line 281, in subprocess_runner
return log_subprocessor(cmd, cwd, extra_environ=env)
File "/home/wold9168/.local/share/pdm/venv/lib64/python3.13/site-packages/pdm/builders/base.py", line 128, in log_subprocessor
raise build_error(e) from None
pdm.exceptions.BuildError: Build backend raised error: Showing the last 10 lines of the build output:
~~~~~~~~~~~~~~^^
File "/tmp/pdm-build-env-7ihutx3u-shared/lib/python3.13/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pdm-build-env-7ihutx3u-shared/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 149, in <module>
File "<string>", line 79, in get_version
KeyError: '__version__'
0:00:01 ✖ Some package operations failed. 1/1
See /home/wold9168/.local/state/pdm/log/pdm-install-nfu17b4v.log for detailed debug log.
[InstallationError]: Some package operations failed.
WARNING: Add '-v' to see the detailed traceback
The problem machine:
❯ fastfetch -l none
wold9168@toughb
---------------
OS: Fedora Linux 41 (KDE Plasma) x86_64
Host: ProLiant ML350p Gen8
Kernel: Linux 6.12.15-200.fc41.x86_64
Uptime: 1 hour, 1 min
Packages: 3449 (rpm), 12 (flatpak), 3 (snap)
Shell: zsh 5.9
Display (SKG2418): 1920x1080 @ 60 Hz in 27" [External]
DE: KDE Plasma 6.3.1
WM: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (Light) [Qt], Breeze [GTK3]
Icons: breeze [Qt], breeze [GTK3/4]
Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK3/4]
Cursor: breeze (24px)
Terminal: yakuake 24.12.2
CPU: 2 x Intel(R) Xeon(R) E5-2696 v2 (48) @ 3.50 GHz
GPU 1: NVIDIA GeForce GTX 1060 5GB [Discrete]
GPU 2: NVIDIA Tesla P4 [Discrete]
Memory: 8.50 GiB / 236.08 GiB (4%)
Swap: 13.14 MiB / 8.00 GiB (0%)
Disk (/): 384.39 GiB / 741.21 GiB (52%) - btrfs
Disk (/default): 2.93 TiB / 10.77 TiB (27%) - zfs
Local IP (eno1): 192.168.24.4/24
Locale: en_US.UTF-8
The text was updated successfully, but these errors were encountered:
The problem machine:
The text was updated successfully, but these errors were encountered: