thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Import a module (dropbox sdk)  (Read 212 times)

Offline darhxej

  • Newbie
  • *
  • Posts: 2
Import a module (dropbox sdk)
« on: December 29, 2016, 09:32:56 AM »
Hi,
We're using a remote server to host.
I want to upload files from ftp to dropbox.
I made a script and it works fine on my pc.
After i installed dropbox sdk and tested it. I uninstalled it and copied to dropbox sdk folder above the script and it worked so i figured it would work for the remote server it doesn't.
b3.log just says no module named dropbox found.
Any ideas would be appreciated.
« Last Edit: December 29, 2016, 09:51:36 AM by darhxej »

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2523
Re: Import a module (dropbox sdk)
« Reply #1 on: December 29, 2016, 03:08:33 PM »
That error means that you haven't installed or imported the dropbox module correctly.

Offline darhxej

  • Newbie
  • *
  • Posts: 2
Re: Import a module (dropbox sdk)
« Reply #2 on: December 30, 2016, 01:32:59 PM »
I know what it means.
I don't know how to import it properly since i don't have access to module installation, and i did try placing the dropbox sdk in a folder above the script and adding:
import dropbox
That works on my pc runing just python.
How do i import a module ex. dropbox sdk into a b3bot script.
« Last Edit: December 30, 2016, 02:38:13 PM by darhxej »

 


Rate this page +1 at Google Search