필터 지우기
필터 지우기

command not found: pip

조회 수: 36 (최근 30일)
Danial Kazemikia
Danial Kazemikia 2024년 4월 20일
댓글: Danial Kazemikia 2024년 4월 20일
Python is installed and loaded in Matlab but pip is not found
how can I fix this?
>> pyenv
ans =
PythonEnvironment with properties:
Version: "3.9"
Executable: "/Library/Developer/CommandLineTools/usr/bin/python3"
Library: "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/libpython3.9.dylib"
Home: "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9"
Status: Loaded
ExecutionMode: InProcess
ProcessID: "17092"
ProcessName: "MATLAB"
>> !pip install tensorflow
zsh:1: command not found: pip

답변 (1개)

Walter Roberson
Walter Roberson 2024년 4월 20일
pip is a python command, not a shell command.
!python pip install tensorflow
  댓글 수: 1
Danial Kazemikia
Danial Kazemikia 2024년 4월 20일
Thank you for your response. I used previous code from a live code in one of Matlab website's videos.
!python pip install tensorflow
this doesn't work in matlab either.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by