From nobody Mon Nov 21 17:16:27 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NGDZx53k1z4jVLW for ; Mon, 21 Nov 2022 17:16:57 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-vs1-f43.google.com (mail-vs1-f43.google.com [209.85.217.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NGDZw1wYfz3J9B for ; Mon, 21 Nov 2022 17:16:56 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.217.43 as permitted sender) smtp.mailfrom=6yearold@gmail.com; dmarc=none Received: by mail-vs1-f43.google.com with SMTP id 128so11910049vsz.12 for ; Mon, 21 Nov 2022 09:16:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6ZYhB831c1Dx62nPnyt+veJKP3LRv08L++3Qwv3ErrE=; b=sXCMeIYZUyFhHikjbH2c8Bovoqo6UgF1M+uQVjCGL6YdTb9Wh0Cejr4DsVowrvskBr 0PXlNusuJ7j11hazkB1JX+Mnu5POeDC5j6S8DH5DGCpJ75GpkJqEmLysA0WQdV/J8Jk7 patOrbhF+CzFfN+OUEk9j64q3TB6oyxCDufuLnLE1JN06Y1Aub2xWk+ZGJSIRVWLlSZ/ GPDWi2dojVymm9/6C7g36YurjZSFFovGAfel6p3hAgytrJhN2Uv6CuSMuynu+x01t5k5 r+sfFbxlFjbDHzoLKASjix2aSBM/K4CMfkv1Xs43aWG/IAbuWRKpKNWl3i617DhhL1sK 9kHg== X-Gm-Message-State: ANoB5pnq7H1cFlS280IBd3wC3g1weASGshHbJdIY0WZEAk2x4shhwNDL i69rvMCalLsytXgkxOKvgzEFbcm0anDTvA== X-Google-Smtp-Source: AA0mqf6uDlQo98A2LPrCTVFjRhibZiAwT4+Bmou9CT5wVcvO/eWbwl2nlr/NeYsDVTsV0q7JD5NN4w== X-Received: by 2002:a67:cb8b:0:b0:3b0:48b9:9c6f with SMTP id h11-20020a67cb8b000000b003b048b99c6fmr464717vsl.66.1669051014730; Mon, 21 Nov 2022 09:16:54 -0800 (PST) Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com. [209.85.217.47]) by smtp.gmail.com with ESMTPSA id y17-20020a0561020c5100b003acda2bb541sm1491936vss.5.2022.11.21.09.16.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 09:16:54 -0800 (PST) Received: by mail-vs1-f47.google.com with SMTP id 128so11909997vsz.12 for ; Mon, 21 Nov 2022 09:16:54 -0800 (PST) X-Received: by 2002:a05:6102:e83:b0:3aa:13ef:1400 with SMTP id l3-20020a0561020e8300b003aa13ef1400mr10686025vst.28.1669051014111; Mon, 21 Nov 2022 09:16:54 -0800 (PST) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Gleb Popov Date: Mon, 21 Nov 2022 20:16:27 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: =?UTF-8?Q?Re=3A_The_installation_of_=E2=80=9CStable_Diffusion_web_UI?= =?UTF-8?Q?=E2=80=9D_natively_on_FreeBSD_fails_because_can=E2=80=99t_install_torch_?= =?UTF-8?Q?and_torchvision?= To: Mario Marietto Cc: ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.96)[-0.958]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MLMMJ_DEST(0.00)[ports@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.217.43:from,209.85.217.47:received]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.217.43:from]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4NGDZw1wYfz3J9B X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Sun, Nov 20, 2022 at 12:09 AM Mario Marietto wr= ote: > > I tried to do something like this : > > (venv) [marietto@marietto ~/Desktop/Files/stable-diffusion-webui]$ python= 3 -m pip install pytorch > Collecting pytorch > Downloading pytorch-1.0.2.tar.gz (689 bytes) > Preparing metadata (setup.py) ... done > Installing collected packages: pytorch > DEPRECATION: pytorch is being installed using the legacy 'setup.py insta= ll' method, because it doe > s not have a 'pyproject.toml' and the 'wheel' package is not installed. p= ip 23.1 will enforce this b > ehaviour change. A possible replacement is to enable the '--use-pep517' o= ption. Discussion can be fo > und at https://github.com/pypa/pip/issues/8559 > Running setup.py install for pytorch ... error > error: subprocess-exited-with-error > > =C3=97 Running setup.py install for pytorch did not run successfully. > =E2=94=82 exit code: 1 > =E2=95=B0=E2=94=80> [6 lines of output] > Traceback (most recent call last): > File "", line 2, in > File "", line 34, in > File "/tmp/pip-install-yfgsmj5x/pytorch_628b1eae21ac41e48637a8e326= 2676de/setup.py", line 11, > in > raise Exception(message) > Exception: You tried to install "pytorch". The package named for PyT= orch is "torch" > [end of output] > > note: This error originates from a subprocess, and is likely not a probl= em with pip. > error: legacy-install-failure > > =C3=97 Encountered error while trying to install package. > =E2=95=B0=E2=94=80> pytorch > > note: This is an issue with the package mentioned above, not pip. > hint: See above for output from the failure. > Mario. Well, the error is clear - you should install "torch" instead of "mytorch".