无法在macbook上的conda env中安装pyexiv2

时间:2017-10-07 17:44:00

标签: anaconda conda pyexiv2

我想在macbook上的conda环境中安装pyexiv2。我尝试了pyexiv2和python-pyexiv2的conda安装(当我在ubuntu上成功安装它时调用它。)

pyexiv2:

(py27) IEC02R5A6DG8WP:pythonScripts mdev0002$ conda install pyexiv2
Fetching package metadata ...........

PackageNotFoundError: Packages missing in current channels:

  - pyexiv  

python-pyexiv2:

(py27) IEC02R5A6DG8WP:pythonScripts mdev0002$ conda install python-pyexiv2
Fetching package metadata ...........

PackageNotFoundError: Packages missing in current channels:

  - python-pyexiv2

然后我尝试了conda的pip但是没有产生任何结果

(py27) IEC02R5A6DG8WP:pythonScripts mdev0002$ pip install python-pyexiv2
Collecting python-pyexiv2
  Could not find a version that satisfies the requirement python-pyexiv2 (from versions: )
No matching distribution found for python-pyexiv2
(py27) IEC02R5A6DG8WP:pythonScripts mdev0002$ pip install pyexiv2
Collecting pyexiv2
  Could not find a version that satisfies the requirement pyexiv2 (from versions: )
No matching distribution found for pyexiv2
(py27) IEC02R5A6DG8WP:pythonScripts mdev0002$ 

我发现文档说这个python包可以通过macb上的自制软件安装(enter image description here)但是如何才能将它变成conda env?

1 个答案:

答案 0 :(得分:0)

遗憾的是,ppixiv2在PyPI上不可用。如果您的代码很容易移植到Python 3中,我建议在PyPI上提供py3exiv2。所以你可以运行pip install py3exiv2