Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Pip install --target c:\lianja\scriptinglanguages\python

  1. #1

    Pip install --target c:\lianja\scriptinglanguages\python

    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

  2. #2
    Hi Barry,

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

    Thanks

    Herb

  3. #3
    Member
    Join Date
    Oct 2012
    Location
    México city
    Posts
    67
    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.

  4. #4
    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

  5. #5
    Member
    Join Date
    Oct 2012
    Location
    México city
    Posts
    67
    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
    Last edited by gontran; 2018-05-31 at 11:25.

  6. #6
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Remember that Lianja for Windows is 32 bit even on x64 so you need to install 32 bit python not 64 bit.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  7. #7
    I will create a step by step video. It’s actually very easy to interact with Lianja.

  8. #8
    Member
    Join Date
    Oct 2012
    Location
    México city
    Posts
    67
    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

  9. #9
    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...ature=youtu.be

    Herb

  10. #10
    Member
    Join Date
    Oct 2012
    Location
    México city
    Posts
    67
    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

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us