Comments (7)
有可能是Python环境的问题,可以重装一下Python试试
from sayhello.
pipenv install --dev 也是遇到同样的问题,一直提示module object is not callable,没办法,后面只能直接export 指定应用名
from sayhello.
@mylysddp 麻烦提供一下完整的错误信息和pipenv、pip、Python的版本
from sayhello.
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.
这个是pipenv的bug,你可以试一下把pipenv升级到最新版本:
$ pip install -U pipenv
from sayhello.
这个是pipenv的bug,你可以试一下把pipenv升级到最新版本:
$ pip install -U pipenv
升级后可以了,谢谢!
from sayhello.
@aa31可以尝试升级pipenv试一下。
from sayhello.
Related Issues (20)
- 用gunicorn部署问题 HOT 2
- 新手求教!! HOT 2
- 我该如何再pychram上部署这个项目呢 HOT 1
- 在pycharm上部署该项目,在view模块报错 HOT 6
- Error: No such command "forge".
- 分支切换到Bootstrap 的tag时 flask run 出现了错误 HOT 2
- ubuntu 运行没有 data.db文件 HOT 3
- 直接clone下代码,在pycharm运行项目的时候,就报了错误,会不会是环境配置的问题,,从邮件那篇开始就总有traceback HOT 2
- sqlalchemy报错 HOT 1
- add delete function HOT 1
- pip install -r requirements.txt failed for Watchdog on macOS HOT 2
- 书的后面给出了替换为了bootsrap的内置的渲染表单的方法
- Eepos
- Invalid package HOT 2
- Upgrade deoendencies
- 感觉书中有几个错误,还请核对 HOT 1
- 7.4最后一句中的疑问 HOT 1
- heroku HOT 9
- flask forge Error: No such command "forge HOT 6
- jinja2.exceptions.TemplateNotFound: bootstrap/form.html HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sayhello.