Jump to content


Photo

[Solved] Python lib install

Python Johnny discord.py

  • This topic is locked This topic is locked
5 replies to this topic

#1 querby

querby

    Newbie

  • Members
  • 4 posts
  • Gender:Male
  • Location:France
  • Interests:Programmation, Gaming, Reading...

Posted 13 August 2019 - 10:29 AM

Hello !

 

I wondered if it was possible to install a Python lib for my project.

 

I want to run a discord bot on my site (and if it works, the site itself will be dedicated to how to install/run/use the bot itself) coded in Python, but I need discord.py lib, as well as its dependancies.

 

https://github.com/Rapptz/discord.py

Here is the link to the lib github. Note that they don't provide any other install solution than using pip (which would require SSH, and it's not available for me).

 

They also require some packages from repos :

Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g. apt, yum, etc) before running the above commands:
libffi-dev (or libffi-devel on some systems)
python-dev (e.g. python3.6-dev for Python 3.6)

Is it possible to install these ? I'll work later on some scripts to start/stop the bot without using SSH.

 

Thanks in advance,

Querby

 


--

Querby


#2 flazepe

flazepe

    Rank VIII Member

  • Moderators
  • 833 posts
  • Gender:Male

Posted 13 August 2019 - 10:30 AM

This support request is being escalated to our root admin.

#3 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 18,556 posts
  • Gender:Male

Posted 13 August 2019 - 09:57 PM

Which version of python are you using?

#4 querby

querby

    Newbie

  • Members
  • 4 posts
  • Gender:Male
  • Location:France
  • Interests:Programmation, Gaming, Reading...

Posted 13 August 2019 - 10:37 PM

Python3 (discord.py doesn't support Python<3.4)

 

Edit : Python version currently running on the server is fine (3.6)


Edited by querby, 13 August 2019 - 10:40 PM.

--

Querby


#5 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 18,556 posts
  • Gender:Male

Posted 13 August 2019 - 10:51 PM

https://krydos2.heli...in/modules36.py Discord.py is installed on Johnny's python 3.6 now.

#6 querby

querby

    Newbie

  • Members
  • 4 posts
  • Gender:Male
  • Location:France
  • Interests:Programmation, Gaming, Reading...

Posted 14 August 2019 - 07:38 AM

Many thanks !


--

Querby






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users