Comments (5)
Please give a look at the FAQ section of the README
from kb.
Ah yes ;) I saw this comment in another issue, why I returned here in the first place.
from kb.
Unfortunately on my system running the commands as in
does not help:
$ pip uninstall attr attrs
Found existing installation: attr 0.3.2
Uninstalling attr-0.3.2:
Would remove:
/home/yala/.local/lib/python3.10/site-packages/attr-0.3.2.dist-info/*
/home/yala/.local/lib/python3.10/site-packages/attr.py
/home/yala/.local/lib/python3.10/site-packages/dry_attr.py
Proceed (Y/n)?
Successfully uninstalled attr-0.3.2
Found existing installation: attrs 21.2.0
Not uninstalling attrs at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'attrs'. No files were found to uninstall.
$ pip install attr
Defaulting to user installation because normal site-packages is not writeable
Collecting attr
Using cached attr-0.3.2-py2.py3-none-any.whl (3.3 kB)
Installing collected packages: attr
Successfully installed attr-0.3.2
$ pip install -U kb-manager
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: kb-manager in /home/yala/.local/lib/python3.10/site-packages (0.1.7)
Requirement already satisfied: colored in /home/yala/.local/lib/python3.10/site-packages (from kb-manager) (1.4.3)
Requirement already satisfied: gitpython in /home/yala/.local/lib/python3.10/site-packages (from kb-manager) (3.1.27)
Requirement already satisfied: attrs in /usr/lib/python3/dist-packages (from kb-manager) (21.2.0)
Requirement already satisfied: toml in /usr/lib/python3/dist-packages (from kb-manager) (0.10.2)
Requirement already satisfied: attr in /home/yala/.local/lib/python3.10/site-packages (from kb-manager) (0.3.2)
Requirement already satisfied: gitdb<5,>=4.0.1 in /home/yala/.local/lib/python3.10/site-packages (from gitpython->kb-manager) (4.0.9)
Requirement already satisfied: smmap<6,>=3.0.1 in /home/yala/.local/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->gitpython->kb-manager) (5.0.0)
$ kb list
Traceback (most recent call last):
File "/home/yala/.local/bin/kb", line 5, in <module>
from kb.main import main
File "/home/yala/.local/lib/python3.10/site-packages/kb/main.py", line 19, in <module>
from kb.commands.add import add
File "/home/yala/.local/lib/python3.10/site-packages/kb/commands/add.py", line 19, in <module>
import kb.db as db
File "/home/yala/.local/lib/python3.10/site-packages/kb/db.py", line 21, in <module>
from kb.entities.artifact import Artifact
File "/home/yala/.local/lib/python3.10/site-packages/kb/entities/artifact.py", line 18, in <module>
@attr.s(auto_attribs=True, frozen=True, slots=True)
AttributeError: module 'attr' has no attribute 's'
Please note that attrs
(with s
) has not been uninstalled, since it derives from the system installation and is outside of the /usr
(as it says, despite being in /usr
; well).
This might be an issue with my Python environment, after all. I should try reproducing this within a dedicated pyenv
, Poetry, conda
or asdf
environment.
from kb.
Wait there is no attrs installed? Yes please retry with a clean environment.
from kb.
Apparently, attrs
is installed, but cannot be deleted (due to the lack of sudo
):
Found existing installation: attrs 21.2.0
Not uninstalling attrs at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'attrs'. No files were found to uninstall.
Working with a dedicated environment seems advisable here, as you suggest.
from kb.
Related Issues (20)
- Update man HOT 2
- how to modify existing artifact's tags, category, add comment. How to chage storage location? HOT 3
- kb completion for Fish shell created HOT 1
- Fish completion printing error HOT 1
- Arch not launching avec update HOT 1
- Reinstall nuked my existing KBs!!! HOT 3
- Install not working with pipx, colored.exception.InvalidStyle error HOT 3
- KeyError: 'underline' HOT 2
- Render Markdown articles HOT 2
- Cannot view/ open files HOT 2
- Fails to start HOT 3
- future plans? HOT 1
- Android app HOT 3
- Upgrade to 0.1.6 did not upgrade typing_extensions or warn about compatibility issues HOT 3
- Asking for confirmation before deleting the artifact HOT 4
- [request] Interactive mode with FZF integration would be sweet HOT 4
- [request] merge db option HOT 3
- Suggestion: Adding autocomplete HOT 1
- Please create a new release which includes the newest code HOT 1
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 kb.