Hi, I've spent the last three hours trying to use Heavy, and this page
http://docs.python-requests.org/en/latest/user/install/
is driving me plain crazy, I have no clue what it's all about, and none of the command lines work.
I think the rest of it is ok, I tried to compile a project and got this :

./build_pd_heavy.sh ../examples/08-PureData/hello-world/
Checking the board is up and running at root@192.168.7.2...Warning: Permanently added '192.168.7.2' (RSA) to the list of known hosts.
done
Invoking the online compiler...
Traceback (most recent call last):
  File ".//hvresources//uploader.py", line 37, in <module>
    import requests
ImportError: No module named requests
ERROR: an error occurred while executing the uploader.py script

Thanks for your help!

That's precisely what i've been trying to do...
i downloaded this https://github.com/requests/requests but i have no idea what i shall do with it.

After installing pipenv, when I type
pipenv install requests
I get a "command not found" message.

I also tried pip install requests, and I got this :

Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from requests)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from requests)
Requirement already satisfied: idna<2.7,>=2.5 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from requests)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from requests)
pc12:Scripts lucienrapilly$ pip install requests
Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from requests)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from requests)
Requirement already satisfied: idna<2.7,>=2.5 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from requests)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from requests)

    LucienR I get a command not found message.

    seems like you don't have pipenv installed (I have no idea what it is).

    LucienR I also tried pip install requests, and I got this :

    Not sure what that means, I am not expert in python library management.

    Have you tried the first option in the wiki cd /tmp && curl -OL https://github.com/kennethreitz/requests/zipball/master && unzip master && cd requests* && sudo python setup.py install ?

    yes i did, i got this :

    cd /tmp && curl -OL https://github.com/kennethreitz/requests/zipball/master && unzip master && cd requests* && sudo python setup.py install
    
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

      i also tried the second link

      curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
      sudo python get-pip.py #install pip packet manager for python
      sudo pip install request

      and it says

      python: can't open file 'get-pip.py': [Errno 2] No such file or directory

        LucienR curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

        that's funny. You can manually download the file https://github.com/kennethreitz/requests/zipball/master (which is what curl -OL is meant to do). Then double click on it (which is what unzip is meant to do). Then open a terminal inside the extracted folder, called probably something like requests-requests-v2.18.... (which is what cd was supposed to do) and from that terminal inside that folder run sudo python setup.py install.

        LucienR python: can't open file 'get-pip.py': [Errno 2] No such file or directory

        it probably also says above that line that curl failed to retrieve the get-pyp.py file. Not sure what is wrong with your curl, maybe it is a veeeery old version, as suggested here?

        Doesn't seem to work...
        ends with

        Installed /Library/Python/2.7/site-packages/requests-2.18.4-py2.7.egg
        Processing dependencies for requests==2.18.4
        Searching for certifi>=2017.4.17
        Reading http://pypi.python.org/simple/certifi/
        Couldn't find index page for 'certifi' (maybe misspelled?)
        Scanning index of all packages (this may take a while)
        Reading http://pypi.python.org/simple/
        No local packages or download links found for certifi>=2017.4.17
        error: Could not find suitable distribution for Requirement.parse('certifi>=2017.4.17')

        It seems like it may be trying to automatically download some other packages, which maybe fails for the same reason as your manual downloads were failing (i.e.: it may internally be using curl, which fails)?

        How old is your operating system? What is your curl version?

        i have a macbook pro on osc 10.7.5.
        curl 7.21.4

        curl --version would tell you that. Anyhow, it's probably old and it seems that you have to update it in order to be able to install any python package.. I am not sure what the best way is to upgrade curl. Maybe you could try macports or homebrew, or just build it from source.

        well now i get this :
        Error: Unknown username or password.
        ERROR: an error occurred while executing the uploader.py script
        I think I mistakenly copied my first token twice (i couldn't see anything on the terminal). I created a new patch and called it bela, asked for a new token... what shall i do?

        If you stored an invalid token,

        rm ~/.heavy/token

        will remove the existing token and you will be prompted for it again next time you run build_pd_heavy.sh

        Ok that works. Thank you so much, I can start making music now!