• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Oct 2017 09:06 AM by  JoshGrew
(CLOSED)Windows Build
 4 Replies
Sort:
Topic is locked
Author Messages

Hanno



New Member


Posts:2
New Member


--
10 Oct 2017 11:54 PM
    I am using Anaconda under Windows 8. Is it possible to install 51degree package ?
    0

    JoshGrew



    New Member


    Posts:18
    New Member


    --
    11 Oct 2017 04:36 PM
    Hi Hanno

    Thanks for getting in touch.

    It is possible to install the API replicating the steps below:

    Create a virtual environment running Python 3.6
    'conda create -n myenv python=3.6'

    Hit Y to confirm new packages that will be installed

    Activate the new virtual environment
    'Activate myenv'

    Install the 51 Degrees Python wrapper
    'pip install 51degrees-mobile-detector-v3-wrapper' or 'pip install 51degrees-mobile-detector-v3-trie-wrapper'

    Ensure there is a data file available, the default location is "C:\users\username\51degrees\"

    Test the install has been successful with a User Agent
    '51degrees-mobile-detector match "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0"'

    Hope that helps. Let me know how you get on.

    Josh
    0

    Hanno



    New Member


    Posts:2
    New Member


    --
    11 Oct 2017 07:04 PM
    Josh, help you for the help!
    after this step 'pip install 51degrees-mobile-detector-v3-trie-wrapper' , I got next error (see attached)


    0

    JoshGrew



    New Member


    Posts:18
    New Member


    --
    12 Oct 2017 04:09 PM
    Hi Hanno

    Do you have Visual Studio installed on the machine currently?

    If so, try the install using the Visual Studio C++ Command Prompt as you should be able to run 'cl.exe' automatically without this error.

    You will still be able to use the commands in the replication steps as long you are in the right directory.
    0

    JoshGrew



    New Member


    Posts:18
    New Member


    --
    23 Oct 2017 09:06 AM
    Hi Hanno - Just checking up to see how are you getting on?
    0
    Topic is locked