PDA

View Full Version : Pip install --target c:\lianja\scriptinglanguages\python



hmischel@diligentsystems.com
2018-02-13, 14:00
Hi Barry,

I need some additional support files that I am using with opencv.
On my regular desktop version of python, I just use pip install opencv-contrib-python and the support files that I need are placed where they are needed.

Since trying to pick out what was installed where is not working for me, I though I might pip install to the Lianja\scriptinglanguages\python directory, but I am not sure if that will cause an issue.

Thanks

Herb

hmischel@diligentsystems.com
2018-02-13, 16:20
Hi Barry,

Never mind. I tested the
Pip install --target c:\lianja\scriptinglanguages\python on my test machine and it worked perfectly.

Thanks

Herb

gontran
2018-05-31, 08:37
Hello I´m lost instaling opencv for python , I really don't know how or were I need to install it.

Some body can help me ?

Thanks for the advice.

hmischel@diligentsystems.com
2018-05-31, 11:08
Hi gontran,

I am using a Windows machine.

I have it installed on both places; C:\ptyhon27 and also in the Lianja directory.

Do you have python 2.7 installed?

Herb

gontran
2018-05-31, 12:18
Hello thanks for you´re atention , ok now I install the python 2.7 in my windows machine.

But I need to install the opencv in this instalation and in lianja too?

But I'am really lost.

Thanks for you´re help :)

barrymavin
2018-05-31, 19:57
Remember that Lianja for Windows is 32 bit even on x64 so you need to install 32 bit python not 64 bit.

hmischel@diligentsystems.com
2018-05-31, 20:23
I will create a step by step video. It’s actually very easy to interact with Lianja.

gontran
2018-06-01, 12:49
Hello again, ok now I have python 2.7 for 32 bits , I install the numpy and opencv , this works fine I make a simple scrip and it works importing cv2 and show an image.
Ok now I instal the opencv to my lianja. But if I use import cv2 in phyton console (in Lianja) say:
vi. jun. 1 11:45:37 2018
**** Lianja Python error ****
Traceback (most recent call last):
File "Console" at line 1, in <module>
ImportError: No module named cv2

I use to install:

pip install "c:\temp\opencv_python-2.4.13.5-cp27-cp27m-win32.whl" --target c:\lianja\scriptinglanguages\python

pip install "c:\temp\numpy-1.14.3-cp27-none-win32.whl" --target c:\lianja\scriptinglanguages\python

What I doing grong?

Thanks for the help

hmischel@diligentsystems.com
2018-06-01, 19:34
Hi gontran,

I uploaded a video on youtube that shows you how to install opencv to use in Lianja.

https://www.youtube.com/watch?v=hQWp-6O2--I&feature=youtu.be

Herb

gontran
2018-06-02, 11:38
Hello Herb,

Ok this works perferct , thanks again, only a other question if a deploy my desktop app, I need to install in the user computer the python ? or I can make in the instaler add the python opencv and numpy?

Thanks for the time

hmischel@diligentsystems.com
2018-06-03, 11:04
Hi Gontran,

The Python is built it in to Lianja, so yo do not need to install python on the users computer.
I am pretty certain that you just need to make sure the files are in the scritpinglanguge\python directory, but my build was internal, so I didn't use an installer.

Herb

gontran
2018-06-04, 11:30
Hello Herb, Ok thanks for you´re time. I will create my python rutine to re-size my users images, then I do an installer and look if I do correctly.

Regards

gontran
2018-07-19, 14:54
Hello, again .

Is posible to use the vpgame in lianja python?

Regards
Gontran

hmischel@diligentsystems.com
2018-07-21, 22:59
Hi Gontran.

I am not familiar with vpgame.
Can you send me a link?

Herb

HankFay
2018-07-21, 23:21
Hi Herb,

it appears to be a sports betting app, and this library dumps the data using python: https://github.com/SadOsiris/vpgame.

1712

Hank