mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #34] [PYTHON3]Can't even import spotipy #16
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maniexx on GitHub (Nov 4, 2014).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/34
I've installed spotipy using pip, no errors.
When I run python 3 and do
import spotipyhere's what I get:File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.4/dist-packages/spotipy/__init__.py", line 2, in <module> from client import Spotify, SpotifyException ImportError: No module named 'client'OS: Ubuntu 14.04,
Python: 3.4.0
@joohoi commented on GitHub (Nov 4, 2014):
It's Python 2 only, my fork is ported to work with Python 3 also, check out https://github.com/joohoi/spotipy/tree/python3
Everything but examples should be Python 3 compatible.
@joohoi commented on GitHub (Nov 4, 2014):
Now the examples are working too.
@maniexx commented on GitHub (Nov 4, 2014):
Ok, so that's weird because pip installed it in my python3 packages directory - python2 didn't even see it. @joohoi I will check out your fork, thanks.
@lylia commented on GitHub (Feb 28, 2015):
you may install python 2 only, and unistall python3. because pip install in the last branch (which is python 3 in your case) .. lt'll be fixed ;)
@maximd commented on GitHub (Jun 5, 2015):
Hi, could you maybe change the title of the issue to indicate that the problem appears with python 3?
I am really looking forward to an official python 3 support @plamere! Even if @joohoi support of python 3 is really great, maybe its work can be merged?
@joohoi commented on GitHub (Jun 5, 2015):
My fork has been merged to the latest state, and pull request against it is created in PR #56
@maximd commented on GitHub (Jun 5, 2015):
Let's hope it gets approved!
@joohoi commented on GitHub (Jun 9, 2015):
Python 3 support has been merged to master.
@maniexx this issue should be solved.
@urda commented on GitHub (Jul 2, 2015):
I can't seem to import this myself, unless the Python 3 support has not made it to the pip channels yet.
Error on import:
Version Information:
@joohoi commented on GitHub (Jul 2, 2015):
Pip serves 2.3.6 which was released a week before the Python 3 support merge. So for the time being you're better off installing from github.
@urda commented on GitHub (Jul 2, 2015):
@joohoi ok Just wanted to make sure! Saw this was still open but also saw the merge 😄
@brki commented on GitHub (Oct 8, 2015):
This issue could be closed now, no? I just did a
pip install spotipyand spotipy 2.3.7 is installed.@yash2code commented on GitHub (Nov 22, 2017):
same issue
Traceback (most recent call last): File "/home/yash/MusicBot/musicbot.py", line 8, in <module> import spotipy ImportError: No module named spotipy@ritiek commented on GitHub (Nov 23, 2017):
@yash2code Try using
python3 -m pip install spotipy.