cappittall / pycoral_whl_4_python3.10

3 stars 0 forks source link

Invalid #1

Open AxelHoss opened 1 year ago

AxelHoss commented 1 year ago

Hi, i got this error. Could you help me? Processing ./pycoral-2.0.0-cp310-cp310-linux_x86_64.whl ERROR: Wheel 'pycoral' located at *****/pycoral-2.0.0-cp310-cp310-linux_x86_64.whl is invalid.

python3 --version Python 3.10.12

cappittall commented 1 year ago

the path temporary located in tools folder, I assume you are located at the same folder. Then just pip install ./pycoral-2.0.0-cp310-cp310-linux_x86_64.whl

AxelHoss commented 1 year ago

unfortunately not:

zm@zm:~/downloads$ ls pycoral-2.0.0-cp310-cp310-linux_x86_64.whl tflite_runtime-2.5.0.post1-cp310-cp310-linux_x86_64.whl zm@zm:~/downloads$ pip install ./pycoral-2.0.0-cp310-cp310-linux_x86_64.whl Defaulting to user installation because normal site-packages is not writeable Processing ./pycoral-2.0.0-cp310-cp310-linux_x86_64.whl ERROR: Wheel 'pycoral' located at /home/zm/downloads/pycoral-2.0.0-cp310-cp310-linux_x86_64.whl is invalid. zm@zm:~/downloads$

cappittall commented 1 year ago

I have installed many times. Try belows. It may work somehow.

AxelHoss commented 1 year ago

this worked for me. Now i get this. I will search the internet for a solution

The following packages have unmet dependencies: python3-pycoral : Depends: python3-tflite-runtime (= 2.5.0.post1) but it is not going to be installed Depends: python3 (< 3.10) but 3.10.6-1~22.04 is to be installed E: Unable to correct problems, you have held broken packages.

cappittall commented 1 year ago

Its need tflite-runtime. It is exists there also. First install it.

AxelHoss commented 1 year ago

problem is the python version i think `zm@zm:~$ sudo apt-get install python3-tflite-runtime Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: python3-tflite-runtime : Depends: python3 (< 3.10) but 3.10.6-1~22.04 is to be installed E: Unable to correct problems, you have held broken packages.`

cappittall commented 1 year ago

Dude, not like that

Ensure you are at the tools directory or located where the above file located.

$ pip install ./tflite_runtime-2.5.0.post1-cp310-cp310-linux_x86_64.whl