-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
pipenv without internet access - internal pypi mirror only #1783
Comments
this is not intended usage at this time |
yup, this is probably not the most prominent use-case. thanks for your comment. and thanks for pipenv! |
@panzerballett are you using |
@vlcinsky no. i'm not. i will try that and report back (this may take some time...). thanks for the hint! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(Repeatability: offline mirror #1731 is also about offline mirrors but does not cover the issue described here.)
i am working in an environment without internet access. i do have a complete pypi mirror on a server (no SSL/TLS). i manage to use
pip
(by specifying the server in~/.config/pip/pip.conf
).i am not able to run
pipenv
without errors in that environment. while installing usually works (with an error message:pipenv
wants to connect tohttps://pypi.org/pypi/imagesize/json
)pipenv lock
fails (the lock file is never written because of that error).this is the output of
$ python -m pipenv.help
:$ python -m pipenv.help output
Pipenv version: `'11.8.0'`Pipenv location:
'/home/user/.local/lib/python3.5/site-packages/pipenv'
Python location:
'/usr/bin/python3'
Other Python installations in
PATH
:2.7
:/usr/bin/python2.7
2.7
:/usr/bin/python2.7
3.5
:/usr/bin/python3.5m
3.5
:/usr/bin/python3.5
2.7.12
:/usr/bin/python
2.7.12
:/usr/bin/python2
3.5.2
:/usr/bin/python3
PEP 508 Information:
System environment variables:
XMODIFIERS
SSH_AUTH_SOCK
GDM_LANG
DISPLAY
XDG_DATA_DIRS
LANG
_
IBUS_DISABLE_SNOOPER
XDG_SESSION_ID
UNITY_HAS_3D_SUPPORT
UPSTART_JOB
UPSTART_SESSION
JOB
DESKTOP_SESSION
MANDATORY_PATH
WINDOWID
LC_TELEPHONE
LC_ADDRESS
XDG_SESSION_TYPE
GTK_IM_MODULE
PATH
GNOME_KEYRING_PID
XDG_SEAT
XDG_SESSION_PATH
LC_NUMERIC
TERMINATOR_UUID
LESSCLOSE
GIO_LAUNCHED_DESKTOP_FILE_PID
COMPIZ_CONFIG_PROFILE
SHLVL
XDG_SESSION_DESKTOP
QT_QPA_PLATFORMTHEME
XDG_RUNTIME_DIR
IM_CONFIG_PHASE
COLORTERM
GDMSESSION
LC_MONETARY
XDG_CONFIG_DIRS
SHELL
XDG_CURRENT_DESKTOP
DEFAULTS_PATH
DBUS_SESSION_BUS_ADDRESS
LS_COLORS
QT_LINUX_ACCESSIBILITY_ALWAYS_ON
XDG_VTNR
PWD
UPSTART_EVENTS
PIP_PYTHON_PATH
XAUTHORITY
UNITY_DEFAULT_PROFILE
COMPIZ_BIN_PATH
GNOME_KEYRING_CONTROL
SESSIONTYPE
GTK_MODULES
GIO_LAUNCHED_DESKTOP_FILE
LC_IDENTIFICATION
LC_MEASUREMENT
GPG_AGENT_INFO
TERM
GTK2_MODULES
HOME
QT_IM_MODULE
SESSION
XDG_SEAT_PATH
CLUTTER_IM_MODULE
LESSOPEN
LC_PAPER
QT4_IM_MODULE
INSTANCE
USER
UPSTART_INSTANCE
LC_NAME
OLDPWD
LANGUAGE
ORBIT_SOCKETDIR
QT_ACCESSIBILITY
LOGNAME
LC_TIME
XDG_GREETER_DATA_DIR
GNOME_DESKTOP_SESSION_ID
PYTHONUNBUFFERED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/user/.local/bin
SHELL
:/bin/bash
LANG
:en_US.UTF-8
PWD
:/home/user/workspaces/spyder3/project
Contents of
Pipfile
('/home/user/workspaces/spyder3/project/Pipfile'):Expected result
$ pipenv lock
should createPipfile.lock
but that file is never written - due to the failed connection tohttps://pypi.org/pypi/imagesize/json
i suppose.i'd expect
pipenv
to connect to my local mirror only. i admit that i do not currently mirrorhttps://pypi.org/pypi/imagesize/json
(i'd do that presto if i knew how configure pipenv to check that url only).Actual result
and here is what happens when i run
$ pipenv lock
:Steps to replicate
Pipenv.lock
$ pipenv lock
The text was updated successfully, but these errors were encountered: