'Issues while installing utilities module in python
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
Please help :(
Solution 1:[1]
If you are trying the ML example from here, then please copy the utilities.py from chapter 2 in your python 3 in Lib directory and you will be able to use the utility module.
Solution 2:[2]
Please try the below:
pip install data-utilities
You can find more on the Python Package Index - data-utilities website.
Solution 3:[3]
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 :
File System -- os, os.path, shutil
Running External Processes -- commands
Exceptions
HTTP -- urllib and urlparse
Check This link
If this doesn't solve your issue, try installing the utilities-package using :
pip install utilities-package
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ektoras Avgitidis |
Solution 2 | palme |
Solution 3 | Roshin Raphel |