Skip to content
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

Dependency problems #26

Open
JS36 opened this issue Oct 6, 2018 · 1 comment
Open

Dependency problems #26

JS36 opened this issue Oct 6, 2018 · 1 comment

Comments

@JS36
Copy link

JS36 commented Oct 6, 2018

Hi, thanks for publishing this and I'm very excited to get it working.
I'm using Kali linux and followed the steps but when i get to pipenv install i get following error. I tested to run "pipenv --python 3.6 install" also since it looks like its using python 2.7.

pipenv install
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
env/utils.py", line 402, in resolve_deps
    req_dir=req_dir
  File "/usr/local/lib/python2.7/dist-packages/pipenv/utils.py", line 250, in actually_resolve_deps
    req = Requirement.from_line(dep)
  File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/requirementslib/models/requirements.py", line 704, in from_line
    line, extras = _strip_extras(line)
TypeError: 'module' object is not callable

/usr/local/lib/python2.7/dist-packages/pipenv/_compat.py:113: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/pipenv-SezucC-requirements'>
  warnings.warn(warn_message, ResourceWarning)
@chrismaddalena
Copy link
Owner

Hey there,

ODIN's Pipfile does enforce Python 3.7. It looks like your pipenv is installed for Python 2.7. Try running:

pip3 install --user pipenv or python3 -m pip install --user pipenv

It looks like support for multiple Python environments is being considered for pipenv (pypa/pipenv#1071). The current suggestion in that report is using virtualenv with pipenv for switching between Python 2.7, 3.6, and 3.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants