Skip to content Skip to sidebar Skip to footer

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

Solution 1:

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

Solution 2:

Please try the below:

pip install data-utilities

You can find more on the Python Package Index - data-utilities website.

Solution 3:

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.

Post a Comment for "Issues While Installing Utilities Module In Python"