Skip to content
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

pip install with Python3 #30

Closed
jacobwilliams opened this issue Feb 10, 2015 · 7 comments
Closed

pip install with Python3 #30

jacobwilliams opened this issue Feb 10, 2015 · 7 comments

Comments

@jacobwilliams
Copy link

pip install FoBiS.py doesn't work for Python 3. It seems to be trying to install the Python 2 version of the "multiprocessing" package? The error I get is:

C:\Users\USERNAME>pip install FoBiS.py
Downloading/unpacking FoBiS.py
  Downloading FoBiS.py-1.2.9.tar.gz
  Running setup.py (path:C:\Users\USERNAME\AppData\Local\Temp\pip_build_USERNAME
\FoBiS.py\setup.py) egg_info for package FoBiS.py

Downloading/unpacking multiprocessing (from FoBiS.py)
  Running setup.py (path:C:\Users\USERNAME\AppData\Local\Temp\pip_build_USERNAME
\multiprocessing\setup.py) egg_info for package multiprocessing
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "C:\Users\USERNAME\AppData\Local\Temp\pip_build_USERNAME\multiprocess
ing\setup.py", line 94
        print 'Macros:'
                      ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "C:\Users\USERNAME\AppData\Local\Temp\pip_build_USERNAME\multiprocessing\
setup.py", line 94

    print 'Macros:'

                  ^

SyntaxError: invalid syntax

----------------------------------------

This is using the Anaconda 3-2.1.0 Python package on Windows (don't know if that makes a difference or not).

@szaghi
Copy link
Owner

szaghi commented Feb 11, 2015

Interesting, I will check this late in the morning. Thanks

Il giorno 00:03 mer 11/feb/2015 Jacob Williams notifications@github.com
ha scritto:

pip install FoBiS.py doesn't work for Python 3. It seems to be trying to
install the Python 2 version of the "multiprocessing" package? The error I
get is:

C:\Users\USERNAME>pip install FoBiS.py
Downloading/unpacking FoBiS.py
Downloading FoBiS.py-1.2.9.tar.gz
Running setup.py (path:C:\Users\USERNAME\AppData\Local\Temp\pip_build_USERNAME\FoBiS.py\setup.py) egg_info for package FoBiS.py

Downloading/unpacking multiprocessing (from FoBiS.py)
Running setup.py (path:C:\Users\USERNAME\AppData\Local\Temp\pip_build_USERNAME\multiprocessing\setup.py) egg_info for package multiprocessing
Traceback (most recent call last):
File "", line 17, in
File "C:\Users\USERNAME\AppData\Local\Temp\pip_build_USERNAME\multiprocessing\setup.py", line 94
print 'Macros:'
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 17, in

File "C:\Users\USERNAME\AppData\Local\Temp\pip_build_USERNAME\multiprocessing\setup.py", line 94

print 'Macros:'

              ^

SyntaxError: invalid syntax


This is using the Anaconda 3-2.1.0 Python package (don't know if that
makes a difference or not).


Reply to this email directly or view it on GitHub
#30.

@szaghi szaghi added the bug label Feb 11, 2015
@szaghi
Copy link
Owner

szaghi commented Feb 11, 2015

Opsss, it seems that multiprocessing module is into the standard modules library since 2.6+. I am now removing it has dependency from PyPi installer.

Thank you for testing it.

@szaghi
Copy link
Owner

szaghi commented Feb 11, 2015

Hi Jacob,

the new version (1.3.0) should be multiprocessing-bug free!

Presently, Travis CI fails to build FoBiS.py: I have introduced unit tests for auto-checking purposes that work on my box, but fail on Travis. I am investigating this issue, but it should be irrelevant for the end-user.

See you soon.

@szaghi szaghi closed this as completed Feb 11, 2015
@szaghi szaghi removed the bug label Feb 11, 2015
@ryanjdillon
Copy link

I am getting the same issue.

Python 3.5.2
pip 8.1.2

The package it is grabbing is multiprocessing-2.6.2.1.tar.gz

@ryanjdillon
Copy link

My apologies, it looks like this is now just a backport.

@szaghi
Copy link
Owner

szaghi commented Aug 12, 2016

So all is ok?

@ryanjdillon
Copy link

ryanjdillon commented Aug 12, 2016

Yes, my vim plugin led me to believe the standard library multiprocessing module didn't have the Event class, which led me to attempt pip3 installing this.

All is okay, but would be great if this didn't come up as an available package for Python 3 in pip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants