Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8a3a36

Browse files
committed
Update recipes/pip.rb
/usr/bin/ is not pip_binary location when doing a source install on rhel.
1 parent ead613f commit a8a3a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/pip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# limitations under the License.
1919
#
2020

21-
if platform_family?("rhel")
21+
if platform_family?("rhel") and node['python']['install_method'] == 'package'
2222
pip_binary = "/usr/bin/pip"
2323
else
2424
pip_binary = "/usr/local/bin/pip"

0 commit comments

Comments
 (0)