Coder Social home page Coder Social logo

Comments (6)

mental32 avatar mental32 commented on August 26, 2024

Could you please include a traceback, the command your ran and any other relevant information

from spotify.py.

buyanyun avatar buyanyun commented on August 26, 2024

Here is the traceback. and I just use pip3 to install spotify.py

Collecting spotify.py
Downloading https://files.pythonhosted.org/packages/d0/ac/f1870084489b45748c9b6b487a3276a7afe158751ff2877a188eec496d41/spotify.py-0.8.4.zip (89kB)
100% |████████████████████████████████| 92kB 2.6MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/sf/bksnxw9174dfn3yqgs41ssj40000gn/T/pip-install-sthxo972/spotify.py/setup.py", line 1, in
from spotify import version
File "/private/var/folders/sf/bksnxw9174dfn3yqgs41ssj40000gn/T/pip-install-sthxo972/spotify.py/spotify/init.py", line 4, in
from spotify.client import Spotify
File "/private/var/folders/sf/bksnxw9174dfn3yqgs41ssj40000gn/T/pip-install-sthxo972/spotify.py/spotify/client.py", line 1, in
from spotify.commands.manager import CommandManager
File "/private/var/folders/sf/bksnxw9174dfn3yqgs41ssj40000gn/T/pip-install-sthxo972/spotify.py/spotify/commands/init.py", line 1, in
from spotify.commands.work import DoWork
File "/private/var/folders/sf/bksnxw9174dfn3yqgs41ssj40000gn/T/pip-install-sthxo972/spotify.py/spotify/commands/work.py", line 33
except execjs.RuntimeUnavailable, ex:
^
SyntaxError: invalid syntax

from spotify.py.

mental32 avatar mental32 commented on August 26, 2024

You are installing the wrong package. This project is released under the name spotify in pypi so you have to do pip install spotify not spotify.py, I understand the confusion.

from spotify.py.

HarmvandenBrand avatar HarmvandenBrand commented on August 26, 2024

I had the same problem using the correct (I think) pip command

$ pip3 install spotify
Collecting spotify
  Using cached https://files.pythonhosted.org/packages/2c/ab/4ba5d31ee8c6ad53da45b02a0f3fd8680b5205c39f7cf52653570ad107ca/spotify-0.4.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-_hiv8pp2/spotify/setup.py", line 4, in <module>
        with open('requirements.txt') as inf:
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'

I'm running on Python 3.5.3, which may be the problem?

from spotify.py.

mental32 avatar mental32 commented on August 26, 2024

@HarmvandenBrand Your pip is preferring the broken package release, please refer to this stack overflow answer to force pip to install the latest pypi package.

from spotify.py.

mental32 avatar mental32 commented on August 26, 2024

I'm closing this since it's gone stale.

from spotify.py.

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.