Giter Club home page Giter Club logo

Comments (7)

greyli avatar greyli commented on July 19, 2024

有可能是Python环境的问题,可以重装一下Python试试

from sayhello.

mylysddp avatar mylysddp commented on July 19, 2024

pipenv install --dev 也是遇到同样的问题,一直提示module object is not callable,没办法,后面只能直接export 指定应用名

from sayhello.

greyli avatar greyli commented on July 19, 2024

@mylysddp 麻烦提供一下完整的错误信息和pipenv、pip、Python的版本

from sayhello.

mylysddp avatar mylysddp commented on July 19, 2024

pipenv 2018.7.1 pip 18.1 python 3.6
报错信息如下:
Installing dependencies from Pipfile.lock (b158df)...
Traceback (most recent call last):▉▉▉▉▉ 0/22 — 00:00:00
File "/anaconda3/bin/pipenv", line 11, in
sys.exit(cli())
File "/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/anaconda3/lib/python3.6/site-packages/pipenv/cli.py", line 435, in install
selective_upgrade=selective_upgrade,
File "/anaconda3/lib/python3.6/site-packages/pipenv/core.py", line 1943, in do_install
pypi_mirror=pypi_mirror,
File "/anaconda3/lib/python3.6/site-packages/pipenv/core.py", line 1322, in do_init
pypi_mirror=pypi_mirror,
File "/anaconda3/lib/python3.6/site-packages/pipenv/core.py", line 807, in do_install_dependencies
pypi_mirror=pypi_mirror,
File "/anaconda3/lib/python3.6/site-packages/pipenv/core.py", line 1375, in pip_install
package_name.split('--hash')[0].split('--trusted-host')[0]
File "/anaconda3/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 704, in from_line
line, extras = _strip_extras(line)
TypeError: 'module' object is not callable
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/22 — 00:00:00

from sayhello.

greyli avatar greyli commented on July 19, 2024

这个是pipenv的bug,你可以试一下把pipenv升级到最新版本:

$ pip install -U pipenv

from sayhello.

mylysddp avatar mylysddp commented on July 19, 2024

这个是pipenv的bug,你可以试一下把pipenv升级到最新版本:

$ pip install -U pipenv

升级后可以了,谢谢!

from sayhello.

greyli avatar greyli commented on July 19, 2024

@aa31可以尝试升级pipenv试一下。

from sayhello.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.