...or if *pip* is accessible but hasn't access rights to standard target location, you can install to different location as here
http://stackoverflow.com/questions/2915471/install-a-python-package-into-a-different-directory-using-pip Then set sys.path as mentioned above. Dne středa 6. dubna 2016 16:38:07 UTC+2 Mirek Zvolský napsal(a): > > I think you have to install it too. > > But I have no special knowledge of Python Anywhere. > If terminal+python is accessible or in short script just try: import > unirest > If fails, you can sure install modules written in pure Python. > They could work if they are in web2py applications/<app>/modules/ folder. > Or, if standard installation method (like: pip install) is not possible, > you can upload to any folder same (installed) files from the development > machine. To make them working: > import sys > sys.path.insert(0, 'directory where is module.py or where is package > folder') > .. and then import should find them. > > > Dne neděle 3. dubna 2016 12:29:34 UTC+2 Stephen Duisberg napsal(a): >> >> For example, my app uses unirest which is working because I have >> installed unirest on my pc. Do I have to install it in the app module too >> or pythonanywhere has all sorts of python modules inbuilt? >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.