Can I manually install Image AI without pip? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can I manually install Image AI without pip?

I want to install Image AI for a project but it just gives me errors on idk numpy/cv2 installation problems (pip) whereas I already have all the required libraries installed and working properly. I want to see if I can install Image AI without pip? And if yes, how?

24th Mar 2022, 3:19 PM
Parsa Gharavi
Parsa Gharavi - avatar
10 Answers
+ 1
Parsa Gharavi Just installing python is not enough. Windows sucks ass as a development environment. I would strongly recommend that you use anaconda on windows.
24th Mar 2022, 7:47 PM
Mustafa A
Mustafa A - avatar
+ 1
Parsa Gharavi That's my recommendation. It's worth a try. Anaconda won't conflict with your current installation. Otherwise I wish you good luck.
24th Mar 2022, 7:51 PM
Mustafa A
Mustafa A - avatar
0
Can you share the actual error message and a little more information about your setup. What OS are you using? What have you installed and how? How are you using the stuff you have installed? Also, why are you making it difficult for yourself by trying to bypass pip. Installing packages correctly is why it exists.
24th Mar 2022, 5:31 PM
Mustafa A
Mustafa A - avatar
0
I'm using windows, installed other libraries before with pip, used them without getting any problems. Mostly getting errors on numpy, I got it installed but it wants to install it again or can't find it, gives me errors about numpy.distutils and cv2.distutils can't be found although I repaired and reinstalled the libraries 2 times. Weirdly I can't find anything about this in other places (stack overflow, GitHub, etc.)
24th Mar 2022, 6:14 PM
Parsa Gharavi
Parsa Gharavi - avatar
0
Parsa Gharavi Pip doesn't just install the packages. It also installs and properly links all the dependencies. You are not finding anything online, because no one is crazy enough to do all the hard work that pip is designed to do.
24th Mar 2022, 6:21 PM
Mustafa A
Mustafa A - avatar
0
I meant about the errors I get; there's no match why I'm getting these specific errors anywhere
24th Mar 2022, 6:45 PM
Parsa Gharavi
Parsa Gharavi - avatar
0
Parsa Gharavi Because that's not an error people gets. It's not related to Python or any other language. There are missing libraries that only occur because you choose to not use pip. That's not something people usually do. You will have to contact the team behind pynum and ask them to help you to get and properly link the missing libraries. But, I really doubt that they will help you.
24th Mar 2022, 7:03 PM
Mustafa A
Mustafa A - avatar
0
:I I said I used and use pip to install all required libraries; heck I even reinstalled 2 times but when using pip to install imageai it gives not found errors therefore I want to find another way to install
24th Mar 2022, 7:30 PM
Parsa Gharavi
Parsa Gharavi - avatar
0
Parsa Gharavi I see. That was a little unclear. You where asking about installing without pip which is a no-no. I would blame Microsoft on this. How did you install python/pip? Do you use anaconda?
24th Mar 2022, 7:33 PM
Mustafa A
Mustafa A - avatar
0
No I used the python official site instructions
24th Mar 2022, 7:35 PM
Parsa Gharavi
Parsa Gharavi - avatar