Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Problems on OSX (and msw 10) #3

Closed
jarts-cousins opened this issue Feb 18, 2022 · 2 comments
Closed

Installation Problems on OSX (and msw 10) #3

jarts-cousins opened this issue Feb 18, 2022 · 2 comments

Comments

@jarts-cousins
Copy link

Looks like a really nice project except ... Tried to install on osx. 10.15.7

Initially had older version of python and pip
and these did load oemer, opencvn,scikit,matplot,Pillow ... but then got stuck on onnxruntime same as below

I updated python and pip and the same problem seems top exists.
my-imac ~ % pip3 install oemer
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Collecting oemer
Using cached oemer-0.1.0-py3-none-any.whl (1.3 MB)
Collecting scipy==1.6.2
Downloading scipy-1.6.2-cp38-cp38-macosx_10_9_x86_64.whl (30.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 30.8/30.8 MB 6.3 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu (from oemer) (from versions: none)
ERROR: No matching distribution found for onnxruntime-gpu

Also tried on a windows 10 os and got the same error

@BreezeWhite
Copy link
Owner

BreezeWhite commented Feb 18, 2022

Hi, thanks for the interest in this project. Could you provide the precise version and the CPU architecture you tested on? I've searched the official website for the supported hardwares, and seems like onnxruntime only runs on Mac with Intel CPU (x64, x86), not with Arm-based CPU (M1 etc.). For Windows, to run with Nvidia GPU cards, the CPU has to be x64, x86 is not allowed. You can check out the website to make sure what platforms and hardwares are supported: https://onnxruntime.ai/.

@jarts-cousins
Copy link
Author

Hi BreezeWhite,

OSX Hardware Overview:

Model Name: iMac
Model Identifier: iMac19,2
Processor Name: 6-Core Intel Core i7
Processor Speed: 3.2 GHz
Number of Processors: 1
Total Number of Cores: 6
L2 Cache (per Core): 256 KB
L3 Cache: 12 MB
Hyper-Threading Technology: Enabled
Memory: 16 GB
Boot ROM Version: 1554.140.20.0.0
SMC Version (system): 2.47f3
Serial Number (system): C02CJ0N8JWF2
Hardware UUID: 2A67C52D-F56B-5441-AD67-0D62219AB109

(But I also had the same problem on Windows10)

From the command provided at the onnxruntime
MAC/Python/X64/DefaultCPU
It seemed to load ok, but there is still some dependency in oemer

iMac ~ % pip3 install onnxruntime
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: onnxruntime in ./Library/Python/3.8/lib/python/site-packages (1.10.0)
Requirement already satisfied: flatbuffers in ./Library/Python/3.8/lib/python/site-packages (from onnxruntime) (2.0)
Requirement already satisfied: protobuf in ./Library/Python/3.8/lib/python/site-packages (from onnxruntime) (3.19.4)
Requirement already satisfied: numpy>=1.16.6 in ./Library/Python/3.8/lib/python/site-packages (from onnxruntime) (1.22.2)
iMac ~ % pip3 install oemer
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Collecting oemer
Using cached oemer-0.1.0-py3-none-any.whl (1.3 MB)
Collecting matplotlib
Using cached matplotlib-3.5.1-cp38-cp38-macosx_10_9_x86_64.whl (7.3 MB)
Collecting numpy==1.21.2
Using cached numpy-1.21.2-cp38-cp38-macosx_10_9_x86_64.whl (16.9 MB)
ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu (from oemer) (from versions: none)
ERROR: No matching distribution found for onnxruntime-gpu
iMac ~ %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants