-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
pipenv install package --index doesn't work #6330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Type: Question ❔
This is a question or a request for support.
Comments
I think probably a connectivity issue as it has to download several gigabytes of packages.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
I try installing PyTorch on my laptop using Pipenv, but it always throws errors.
Describe the issue briefly here.
Expected result
I expect
torch
to be installed usingpipenv install
as it is when I usepip
directly, e.g.:$ pipenv run pip install torch~=2.5.1 --index-url https://download.pytorch.org/whl/test/xpu
Looking in indexes: https://download.pytorch.org/whl/test/xpu Collecting torch~=2.5.1 Downloading https://download.pytorch.org/whl/test/xpu/torch-2.5.1%2Bxpu-cp311-cp311-linux_x86_64.whl (851.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 851.9/851.9 MB 39.9 MB/s eta 0:00:00 Collecting filelock (from torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/filelock-3.13.1-py3-none-any.whl (11 kB) Collecting typing-extensions>=4.8.0 (from torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/typing_extensions-4.12.2-py3-none-any.whl (37 kB) Collecting networkx (from torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/networkx-3.3-py3-none-any.whl (1.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 43.0 MB/s eta 0:00:00 Collecting jinja2 (from torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/Jinja2-3.1.4-py3-none-any.whl (133 kB) Collecting fsspec (from torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/fsspec-2024.6.1-py3-none-any.whl (177 kB) Collecting pytorch-triton-xpu==3.1.0 (from torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/pytorch_triton_xpu-3.1.0-cp311-cp311-linux_x86_64.whl (315.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 315.6/315.6 MB 42.9 MB/s eta 0:00:00 Collecting sympy==1.13.1 (from torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/sympy-1.13.1-py3-none-any.whl (6.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 48.4 MB/s eta 0:00:00 Collecting packaging (from pytorch-triton-xpu==3.1.0->torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/packaging-22.0-py3-none-any.whl (42 kB) Collecting mpmath<1.4,>=1.1.0 (from sympy==1.13.1->torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/mpmath-1.3.0-py3-none-any.whl (536 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 24.7 MB/s eta 0:00:00 Collecting MarkupSafe>=2.0 (from jinja2->torch~=2.5.1) Downloading https://download.pytorch.org/whl/test/MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB) Installing collected packages: mpmath, typing-extensions, sympy, packaging, networkx, MarkupSafe, fsspec, filelock, pytorch-triton-xpu, jinja2, torch Successfully installed MarkupSafe-2.1.5 filelock-3.13.1 fsspec-2024.6.1 jinja2-3.1.4 mpmath-1.3.0 networkx-3.3 packaging-22.0 pytorch-triton-xpu-3.1.0 sympy-1.13.1 torch-2.5.1+xpu typing-extensions-4.12.2Actual result
$ pipenv install torch~=2.5.1 --index https://download.pytorch.org/whl/test/xpu
When possible, provide the verbose output (
--verbose
), especially for locking and dependencies resolving issues.$ pipenv install --verbose
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
Please run
$ pipenv --support
, and paste the results here.$ pipenv --support
Pipenv version:
'2024.4.0'
Pipenv location:
'/home/adriano.vieira/.local/lib/python3.13/site-packages/pipenv'
Python location:
'/usr/bin/python3'
OS Name:
'posix'
User pip version:
'24.3.1'
user Python installations found:
PEP 508 Information:
System environment variables:
COLORTERM
DBUS_SESSION_BUS_ADDRESS
DEBUGINFOD_IMA_CERT_PATH
DEBUGINFOD_URLS
DESKTOP_SESSION
DISPLAY
EDITOR
GDMSESSION
GDM_LANG
GNOME_SETUP_DISPLAY
GPG_TTY
HISTCONTROL
HISTSIZE
HOME
HOSTNAME
INVOCATION_ID
JOURNAL_STREAM
LANG
LESSOPEN
LOGNAME
MAIL
MANAGERPID
MEMORY_PRESSURE_WATCH
MEMORY_PRESSURE_WRITE
MOZ_GMP_PATH
OLDPWD
PATH
PTYXIS_PROFILE
PTYXIS_VERSION
PWD
QT_IM_MODULE
SESSION_MANAGER
SHELL
SHLVL
SSH_AUTH_SOCK
SYSTEMD_EXEC_PID
SYSTEMD_SLEEP_FREEZE_USER_SESSIONS
TERM
USER
USERNAME
VTE_VERSION
WAYLAND_DISPLAY
XAUTHORITY
XDG_CURRENT_DESKTOP
XDG_DATA_DIRS
XDG_MENU_PREFIX
XDG_RUNTIME_DIR
XDG_SESSION_CLASS
XDG_SESSION_DESKTOP
XDG_SESSION_TYPE
XMODIFIERS
LS_COLORS
ZSH
PAGER
LESS
LSCOLORS
CMPLR_ROOT
LIBRARY_PATH
LD_LIBRARY_PATH
PKG_CONFIG_PATH
NLSPATH
MANPATH
CMAKE_PREFIX_PATH
DIAGUTIL_PATH
UMF_ROOT
CPATH
TCM_ROOT
Pti_DIR
OCL_ICD_FILENAMES
USE_XPU
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/opt/intel/oneapi/compiler/2025.0/bin:/opt/intel/oneapi/compiler/2025.0/bin:/home/adriano.vieira/bin:/home/adriano.vieira/.local/bin:/usr/local/bin:/home/adriano.vieira/Applications/flutter/bin:/home/adriano.vieira/Applications/android-studio/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
SHELL
:/usr/bin/zsh
EDITOR
:/usr/bin/nano
LANG
:pt_BR.UTF-8
PWD
:/home/adriano.vieira/Devel/Sandbox/IA_ML_DL/hello_ia
Contents of
Pipfile
('/home/adriano.vieira/Devel/Sandbox/IA_ML_DL/hello_ia/Pipfile'):The text was updated successfully, but these errors were encountered: