Closed PythonNut closed 9 years ago
pip
definitely installs the traad
command when I use it. Are you using Python3? If so, then it actually installs the command traad3
, not traad
, so maybe this is causing some confusion.
If you're absolutely sure that the setup.py
included with traad isn't properly installing the traad
or traad3
command, tell me your Python version, operating system, and the commands you're using to install it.
Regarding installation of traad for the user, that's something I've considered but never had the time to dive into. I know that jedi does it by using the python-environment
library, and since traad is pure Python I think we could follow the same path. Do you have any interesting in trying to implement this feature?
(I'm going to make a few notes about this feature.)
Ah, indeed. Thanks for being so responsive. I suppose this has become sort of like #50.
traad
is now working for me, and I'm happy using it. You might want to document that traad
is on pypi
, because that makes me feel safer and more correct for some reason.
Thanks for the feedback. I've updated the wiki to instruct people to use pip unless they have a good reason no to.
I've added the traad-install-server
command and supporting infrastructure. Once it's up in melpa, give it a shot and let me know if it works for you.
It works fine for me, as far as I can tell.
@PythonNut Excellent, thanks for letting me know.
Are you by any chance using traad with Python3? I've recently started seeing very (very) strange bugs that only seem to manifest when I'm talking to a Python3 traad server. The bug is that emacs gets an unbalance bytecode stack, so it seems extremely unlikely that Python 3 is involved in any way, but I'm trying to see if anyone else is having problems. I started seeing these problems after I made this change, though that may just be coincidence.
I don't actually know how to use traad
with Python3. Is it as simple as opening a Py3 file and doing everything normally?
Unfortunately it's a bit complex. You have to install traad with Python 3 (eg with a Python 3 virtual environment) and then make sure your using that environment when you call traad-open.
The readme and wiki should cover this, but let me know of it's unclear. I'm on vacation right now, so I may not be able to give great support for the next few weeks.
On Fri, Dec 19, 2014, 00:05 PythonNut notifications@github.com wrote:
I don't actually know how to use traad with Python3. Is it as simple as opening a Py3 file?
— Reply to this email directly or view it on GitHub https://github.com/abingham/traad/issues/71#issuecomment-67572953.
Ideally, users should be able to install traad with just
pip
andpackage.el
.Another thing that would be nice is an emacs
traad-install-server
function that installs the server automatically.