Comments (3)
Hey, sorry it took me a while to respond!
So method_wrapper
refers to https://github.com/tapanpandita/pocket/blob/ce6f316887873db7c9a9d56811afb6eba744a4cd/pocket.py#L42
It's kinda odd there is pocker/__init__.py
in your site-packages at all.. there is no __init__.py
in the package source https://github.com/tapanpandita/pocket
Is there anything else in ~/.local/lib/python3.9/site-packages/pocket
? Perhaps you could uninstall pocket
and install again just in case?
from pockexport.
OK, after some digging I think I found the problem…the rakanalh/pocket-cli
app, which is unrelated to the Pocket APIs you're using, installs a second package called pocket
which isn't registered with pip directly to the site-packages. For some reason pip doesn't complain when it then tries to write tapanpandita/pocket
over the top of it – it just doesn't do anything to the directory, even though you would think its metadata would suggest there was a problem. So then you end up with pip show
saying that tapanpandita/pocket
is installed, even though that's not what's actually in that directory, and doing pip uninstall
doesn't change anything either since none of the paths found in the package actually exist.
I guess one of these packages is going to have to change its name upstream. pocket-cli
appears to be no longer maintained in the official repository, either, so ugh.
Unless you have any brilliant ideas on how to sidestep this from within your system, I think you can close this.
Edit: Fixed wrong repository names again
from pockexport.
Yeah, I guess fundamentally there is no good way to solve it...
Perhaps the easiest would be to uninstall all pocket stuff, and then install pocket-cli
via pipx
, this would keep its dependencies in a separate virtual environment
from pockexport.
Related Issues (5)
- How to get highlights? HOT 1
- Annotations not in response HOT 2
- Does this export tags? HOT 2
- pocket.RateLimitException encountered HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pockexport.