我是BIKA LIMS的新手,也是Ubuntu环境中的新手。我尝试在链接bika lims之后安装bika lims,但是在执行以下命令后:

sudo -u plone_buildout bin/buildout


我收到一个错误:

Updating zeoserver.
Installing client1.
/home/shamim/Downloads/plone/buildout-cache/eggs/setuptools-27.3.0-py2.7.egg/pkg_resources/__init__.py:188: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
  stacklevel=1,
Couldn't find index page for 'bika.lims' (maybe misspelled?)
Getting distribution for 'bika.lims'.
Couldn't find index page for 'bika.lims' (maybe misspelled?)
While:
  Installing client1.
  Getting distribution for 'bika.lims'.
Error: Couldn't find a distribution for 'bika.lims'.


我正在使用Ubuntu 16.04

最佳答案

只需在buildout.cfg文件的[buildout]部分中添加'index = https://pypi.python.org/simple/'行(不带单引号),它应该可以工作

关于python - bika lims中的安装错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/48239355/

10-11 07:42