-
-
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
Can't bootstrap development environment #2557
Comments
Side note: It seems |
It seems you are stuck between two versions of Pipenv. We removed Another solution is to @techalchemy I’m thinking maybe it’d be a good idea to change the project structure to wrap |
Yes, that's why I was mentioning Using I'm happy to submit the |
I’m in favor but I am fairly confident Kenneth was opposed. We can talk and work it out |
FWIW I hate all code that relates to location checks. |
I get this also when trying to use pipenv installCreating a virtualenv for this project... Pipfile: /Users/bsrandal/git/pipenv/Pipfile Using /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 (3.6.3) to create virtualenv... ⠋/Library/Frameworks/Python.framework/Versions/3.6/bin/python3: No module named pipenv.pew |
While I do still agree that a |
No, it seems not an issue anymore. At least not for me. In the repo root folder:
My system global |
This is as much an issue report as a potential question/documentation request if I'm just setting up the project wrong for contributing. I'm trying to fix #2504, but unable to install the development environment after cloning the repo. I didn't see anything in particular for how to set up the local development environment, so assumed it just required
pipenv install --dev
.Issue description
Cloning the repo and trying to
pipenv install --dev
fails because it tries to use a mix of the repo code and the global pipenv code. For example, version 2018.7.1 haspipenv.pew
, but that's removed on master, so (interestingly) passively fails to import. It continues on to hard fail later due tolocation
beingNone
in pipenv.core.which when passed toos.path.join
.Also of note: just running
pipenv install
completes without any modifications, but doesn't actually create the virtualenv even thought it says it is (there are no non-dev packages). I'm not sure if skipping an empty virtualenv is desired behavior or not.If I rename the
pipenv
directory tosrc/pipenv
and updatesetup.py
(probably incomplete setup.py.patch), it is able to complete the installation.Expected result
The global
pipenv
code to be used to install the repo, and then after that the local development version (as specified in the Pipfile dev section).Actual result
Steps to replicate
pip3 install pipenv==v2018.07.01 git clone git@github.com:pypa/pipenv.git cd pipenv pipenv install --dev
Here is the support output when run outside of the repo/virtualenv.
$ pipenv --support
Pipenv version:
'2018.7.1'
Pipenv location:
'/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/local/bin/python3'
Other Python installations in
PATH
:2.7
:/usr/local/bin/python2.7
2.7
:/usr/local/bin/python2.7
2.7
:/usr/bin/python2.7
3.6
:/usr/local/bin/python3.6m
3.6
:/usr/local/bin/python3.6
2.7.15
:/usr/local/bin/python
2.7.10
:/usr/bin/python
2.7.15
:/usr/local/bin/python2
3.6.5
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
Apple_PubSub_Socket_Render
COLORFGBG
COLORTERM
COPYFILE_DISABLE
EDITOR
GOPATH
HOME
ITERM_PROFILE
ITERM_SESSION_ID
LANG
LOGNAME
PAGER
PATH
PWD
SECURITYSESSIONID
SHELL
SHLVL
SSH_AUTH_SOCK
TERM
TERM_PROGRAM
TERM_PROGRAM_VERSION
TERM_SESSION_ID
TMPDIR
TMUX
TMUX_PANE
TMUX_PLUGIN_MANAGER_PATH
USER
XPC_FLAGS
XPC_SERVICE_NAME
__CF_USER_TEXT_ENCODING
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/Users/jacobhayes/bin:/Users/jacobhayes/bin:/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin:/Users/jacobhayes/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
SHELL
:/usr/local/bin/fish
EDITOR
:vim
LANG
:en_US.UTF-8
PWD
:/Users/jacobhayes/src/github.com/pypa
The text was updated successfully, but these errors were encountered: