Pypush install

I will just start off with this…

 ╭─fenris@fenris in ~ as 🧙 took 21ms
 ╰─λ sudo garuda-inxi
System:
  Kernel: 6.9.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=cd6e149b-2970-476f-b742-e3dc1120bedc rw rootflags=subvol=@
    quiet rd.luks.uuid=264cadad-c8c3-46fe-b132-32f30ff8b69c
    rd.luks.uuid=0dd705d1-74f7-4ae7-8f55-96ae57f524b8
    resume=/dev/mapper/luks-0dd705d1-74f7-4ae7-8f55-96ae57f524b8 loglevel=3
    ibt=off
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver avail: xautolock dm: LightDM
    v: 1.32.0 Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: AZW model: MINI S v: 10 serial: N/A part-nu: 01
    uuid: 03000200-0400-0500-0006-000700080009 UEFI: American Megatrends LLC.
    v: ADLNV104 date: 02/06/2023
CPU:
  Info: model: Intel N100 socket: U3E1 bits: 64 type: MCP arch: Alder Lake
    level: v3 note: check built: 2021+ process: Intel 7 (10nm ESF) family: 6
    model-id: 0xBE (190) stepping: 0 microcode: 0x17
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 384 KiB
    desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 1x2 MiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 966 high: 1222 min/max: 700/3400 base/boost: 2871/3400
    scaling: driver: intel_pstate governor: powersave volts: 1.0 V
    ext-clock: 100 MHz cores: 1: 1222 2: 1019 3: 799 4: 827 bogomips: 6451
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel Alder Lake-N [UHD Graphics] driver: i915 v: kernel
    alternate: xe arch: Gen-12.2 process: Intel 10nm built: 2021-22+ ports:
    active: HDMI-A-1 empty: HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:46d1
    class-ID: 0300
  Device-2: Creative Live! Cam Sync 1080p V2 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4.3:6
    chip-ID: 041e:40a0 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.13 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting alternate: fbdev,intel,vesa dri: iris gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Acer G247HYL serial: <filter>
    built: 2016 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: integrated-gpu
    name: Intel Graphics (ADL-N) driver: mesa intel v: 24.1.0-arch1.1
    device-ID: 8086:46d1 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
    (LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.1.0-arch1.1 (LLVM
    17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: Intel Alder Lake-N PCH High Definition Audio driver: snd_hda_intel
    v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:54c8 class-ID: 0403
  Device-2: Creative Live! Cam Sync 1080p V2 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4.3:6
    chip-ID: 041e:40a0 class-ID: 0102 serial: <filter>
  Device-3: C-Media CM106 Like Sound Device
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-4.4:8 chip-ID: 0d8c:0102 class-ID: 0300
  API: ALSA v: k6.9.2-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.0.7 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel CNVi: Wi-Fi driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:54f0 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000
    bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-3: ASIX AX88179 Gigabit Ethernet driver: ax88179_178a type: USB
    rev: 3.0 speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 2-4.1:4
    chip-ID: 0b95:1790 class-ID: ff00 serial: <filter>
  IF: enp0s20f0u4u1 state: down mac: <filter>
  IF-ID-1: tun0 state: unknown speed: 10000 Mbps duplex: full mac: N/A
  IF-ID-2: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-3: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
  Info: services: NetworkManager, smbd, sshd, systemd-timesyncd,
    wpa_supplicant
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:5 chip-ID: 8087:0026
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 2.73 TiB used: 1.5 TiB (55.0%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 PRO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 4B2QJXD7 temp: 54.9 C
    scheme: GPT
  SMART: yes health: PASSED on: 36d 17h cycles: 14
    read-units: 17,510,171 [8.96 TB] written-units: 5,702,889 [2.91 TB]
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000LM015-2E8174
    family: Barracuda 2.5 5400 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B sata: 3.1 speed: 6.0 Gb/s tech: HDD rpm: 5400
    serial: <filter> fw-rev: 0001 temp: 49 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 146d 13h cycles: 141
    read: 16.69 TiB written: 21.47 TiB Pre-Fail: attribute: Spin_Retry_Count
    value: 100 worst: 100 threshold: 97
Partition:
  ID-1: / raw-size: 914.27 GiB size: 914.27 GiB (100.00%)
    used: 313.54 GiB (34.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-1
    maj-min: 254:1 mapped: luks-264cadad-c8c3-46fe-b132-32f30ff8b69c
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 728 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
  ID-3: /home raw-size: 914.27 GiB size: 914.27 GiB (100.00%)
    used: 313.54 GiB (34.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-1
    maj-min: 254:1 mapped: luks-264cadad-c8c3-46fe-b132-32f30ff8b69c
  ID-4: /var/log raw-size: 914.27 GiB size: 914.27 GiB (100.00%)
    used: 313.54 GiB (34.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-1
    maj-min: 254:1 mapped: luks-264cadad-c8c3-46fe-b132-32f30ff8b69c
  ID-5: /var/tmp raw-size: 914.27 GiB size: 914.27 GiB (100.00%)
    used: 313.54 GiB (34.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-1
    maj-min: 254:1 mapped: luks-264cadad-c8c3-46fe-b132-32f30ff8b69c
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 16.94 GiB used: 66 MiB (0.4%)
    priority: -2 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-0dd705d1-74f7-4ae7-8f55-96ae57f524b8
  ID-2: swap-2 type: zram size: 15.4 GiB used: 13.44 GiB (87.3%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 58.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.4 GiB used: 13.54 GiB (87.9%)
    igpu: 60 MiB
  Processes: 397 Power: uptime: 2d 15h 4m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 0 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 6.14 GiB
    services: upowerd,xfce4-power-manager Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: 1926 pm: pacman pkgs: 1919 libs: 485 tools: pamac,paru,yay
    pm: snap pkgs: 7 Compilers: clang: 17.0.6 gcc: 14.1.1
    Shell: garuda-inxi (sudo) default: Bash v: 5.2.26
    running-in: xfce4-terminal inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2024-04-11
  Last full system update: 2024-05-31 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            vmware-workstation-server.service vmware.service 

 ╭─fenris@fenris in ~ as 🧙 took 4s
 ╰─λ 

So here I am trying to figure out how to send messages to iPhones from linux and I come across this video Snazzy Labs - REAL iMessage on Android - No Apple ID Needed!. He showed the pypush python program so I tried to figure out how to install it in Garuda.

I then install python-pip into Garuda, then go to the GitHub site to download the script GitHub - JJTech0130/pypush: [being rewritten] Cross-platform iMessage POC

However, when you follow the Git instructions, I start getting this:

╭─fenris@fenris in /mnt/veracrypt1/Videos as 🧙 took 1m29s
 ╰─λ pip install -e .
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.
    
    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

 ╭─fenris@fenris in /mnt/veracrypt1/Videos as 🧙 took 796ms
[🔴] × 

I can’t figure out how to fix that bug anywhere, any possible ideas? Or am I limited to using iMessenger in virtual machines for all existence?

They have actually shown you what to do.

mkdir myvenv
python -m venv myvenv
source myvenv/bin/activate
or
source myvenv/bin/activate.fish
#if you are using fish
#cd your project your_project
pip install -e .

This is what happened when I follow the instructions you posted:

 ╭─fenris@fenris in repo: pypush on  main via  v3.12.3 as 🧙 took 436ms
 ╰─λ mkdir myvenv

 ╭─fenris@fenris in repo: pypush on  main via  v3.12.3 as 🧙 took 9ms
 ╰─λ python -m venv myvenv

 ╭─fenris@fenris in repo: pypush on  main [?] via  v3.12.3 as 🧙 took 2s
 ╰─λ source myvenv/bin/activate

 ╭─fenris@fenris in repo: pypush on  main [?] via  v3.12.3 (myvenv) as 🧙 took 8ms
 ╰─λ pip install -e .
Obtaining file:///home/fenris/Downloads/Git/pypush
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build editable did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      error: Multiple top-level packages discovered in a flat-layout: ['pypush', 'myvenv'].
      
      To avoid accidental inclusion of unwanted files or directories,
      setuptools will not proceed with this build.
      
      If you are trying to create a single distribution with multiple packages
      on purpose, you should not rely on automatic discovery.
      Instead, consider the following options:
      
      1. set up custom discovery (`find` directive with `include` or `exclude`)
      2. use a `src-layout`
      3. explicitly set `py_modules` or `packages` with a list of names
      
      To find more information, look for "package discovery" on setuptools docs.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

 ╭─fenris@fenris in repo: pypush on  main [?] via  v3.12.3 (myvenv) as 🧙 took 24s
[🔴] × 

I think the problem now should be handled by whoever made that thing you are trying to install

1 Like

Looking at it a second time, I think your virtual env myvenv should be outside the project directory.

Did you mean like this?


 ╭─fenris@fenris in ~ as 🧙 took 16ms
 ╰─λ cd Download
bash: cd: Download: No such file or directory

 ╭─fenris@fenris in ~ as 🧙 took 6ms
[🔴] × cd Downloads

 ╭─fenris@fenris in ~/Downloads as 🧙 took 7ms
 ╰─λ ls
drwxr-xr-x - fenris 31 May 15:24  Git
drwxr-xr-x - fenris 20 May 18:52  'Install MacOS Ventura on ESXi 7.0'

 ╭─fenris@fenris in ~/Downloads as 🧙 took 18ms
 ╰─λ mkdir myvenv

 ╭─fenris@fenris in ~/Downloads as 🧙 took 5ms
 ╰─λ python -m venv myvenv

 ╭─fenris@fenris in ~/Downloads as 🧙 took 3s
 ╰─λ source myvenv/bin/activate

 ╭─fenris@fenris in ~/Downloads via  v3.12.3 (myvenv) as 🧙 took 10ms
 ╰─λ pip install -e .
Obtaining file:///home/fenris/Downloads
ERROR: file:///home/fenris/Downloads does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

 ╭─fenris@fenris in ~/Downloads via  v3.12.3 (myvenv) as 🧙 took 2s
[🔴] × 

I moved pyproject.toml to the downloads folder and got this:

 ╭─fenris@fenris in ~/Downloads via  v3.12.3 (myvenv) as 🧙 took 2s
[🔴] × pip install -e .
Obtaining file:///home/fenris/Downloads
ERROR: file:///home/fenris/Downloads does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

 ╭─fenris@fenris in ~/Downloads via  v3.12.3 (myvenv) as 🧙 took 710ms
[🔴] × pip install -e .
Obtaining file:///home/fenris/Downloads
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build editable did not run successfully.
  │ exit code: 1
  ╰─> [43 lines of output]
      Traceback (most recent call last):
        File "/home/fenris/Downloads/myvenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/fenris/Downloads/myvenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/fenris/Downloads/myvenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 448, in get_requires_for_build_editable
          return self.get_requires_for_build_wheel(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 1, in <module>
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 146, in setup
          _setup_distribution = dist = klass(attrs)
                                       ^^^^^^^^^^^^
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 307, in __init__
          _Distribution.__init__(self, dist_attrs)
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 284, in __init__
          self.finalize_options()
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 659, in finalize_options
          ep(self)
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py", line 123, in infer_version
          _assign_version(dist, config)
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py", line 58, in _assign_version
          _version_missing(config)
        File "/tmp/pip-build-env-sh3ck7oj/overlay/lib/python3.12/site-packages/setuptools_scm/_get_version_impl.py", line 117, in _version_missing
          raise LookupError(
      LookupError: setuptools-scm was unable to detect version for /home/fenris/Downloads.
      
      Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
      
      For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

 ╭─fenris@fenris in ~/Downloads via  v3.12.3 (myvenv) as 🧙 took 5s
[🔴] × 

Something like
:file_folder: Pypush
├── :file_folder: mvenv
├── :page_facing_up: example
└── :page_facing_up: file

In that case, I have this setup…

Then I tried this…

Then I get this…

 ╭─fenris@fenris in ~/Downloads via  v3.12.3 (myvenv) as 🧙 took 22ms
 ╰─λ cd pypush

 ╭─fenris@fenris in ~/Downloads/pypush via  v3.12.3 (myvenv) as 🧙 took 6ms
 ╰─λ source myvenv/bin/activate

 ╭─fenris@fenris in ~/Downloads/pypush via  v3.12.3 (myvenv) as 🧙 took 6ms
 ╰─λ pip install -e .
Obtaining file:///home/fenris/Downloads/pypush
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build editable did not run successfully.
  │ exit code: 1
  ╰─> [43 lines of output]
      Traceback (most recent call last):
        File "/home/fenris/Downloads/Git/pypush/myvenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/fenris/Downloads/Git/pypush/myvenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/fenris/Downloads/Git/pypush/myvenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 448, in get_requires_for_build_editable
          return self.get_requires_for_build_wheel(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 1, in <module>
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 146, in setup
          _setup_distribution = dist = klass(attrs)
                                       ^^^^^^^^^^^^
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 307, in __init__
          _Distribution.__init__(self, dist_attrs)
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 284, in __init__
          self.finalize_options()
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 659, in finalize_options
          ep(self)
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py", line 123, in infer_version
          _assign_version(dist, config)
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py", line 58, in _assign_version
          _version_missing(config)
        File "/tmp/pip-build-env-z8ddu0pi/overlay/lib/python3.12/site-packages/setuptools_scm/_get_version_impl.py", line 117, in _version_missing
          raise LookupError(
      LookupError: setuptools-scm was unable to detect version for /home/fenris/Downloads/pypush.
      
      Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
      
      For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

 ╭─fenris@fenris in ~/Downloads/pypush via  v3.12.3 (myvenv) as 🧙 took 4s
[🔴] × 

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.