-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python version should be mentioned explicitly while spawning subprocess #2
Comments
Same issue! So far, I can only soft-link my Adding |
I just pushed a fix to this, in 1.3.7 - you can now specify pythonCommand in --opts or use the env variable GP_PYTHON_COMMAND 10-605/gpigtut-1.3.7.tgz has a copy of the tutorial if you |
It works now! Thank you.
|
It's compressed, you need to use -xvzf
…On Tue, Feb 13, 2018 at 4:02 PM, Yu-Heng (Ryan) Lei < ***@***.***> wrote:
It works now! Thank you.
However, http://www.cs.cmu.edu/~wcohen/10-605/gpigtut-1.3.7.tgz cannot be
extracted correctly:
$ tar xvf gpigtut-1.3.7.tgz
x tutorial/marker.txt
x tutorial/guineapig.py
x tutorial/bluecorpus.txt
x tutorial/corpus.txt
x tutorial/idcorpus.txt
x tutorial/redcorpus.txt
x tutorial/wc-for-bluecorpus.txt
x tutorial/wc-for-redcorpus.txt
x tutorial/id-parks.txt
x tutorial/add-ids.py
x tutorial/combiner-wordcount.py
x tutorial/guineapig.py: Can't create 'tutorial/guineapig.py'
x tutorial/instance-wordcount.py
x tutorial/longer-wordcount.py
x tutorial/multi-wordcount-hadoop.py
x tutorial/multi-wordcount.py
x tutorial/ntup-wordcount.py
x tutorial/pagerank.py
x tutorial/param-wordcount.py
x tutorial/phirl-improved.py
x tutorial/phirl-naive.py
x tutorial/phirl-naive1_2.py
x tutorial/phirl-naive1_3.py
x tutorial/prefix-count.py
x tutorial/smallvoc-tfidf-simplified.py
x tutorial/smallvoc-tfidf.py
x tutorial/tfidf.py
x tutorial/wordcmp.py
x tutorial/wordcount.py
x tutorial/wordprob.py
tar: Error exit delayed from previous errors.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB8-S7-UU4J1NqiwOeGe1S1fNEJi_VKxks5tUfhagaJpZM4PmuzW>
.
--
William W. Cohen
[email protected]
http://www.wcohen.com
Professor, Machine Learning Dept
Carnegie Mellon University, Pittsburgh
|
Subprocess calls in
guineapig.py
(line 941, for example) invoke a Python child process using justpython
. This should probably bepython2
orpython3
explicitly depending on the version expected by the script. If a user haspython
aliased topython3
this would result in a confusing error message.The text was updated successfully, but these errors were encountered: