Jump to content

Search the Community

Showing results for tags 'Python'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Hi there! I just finished setting up my python app successfully! However my app ran into an error, and after finding out the logs, I see that "flask_cors", a module my flask app requires isn't installed, thereby leading to a NoModuleFound error. I looked through the forum and saw a list of installed modules but didn't find flask_cors. I'd appreciate if it can be added to my account. Thank you!
  2. Hi, I'm trying to set up a flask web app and I've followed the instructions on the forum, however it seems that I need to install additional python dependencies to make it work. My host is jpmorr.helioho.st which is on Johnny. I have my requirements.txt file but it seems there is no python console from which I can run this and that I need to get some help from the support team to do so. Thanks, JP requirements.txt
  3. Hello, I am hosting a Telegram bot on Johnny using the Python library it has installed, and it has been working for quite a while. However, yesterday it started consistently crashing. I'm having a hard time figuring out what's wrong, since I can't find any real error messages. One thing that I noticed, however, is that if I print out the bot object when running the script on my PC, I get "Bot[token=<my API key>]", but in Heliohost I just get "Bot()", although I imagine this might not mean anything. Has anyone else had issues with this recently?
  4. How to use Python in my terminal and where is the terminal for that ?
  5. Admin can you update all the apps that are on my server to the newest, please !
  6. Hi Team, Please install following python packages: torch==2.0.1 deepface==0.0.79 imageio==2.33.0 imageio-ffmpeg==0.4.9 MarkupSafe==2.1.3 moviepy==1.0.3 numpy==1.26.2 opencv-python==4.8.1.78 Pillow==10.1.0 PyWavelets==1.5.0 requests==2.31.0 reportlab==4.0.4 scipy==1.11.4 setuptools==69.0.2 tqdm==4.66.1 transformers==4.32.0 urllib3==2.1.0 Werkzeug==3.0.1 Thanks Sudhakar
  7. Note: This is specific to HelioHost. There was a NameError in some code on line 87. Line 87 of my code was: return MySQLdb.connect(**kwargs) I modified it to: return mysql.connector.connect(**kwargs) mysql.connector has been imported in the file. Hence, no NameError should show up. Yet, the error still shows up in the logs. In the wiki it is mentioned that it takes several hours to purge the cache. However, in my case, the log files show the updated code but still have the same error. For example: return mysql.connector.connect(**kwargs) NameError: 'MySQLdb' is not defined What is happening here? Is it a caching issue, or something which I should do on my side? (I can share the code if required)
  8. Hello, I want to host a telegram bot made in python, and I made it with the python-telegram-bot module. I found some older posts about installing python modules, and the link that was there pointing to the list of installed modules doesn't work. In case it isn't installed, would it be possible for you to do so? python-telegram-bot-raw would be enough (it has less features, but I didn't use those that don't exist in the raw module). I've also seen some posts concerning excessive loads with hosting bots. I don't think my bot would have this problem, since it doesn't interact in any way with the users (so it doesn't need to constantly probe for new messages). It just sends a message when a new event is posted on the website of a student association I belong to, and I could adjust the polling period for the site if I notice it's causing too much load. Thank you in advance
  9. Hey Admin, please can you install this python library: https://pypi.org/project/Flask-Moment/ Server: Tommy Python: 3.7 Thanks
  10. Hey Admin, could you please install the aiosqlite Python library? https://pypi.org/project/aiosqlite/ Johnny, Python Version 3.7 Thanks!
  11. For my django app, i need some other python packages. Here the packages that i need : urllib3 lxml passlib bcrypt pillow django-markdown-deux django-markdown2 psycopg2 gunicorn requests Thanks !
  12. Hi, could you please install this python module on Tommy server with python3.7: flask-mail Your contribution to this awesome service is appreciable! Thank you!
  13. Hi there, I'm in Johnny server. I followed how to start flask app in the server. I'm just wondering how to import function from the cloudapi.py to the myapp.py, for example: file: myapp.py from cloudapi import * Structure of the folder in /home/mowaseem/public_html/flask/ | |_____ .htaccess | |_____ cloudapi.py | |_____ flask.wsgi | |_____ myapp.py | |_____ settings.conf
  14. Hi there! Im in the Johny Server, wanted to request for the following library: https://pypi.org/project/cloudshare/ Thank you
  15. This script is copied from this tutorial: https://wiki.helionet.org/tutorials/discord-bot My script: https://alaister.net/cgi-bin/start_bot.py #!/usr/bin/python3.7 print("Content-Type: text/html\n\n") import os, subprocess, signal counter = 0 p = subprocess.Popen(['ps', '-u', 'lj'], stdout=subprocess.PIPE) out, err = p.communicate() for line in out.splitlines(): if 'alaisterbot.py'.encode('utf-8') in line: counter += 1 print("Discord bot is already online!") if counter == 0: subprocess.Popen("/home/lj/alaisterbot.py") print("Starting Discord bot...")When I open the file in the browser, it doesn't even return anything. No errors. Just a blank white page. I expect it shows 'starting discord bot' or 'bot is already online'. The discord bot is also offline after running this. Please help. Server: Tommy cPanel username: lj
  16. I need the UUID python library for my flask app, on the Johnny server. It is not in the list of installed libraries, is there any way to get it installed?
  17. Kindly stop python process in my account and guide accordingly for starting and stopping of python process
  18. Hello, Can you please install "wikipedia" Module on Python 3.7 on Johnny Server? For more Reference on the Module - https://pypi.org/project/wikipedia/ Waiting for your Response, Thanks and Regards
  19. Hello, I am new to Heliohost and already have a few problems. First of all, I can't access cPanel. When I login to https://www.heliohost.org/login/ and use the "continue to cPanel" button, I end up on a loading error page. Is it because it needs a really good internet connection ? If so, what should I do, as I cannot get a better one for now ? Secondly, I would like to host a Django application. I tried to follow the wiki-tutorial (https://wiki.helionet.org/tutorials/django), but all I get is a "basic hosting" of the files, and the app itself is not launched: when I go to my web address (mywebname.heliohost.us), I only get a list of the files and directories (db.sqlite3, manage.py, ...). If I host regular files (like .html files), I can access/see them without any problem. - Do you see what I could have missed when uploading my django app ? - What is the difference between the tutorial I followed (https://wiki.helionet.org/tutorials/django) and this one http://www.heliohost.org/classic/features/languages/python ? In particular, the second one says something about python's eggs, and that is not mentioned at all in the first one, so ... which is the "good" one ? Thanks in advance for any answer, hoping that my English is not too horrid ...
  20. Hello, I just discovered this site !I want to host a python script for free.Is it possible here or elsewhere?I wanted to try aws but you have to enter your credit card information, which I can't do :/
  21. Hi Admin, can you please install this python libraries: fastapi uvicorn pydantic Server: Tommy Python version: 3.7 Thanks
  22. Hi all, when I try to run a flask app on the tommy server, pymongo gives me this error, how can I fix it? "cluster0-shard-00-01.fhsrc.mongodb.net:27017: [Errno 111] Connection refused,cluster0-shard-00-02.fhsrc.mongodb.net:27017: [Errno 111] Connection refused,cluster0-shard-00-00.fhsrc.mongodb.net:27017: [Errno 111] Connection refused, Timeout: 30s, Topology Description: <TopologyDescription id: ugkctamdzd6nvshm69miov4r topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('cluster0-shard-00-00.fhsrc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-00.fhsrc.mongodb.net:27017: [Errno 111] Connection refused')>, <ServerDescription ('cluster0-shard-00-01.fhsrc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-01.fhsrc.mongodb.net:27017: [Errno 111] Connection refused')>, <ServerDescription ('cluster0-shard-00-02.fhsrc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-02.fhsrc.mongodb.net:27017: [Errno 111] Connection refused')>]>" Instead if i run the app with my pc on the localhost i don't get any error.
  23. My script uses the some modules from the standard library, praw and pint https://github.com/hgrecco/pint I'm on johnny and I think praw is already installed so how do I install pint? https://jac0b.heliohost.org/
  24. Hi, I am developing a telegram bot and I need the installation of this two modules: feedparser (https://pypi.org/project/feedparser/) gspread (https://gspread.readthedocs.io/en/latest/) Username: pgarcia Server: Tommy Domain: matchandgos.heliohost.org Python Version: 3.7 Thank you in advance, Patricio
  25. Hello, Could you please install some python packages for my Flask backend jonny server peewee flask-jwt-extended flask_cors sentry-sdk[flask]==0.16.2 Thank you!
×
×
  • Create New...