![]() The following packages were automatically installed and are no longer required: I appreciate the ~ # apt install magic-wormhole Good luck, and thanks for giving it a try. Remove the ones you find, then do sudo apt install magic-wormhole and rely on the debian maintainers to get all the dependencies right :). Also wormhole executables in the corresponding bin directories. If you ever find you want to give wormhole another try, I'd look at that system for leftover pieces of the previous installs: search for wormhole or magic-wormhole directories in /usr/local/lib/python*, ~/.local/lib/python*, and /root/.local/lib/python*. ![]() The only time I use "activate" is when I'm doing development. venv/bin/wormhole and it would work without the "activate" step. You could install magic-wormhole into a virtualenv and then make a symlink from ~/bin/wormhole or /usr/local/bin/wormhole to. I learned that the scripts installed into a virtualenv have their #! shbang line changed to point at the python within the virtualenv, so they remember their environment. Incidentally, I have the same concern about virtualenvs when I started using them (having to activate something before I could run a command). I bet if you did sudo rm /usr/local/bin/wormhole and sudo apt install magic-wormhole, then it might start working. The debian package will provide /usr/bin/wormhole. It probably worked, but I see that the subsequent wormhole receive error message was using /usr/local/bin/wormhole (which must be leftover from an earlier install attempt). I think you came really close when you did apt install magic-wormhole. So there's the risk of conflicts between dependencies of those two categories of applications, since pip and apt don't coordinate anything. The usual issue is that system-wide installs via pip will interact with other system-wide installs (including regular debian packages that happen to use python). I guess I've had enough problems like your story, and now I shy away from that approach. I don't have a lot of experience with doing a system-wide install that's not in a debian package. And that maybe they were interfering with your later attempts, like enough metadata was left around to make it think that wormhole was already installed. maybe sudo pip3 uninstall magic-wormhole, without the -user, does not remove all of the files installed by a pip3 install with the -user). Was the initial sudo pip3 install -user magic-wormhole successful? I'd hazard a guess that some files installed during that step were left in place (i.e. I'm sorry that was so painful, and ultimately unsatisfying :(. Still facing an error, this time, a new one: Python3-spake2 python3-tqdm python3-trollius python3-twistedĠ upgraded, 27 newly installed, 0 to remove and 11 not upgraded.Īfter this operation, 17.0 MB of additional disk space will be used. Python3-ply python3-pyasn1-modules python3-pycparser python3-serial Python3-constantly python3-hkdf python3-humanize python3-incremental Magic-wormhole python3-attr python3-autobahn python3-cbor python3-cffi The following NEW packages will be installed: Python3-glade2 python3-qt4 python3-wxgtk2.8 python3-twisted-bin-dbg Python-attr-doc python-nacl-doc python-ply-doc python3-wxgtk3.0 \| Python3-tqdm python3-trollius python3-twisted python3-twisted-bin Python3-service-identity python3-snappy python3-spake2 Python3-pyasn1-modules python3-pycparser python3-serial Python3-hkdf python3-humanize python3-incremental python3-lz4 Python3-attr python3-autobahn python3-cbor python3-cffi python3-click ![]() The following additional packages will be installed: Trying to get rid of everything again and start from \~ % sudo apt install magic-wormhole "/usr/local/lib/python3.5/dist-packages/wormhole/~rlcompleter~.py", lineįrom import inlineCallbacks, returnValue ~rlcompleter~ import input~withcompletion~ Not uninstalling idna at /usr/lib/python3/dist-packages, outsideįile "/usr/local/bin/wormhole", line 7, in \ Requirement already satisfied: setuptools in Requirement already satisfied: six in /usr/lib/python3/dist-packages Requirement already satisfied: incremental\>=16.10.1 in Requirement already satisfied: zope.interface\>=4.4.2 in Requirement already satisfied: constantly\>=15.1 in Requirement already satisfied: attrs\>=17.4.0 in Requirement already satisfied: hyperlink\>=17.1.1 in Requirement already satisfied: Automat\>=0.3.0 in *root*.local/lib/python3.5/site-packages (from twisted) Requirement already satisfied: PyHamcrest\>=1.9.0 in Requirement already satisfied: twisted in
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |