在python中安装实用程序模块时出现的问题 [英] Issues while installing utilities module in python

查看:261
本文介绍了在python中安装实用程序模块时出现的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为python和anaconda环境安装实用程序模块.我的Mac上安装了python 3.这是我得到的错误.

Am trying to install utilities module for both python and anaconda environment.I have python 3 in my Mac.Here is the error I get.

 pip install utilities

找不到满足需求实用程序的版本(来自版本:) 找不到与实用程序匹配的分布

Could not find a version that satisfies the requirement utilities (from versions: ) No matching distribution found for utilities

请帮助:(

推荐答案

Python中没有名为实用程序的模块,我相信您在通过import utilities行导入名为utilities.py的文件时遇到了.显示完整的源代码可能会有所帮助.此外,检查源代码的gitgub回购中是否存在名为utilities.py的文件,并将其复制到您的执行文件夹中.如果您在谈论python-utils,请检查此链接.
Python实用工具包含许多标准的实用工具模块来解决常见问题.它们是:

There is no module named utilities in Python,I believe you have encountered importing a file called utilities.py by the line import utilities. Showing the full source code might help. Additionally, check the gitgub repo of your source code for a file called utilities.py and copy it to your execution folder. If you are talking about python-utils, check this link.
Python Utilities contains many standard utility modules to solve common problems. They are :

文件系统-操作系统,操作系统路径,shutil

File System -- os, os.path, shutil

运行外部进程-命令

例外

HTTP -urllib和urlparse

HTTP -- urllib and urlparse

选中此链接

如果这不能解决您的问题,请尝试使用安装 utilities-package :

If this doesn't solve your issue, try installing the utilities-package using :

pip install utilities-package

这篇关于在python中安装实用程序模块时出现的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆