Closed sridharreddyu closed 2 months ago
Hi @sridharreddyu, thank you for submitting bug report! Can you share what was the python version you tried to install inference with? Unfortunately Python 3.12 is not yet supported, but installing with older version (i.e. Python 3.8) works fine for me.
Hi,
Thank you for reverting back quickly. As you suggested, I will try with 3.8 and let you know.
I have a 3.9 python version.
% python --version Python 3.9.13
On Tue, Apr 30, 2024 at 3:08 PM Grzegorz Klimaszewski < @.***> wrote:
Hi @sridharreddyu https://github.com/sridharreddyu, thank you for submitting bug report! Can you share what was the python version you tried to install inference with? Unfortunately Python 3.12 is not yet supported, but installing with older version (i.e. Python 3.8) works fine for me.
— Reply to this email directly, view it on GitHub https://github.com/roboflow/inference/issues/370#issuecomment-2084839231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7EMSXZ6EQIFROJDZ52AWTY75RANAVCNFSM6AAAAABG7RI3YWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUHAZTSMRTGE . You are receiving this because you were mentioned.Message ID: @.***>
I tried python3.9 and can install inference in my venv without encountering errors:
python3.9 -m venv venv
source venv/bin/activate
python --version
# yields Python 3.9.19
pip install inference
Can you share your installation steps?
Hi Again,
With the fresh python environment from my macbook terminal and with your commands, I am able to install it.
Earlier I was trying to install it from the VSCode Notebook existing python environment. Here is the screenshot of it. Maybe It was clashing with other dependencies, I will try with a fresh environment from my VSCode Notebook and come back to you. [image: Screenshot 2024-05-02 at 4.47.08 PM.png]
On Tue, Apr 30, 2024 at 4:25 PM Grzegorz Klimaszewski < @.***> wrote:
I tried python3.9 and can install inference in my venv without encountering your error:
python3.9 -m venv venvsource venv/bin/activate pip install inference
Can you share your installation steps?
— Reply to this email directly, view it on GitHub https://github.com/roboflow/inference/issues/370#issuecomment-2084987197, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7EMSQZ2Q3BFN3AYLPG57TY752AVAVCNFSM6AAAAABG7RI3YWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUHE4DOMJZG4 . You are receiving this because you were mentioned.Message ID: @.***>
Hi @sridharreddyu , I'm glad your issue is resolved! I'll close this issue, please feel free to open another if you need more help.
Search before asking
Bug
I am trying to install the inference package in my Mac M1 Pro, OS Sonoma. But got the below error
Environment
Minimal Reproducible Example
No response
Additional
I am following the instructions specified in the website: roboflow web site link
Are you willing to submit a PR?