arabich Posted March 19, 2020 Posted March 19, 2020 (edited) Greetings, I am new to heliohost, using Ricky, and I'm working on a project that required 2 python libraries that wasn't available on heliohost.This is the version that works for me without getting a 500 error #!/usr/bin/python I'm not sure which version is running with that definition, but it's the only one working.I really need the NLTK version after 2017 (NLTK 3.3 or above) and heapq package to complete my code please if it's capable on the server. If it's not possible, I would really appreciate it if you could help me to install it directly with the pip! PS: I tried to install it using various ways, one of it was (got 500 error): #!/usr/bin/python import cgi from subprocess import call from sys import executable import pip call([executable,'-m', 'pip', 'install','--trusted-host=pypi.org', '--trusted-host=files.pythonhosted.org', 'nltk']) Thank you very very much for your work!!Please keep the awesome work Edited March 19, 2020 by arabich
Luigi123 Posted March 19, 2020 Posted March 19, 2020 Let’s see about that. This support request is being escalated to our root admin.
Krydos Posted March 22, 2020 Posted March 22, 2020 NLTK requires Python versions 3.5, 3.6, 3.7, or 3.8 #!/usr/bin/pythonThis is python 2.7 which does not support nltk. Would you like me to install nltk on python 3.6? You'll have to switch to the shebang #!/usr/bin/python3.6
Recommended Posts