Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
Wait a sec...how the hell did it finish that quickly?? Takes ages for me... On June 11, 2015 4:08:16 PM CDT, Ram Rachum wrote: >Using `make` worked. Thank you! > >On Thu, Jun 11, 2015 at 10:05 PM, Ram Rachum wrote: > >> Okay, I'll try it. (Once I add more resources to the VM so it could >finish

Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
Told you so. :) On Thu, Jun 11, 2015 at 4:08 PM, Ram Rachum wrote: > Using `make` worked. Thank you! > > On Thu, Jun 11, 2015 at 10:05 PM, Ram Rachum wrote: > >> Okay, I'll try it. (Once I add more resources to the VM so it could >> finish faster.) >> >> On Thu, Jun 11, 2015 at 10:01 PM, Ryan G

Re: [pypy-dev] Question

2015-06-11 Thread Armin Rigo
Hi all, On 11 June 2015 at 21:17, Ram Rachum wrote: > I tried that now. It wouldn't run `get-pip.py`. Says "Could not find a > version that satisfies the requirement pip (from versions: ) > No matching distribution found for pip" My own experience: any PyPy binary can be downloaded from pypy.org

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
Using `make` worked. Thank you! On Thu, Jun 11, 2015 at 10:05 PM, Ram Rachum wrote: > Okay, I'll try it. (Once I add more resources to the VM so it could finish > faster.) > > On Thu, Jun 11, 2015 at 10:01 PM, Ryan Gonzalez wrote: > >> Ah, minor detail. You need to first run: >> >> sudo apt-get

Re: [pypy-dev] Question

2015-06-11 Thread Phyo Arkar
use easy_install On Fri, Jun 12, 2015 at 1:47 AM, Ram Rachum wrote: > I tried that now. It wouldn't run `get-pip.py`. Says "Could not find a > version that satisfies the requirement pip (from versions: ) > No matching distribution found for pip" > > On Thu, Jun 11, 2015 at 10:14 PM, Phyo Arkar

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
I tried that now. It wouldn't run `get-pip.py`. Says "Could not find a version that satisfies the requirement pip (from versions: ) No matching distribution found for pip" On Thu, Jun 11, 2015 at 10:14 PM, Phyo Arkar wrote: > It is just Download , extract , Run, and have fun. > > On Fri, Jun 12,

Re: [pypy-dev] Question

2015-06-11 Thread Phyo Arkar
It is just Download , extract , Run, and have fun. On Fri, Jun 12, 2015 at 1:43 AM, Phyo Arkar wrote: > Have you tried portable pypy ? https://github.com/squeaky-pl/portable-pypy > it works for me , in every linuxes. > > On Fri, Jun 12, 2015 at 1:42 AM, Ram Rachum wrote: > >> When you use the p

Re: [pypy-dev] Question

2015-06-11 Thread Phyo Arkar
Have you tried portable pypy ? https://github.com/squeaky-pl/portable-pypy it works for me , in every linuxes. On Fri, Jun 12, 2015 at 1:42 AM, Ram Rachum wrote: > When you use the ppa, where will nosetests be located? > > On Thu, Jun 11, 2015 at 10:08 PM, Ryan Gonzalez wrote: > >> sudo add-apt

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
When you use the ppa, where will nosetests be located? On Thu, Jun 11, 2015 at 10:08 PM, Ryan Gonzalez wrote: > sudo add-apt-repository ppa:pypy/ppa > sudo apt-get update > > > > On June 11, 2015 1:54:55 PM CDT, Ram Rachum wrote: >> >> I have no idea how to use the PyPy PPA. (Not a Linux user h

Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
sudo add-apt-repository ppa:pypy/ppa sudo apt-get update On June 11, 2015 1:54:55 PM CDT, Ram Rachum wrote: >I have no idea how to use the PyPy PPA. (Not a Linux user here.) > >On Thu, Jun 11, 2015 at 9:52 PM, Randall Leeds > >wrote: > >> The PyPy PPA works brilliantly on 15.04 for me. >> >> Fro

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
Okay, I'll try it. (Once I add more resources to the VM so it could finish faster.) On Thu, Jun 11, 2015 at 10:01 PM, Ryan Gonzalez wrote: > Ah, minor detail. You need to first run: > > sudo apt-get install libffi-dev pkg-config libz-dev libbz2-dev \ > libsqlite3-dev libncurses-dev libexpat1-dev

Re: [pypy-dev] Question

2015-06-11 Thread Randall Leeds
I'm in transit right but I can spell out the directions when I'm settled a little later. On Thu, Jun 11, 2015, 11:55 Ram Rachum wrote: > I have no idea how to use the PyPy PPA. (Not a Linux user here.) > > On Thu, Jun 11, 2015 at 9:52 PM, Randall Leeds > wrote: > >> The PyPy PPA works brilliant

Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
Ah, minor detail. You need to first run: sudo apt-get install libffi-dev pkg-config libz-dev libbz2-dev \ libsqlite3-dev libncurses-dev libexpat1-dev libssl-dev ;) On Thu, Jun 11, 2015 at 1:48 PM, Ram Rachum wrote: > Against my better judgement, I tried following your advice :) > > Got this e

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
I have no idea how to use the PyPy PPA. (Not a Linux user here.) On Thu, Jun 11, 2015 at 9:52 PM, Randall Leeds wrote: > The PyPy PPA works brilliantly on 15.04 for me. > > From there I just make a virtualenv with: > > $ virtualenv -P /usr/bin/pypy > > (Can't remember if it's -P or -p) > > Once

Re: [pypy-dev] Question

2015-06-11 Thread Randall Leeds
The PyPy PPA works brilliantly on 15.04 for me. >From there I just make a virtualenv with: $ virtualenv -P /usr/bin/pypy (Can't remember if it's -P or -p) Once activated, just running pip works fine for me. On Thu, Jun 11, 2015, 11:49 Ram Rachum wrote: > Against my better judgement, I tried

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
Against my better judgement, I tried following your advice :) Got this error when running make: [translation:ERROR] CompilationError: CompilationError(err=""" [translation:ERROR] /tmp/usession-release-2.6.0-0/platcheck_23.c:79:18: fatal error: zlib.h: No such file or directory [translation:ERROR]

Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
On Thu, Jun 11, 2015 at 1:39 PM, Ryan Gonzalez wrote: > Honestly, these is just general Linux issues. Like I said, not even Linus > Torvalds makes binaries of his dive logger for Linux. It a pain in the > everything. > *these are* (damn, I hate autocorrect...) > > I usually have the *worst* lu

Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
Honestly, these is just general Linux issues. Like I said, not even Linus Torvalds makes binaries of his dive logger for Linux. It a pain in the everything. I usually have the *worst* luck building stuff, but PyPy was actually very easy. I ran `make` and it "just worked". You don't need to know C.

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
I suck at building. I don't know C. There are likely to be errors that I wouldn't know how to deal with. I'm not interested in wasting another hour trying to deal with those. I'm on Ubuntu 15.04. Thanks for the offer. Hopefully instead of investing so much development effort making PyPy x8 times

Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
Remember: I am *dead* serious about you rebuilding it. If you're on Ubuntu 14 LTS x64, I can email you the binaries I built that *work* for you to try. On Thu, Jun 11, 2015 at 12:52 PM, Ram Rachum wrote: > Unfortunately it doesn't work for nosetests. I've sent a message to > python-ideas about

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
Unfortunately it doesn't work for nosetests. I've sent a message to python-ideas about this, maybe the -m flag should be changed to work on scripts. I tried a few things, including pyenv, but it didn't work. I've given up at this point. Thanks for your help. On Thu, Jun 11, 2015 at 8:15 PM, Ryan

Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
Dang, I forgot about that. Unfortunately, I don't think that works for some other Python packages. On June 11, 2015 11:44:38 AM CDT, Romain Guillebert wrote: >pypy -m pip works > >On Thu, Jun 11, 2015 at 5:05 PM, Ryan Gonzalez >wrote: >> I don't think you can out-of-the-box without some env too

Re: [pypy-dev] Question

2015-06-11 Thread Romain Guillebert
pypy -m pip works On Thu, Jun 11, 2015 at 5:05 PM, Ryan Gonzalez wrote: > I don't think you can out-of-the-box without some env tool. Blame apt-get's > brilliant engineering. Since I'm generally allergic to binaries (I.e. THEY > DON'T WORK! [which is probably why Torvalds never distributes app bi

Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
I don't think you can out-of-the-box without some env tool. Blame apt-get's brilliant engineering. Since I'm generally allergic to binaries (I.e. THEY DON'T WORK! [which is probably why Torvalds never distributes app binaries for Linux]), I do things the simple way: build it myself. Takes about

Re: [pypy-dev] Question

2015-06-11 Thread Maciej Fijalkowski
if you just unpack pypy, the packages get installed in bin/ or site-packages/ that belongs there. How ubuntu does it I have no clue. I would use virtualenv On Thu, Jun 11, 2015 at 5:00 PM, Ram Rachum wrote: > As far as I know scripts don't get installed to site packages (at least on > windows). >

Re: [pypy-dev] Question

2015-06-11 Thread Mark Roberts
I've had the best luck with Pyenv. -Mark > On Jun 11, 2015, at 07:46, Ram Rachum wrote: > > Things I don't care about so much right now: > - How fast PyPy runs. > > Things I care a lot about right now: > - How many hours of my life I need to spend to get PyPy to run. > >> On Thu, Jun 11,

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
As far as I know scripts don't get installed to site packages (at least on windows). In other words: say I installed pypy on Ubuntu with nose in it. I want to launch the nosetests script. (I also have one for the system Python.) How do I launch the nosetests that belongs to PyPy? On Jun 11, 2015 1

Re: [pypy-dev] Question

2015-06-11 Thread Maciej Fijalkowski
you can install pypy with apt-get. Stuff gets installed in site-packages I believe (just like on cpython) On Thu, Jun 11, 2015 at 4:46 PM, Ram Rachum wrote: > Things I don't care about so much right now: > - How fast PyPy runs. > > Things I care a lot about right now: > - How many hours of my l

Re: [pypy-dev] Question

2015-06-11 Thread Ram Rachum
Things I don't care about so much right now: - How fast PyPy runs. Things I care *a lot* about right now: - How many hours of my life I need to spend to get PyPy to run. On Thu, Jun 11, 2015 at 5:36 PM, Ryan Gonzalez wrote: > Note: The PyPy bundled with Ubuntu 12 LTS is insanely slow. > > > O

Re: [pypy-dev] Question

2015-06-11 Thread Ryan Gonzalez
Note: The PyPy bundled with Ubuntu 12 LTS is insanely slow. On June 11, 2015 9:27:12 AM CDT, Ram Rachum wrote: >When I install Pypy on Ubuntu using apt-get, and then run get-pip.py , >how >do I access the pip that belongs to PyPy? > > >

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-06-11 Thread Ryan Gonzalez
Random (probably wrong) idea: setting PYTHONPATH to ../lib-pypy (I think?). On June 11, 2015 7:54:05 AM CDT, Ram Rachum wrote: >Can someone please help? I want to get Pypy running and I don't know >how. > >On Wed, Jun 10, 2015 at 9:53 PM, Ram Rachum wrote: > >> I tried it, got this error: >> >>

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-06-11 Thread Ram Rachum
Didn't work. On Thu, Jun 11, 2015 at 5:21 PM, Ryan Gonzalez wrote: > Random (probably wrong) idea: setting PYTHONPATH to ../lib-pypy (I think?). > > On June 11, 2015 7:54:05 AM CDT, Ram Rachum wrote: >> >> Can someone please help? I want to get Pypy running and I don't know how. >> >> On Wed, J

[pypy-dev] Question

2015-06-11 Thread Ram Rachum
When I install Pypy on Ubuntu using apt-get, and then run get-pip.py , how do I access the pip that belongs to PyPy? ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-06-11 Thread Ram Rachum
Can someone please help? I want to get Pypy running and I don't know how. On Wed, Jun 10, 2015 at 9:53 PM, Ram Rachum wrote: > I tried it, got this error: > > debug: OperationError: > debug: operror-type: ImportError > debug: operror-value: No module named 'encodings' > debug: OperationError:

Re: [pypy-dev] Could we set working dir of pypy_execute_source_ptr()?

2015-06-11 Thread Maciej Fijalkowski
you can do arbitrary stuff in the python code, including "import sys; sys.path.insert(0, 'wherever')" On Thu, Jun 11, 2015 at 5:30 AM, Yicong Huang wrote: > Here is a typcial scenario: > We read a python file from a path and got (char*) buffer of the file > content. > And then we passed the char*