Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

Pyspades on Ubuntu

For all your hosting needs.

Re: Pyspades on Ubuntu

Postby matpow2 » Fri May 04, 2012 7:26 pm

You need at least Cython 0.15.1 to build pyspades. It seems like you're using an old version. Uninstall the one you have now COMPLETELY, then run "python -m easy_install cython".
User avatar
matpow2
Site Admin
 
Posts: 47
Joined: Thu Dec 29, 2011 12:35 pm
Location: Denmark, Odense

Re: Pyspades on Ubuntu

Postby Gingie » Sun May 13, 2012 1:03 pm

Hit the same problem when I was setting up PySpades on my Ubuntu server last night.
It seems that, for some people, Cython and Easy_Install just don't mix at-all.
There were other ways to get easy_install to work with Cython, but I find manually installing it was just easier:

1) Get the release from cython.org/release/Cython-0.16.tar.gz
2) Extract it somewhere, then navigate in
3) Run the following command:
Code: Select all
python setup.py install

4) CD to whereever you have pyspades and build it

After that, you should be fine. You'll likely still get some errors when building pyspades, but I'm assuming they're (mostly) ignorable - I'm yet to see any problems with my server.
User avatar
Gingie
Member
 
Posts: 2
Joined: Sun May 13, 2012 12:58 pm

Re: Pyspades on Ubuntu

Postby Tocksman » Tue May 15, 2012 3:25 am

I just use "pip install cython", and I'm done. You need python-pip, though.
Tocksman
Member
 
Posts: 90
Joined: Mon Jan 02, 2012 10:46 pm

Re: Pyspades on Ubuntu

Postby Senators24 » Tue May 15, 2012 9:50 pm

EnderdragonDE wrote:Hello i have a problem, i will install a aos server on my VServer.
But when i will install this with the Tutorial by pyspades Wiki its dont work.

and when i install this with this tutorial:

http://ace-spades.com/forums/viewtopic.php?f=79&t=5267#p54382

Then i come only at Step 6.

When i Type "./build.sh" he says this:
Code: Select all
aceofspades@enderdragon:/opt/pyspades$ ./build.sh
Traceback (most recent call last):
  File "build.py", line 4, in <module>
    from Cython.Distutils import build_ext
ImportError: No module named Cython.Distutils
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from Cython.Distutils import build_ext
ImportError: No module named Cython.Distutils


have everyone a other tutorial? or what is wrong?

Thanks (Sorry for the not perfect english)

I suggest you go and look at this documentation:
http://code.google.com/p/pyspades/wiki/SetupUbuntu
This will help a lot
User avatar
Senators24
Member
 
Posts: 10
Joined: Tue May 15, 2012 8:34 pm

Re: Pyspades on Ubuntu

Postby Gingie » Tue May 15, 2012 11:02 pm

Senators24 wrote:-snip-
I suggest you go and look at this documentation:
http://code.google.com/p/pyspades/wiki/SetupUbuntu
This will help a lot


It's already been established that he has, and the problem is with the fact that he can't fetch cython through easy_install. Re-reading documentation won't help if the process it uses dosn't work. Fair enough, it should work - and does for most people - but I'd suggest you read the rest of the thread before resorting to a generic reply.

EDIT: And, it's worth noting that I got the exact same error as Ender is getting - a resolution is to just install it manually instead of using easy_install. It's not just a one-off "it's your fault" kind of thing.
User avatar
Gingie
Member
 
Posts: 2
Joined: Sun May 13, 2012 12:58 pm

Previous

Return to Server



Who is online

Users browsing this forum: No registered users and 2 guests

cron