How To
Summary
When trying to install fn package failed due to IOError: [Errno 2] No such file or directory:
Steps
Symptom:
While customer tying to install the fn package downloaded from our App exchange site, get the following error.
e.g
sudo pip install --upgrade fn_utilities-1.0.3.zip
Processing ./fn_utilities-1.0.3.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
IOError: [Errno 2] No such file or directory: '/tmp/pip-req-build-gdZXuU/setup.py'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-gdZXuU/
Reason:
Those function packages are in zip format. To install it, you need to unzip it first to get the .tar.gz format file.
Solution:
unzip the zip format file to get the xx.tar.gz file, then run
sudo pip install --upgrade xxx.tar.gz
e.g.
unzip fn_utilities-1.0.3.zip
sudo pip install --upgrade fn_utilities-1.0.3.tar.gz
Document Location
Worldwide
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSIP9Q","label":"IBM Security SOAR"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]
Was this topic helpful?
Document Information
Modified date:
19 April 2021
UID
ibm11163596