Giter Club home page Giter Club logo

Comments (7)

XaF avatar XaF commented on May 29, 2024
  • What python version are you using ? python --version
  • Have you the requests directory besides the TraktForVLC.py file ?

from traktforvlc.

devilsoulblack avatar devilsoulblack commented on May 29, 2024

Hi XaF

Python 2.7.6

Yes i have requests file outside directory

from traktforvlc.

XaF avatar XaF commented on May 29, 2024

Can you go to your TraktForVLC directory in a console and run:

python -c "import os; print(os.listdir('.')); import requests; print(dir(requests))"

And past here the result ? Thanks.

from traktforvlc.

devilsoulblack avatar devilsoulblack commented on May 29, 2024

Hi Xaf, the TraktForVLC is on /Users/aandaluz

and this is the result

Alfredo-Andaluz-Prados-MacBook-Pro:~ aandaluz$ python -c "import os; print(os.listdir('.')); import requests; print(dir(requests))"
['.adobe', '.atom', '.bash_history', '.bi_li3', '.ccnet', '.CFUserTextEncoding', '.config', '.cups', '.DownloadManager', '.dropbox', '.DS_Store', '.filezilla', '.gnupg', '.htoprc', '.jmf', '.local', '.magicJack', '.mplayer', '.nchsoftware', '.prism', '.putty', '.rnd', '.shsh', '.smb', '.spumux', '.ssh', '.subversion', '.Trash', '.viminfo', '.vnc', '.Xauthority', '.xchat2', '1', '130680801', '130680801.zip', '20110323.txt', '936835-2015-03-10.hrf', 'Applications', 'backup_cabina', 'bin', 'debian-7.3.0-amd64-CD-1.iso', 'Desktop', 'Documents', 'Downloads', 'Dropbox', 'Google Drive', 'HOGAR_REP_CL_2014-09-02_r9.csv', 'imap.txt', 'Library', 'licitacion1.xml', 'licitacion1.xsl', 'licitacio\xcc\x81n1.css', 'MALWARE.php', 'Movies', 'Music', 'ownCloud', 'Pictures', 'Public', 'reportes', 'Seafile', 'Sites', 'Spark', 'TraktForVLC.py', 'virus.php', 'wolfip', '$DIMENSIONAMIENTO.xlsx']
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named requests
Alfredo-Andaluz-Prados-MacBook-Pro:
aandaluz$

Regards

from traktforvlc.

XaF avatar XaF commented on May 29, 2024

Ok, it seems your installation of TraktForVLC is wrong.
Can you please download it (for instance from here) and extract all the files to a directory (for instance /Users/aandaluz/TraktForVLC). You should then be able to run the Python command I gave you from this directory. It should not give any error, and thus TraktForVLC should work!

from traktforvlc.

devilsoulblack avatar devilsoulblack commented on May 29, 2024

XaF

i download the file you say but i get this message

Alfredo-Andaluz-Prados-MacBook-Pro:TraktForVLC aandaluz$ python TraktForVLC.py
/Users/aandaluz/TraktForVLC/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning

from traktforvlc.

XaF avatar XaF commented on May 29, 2024

It's just a warning so TraktForVLC should be working.
If you want it to disappear, I suggest upgrading your Python version to 2.7.9 or installing pyopenssl (using pip: pip install pyopenssl).

from traktforvlc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.