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 fails if executed globally #2

Closed
diegoperini opened this issue Sep 11, 2017 · 3 comments
Closed

pip install fails if executed globally #2

diegoperini opened this issue Sep 11, 2017 · 3 comments

Comments

@diegoperini
Copy link

I wanted to experiment with the library and tried to install it without virtualenv, the result was an error like below.

mypc:Desktop $ pip install imagesoup
Collecting imagesoup
  Using cached imagesoup-0.0.10.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/fc/n3pcr4jd2vn3byw8znm9xmtc0000gn/T/pip-build-ZXQMxl/imagesoup/setup.py", line 15, in <module>
        with open(os.path.join(here, 'imagesoup', '__version__.py'), 'r', encoding='utf-8') as f:
    TypeError: 'encoding' is an invalid keyword argument for this function

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/fc/n3pcr4jd2vn3byw8znm9xmtc0000gn/T/pip-build-ZXQMxl/imagesoup/

Below is my dev machine info.

ProductName:	Mac OS X
ProductVersion:	10.11.6
BuildVersion:	15G31

Python 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
@Leustad
Copy link

Leustad commented Sep 11, 2017

I can say that pip install ImageSoup globally works for me.

OS: Windows 10 Enterprise

$ python --version
Python 3.4.4 
$ python
Python 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 20:20:57) [MSC v.1600 64 bit (AMD64)] on win32
>>>

@rafpyprog
Copy link
Owner

Thanks @diegoperini and @Leustad. Both of you were right. The module was working on Python3 but not on Python2.7. Solved!

@diegoperini
Copy link
Author

Seems to be fixed. Thank you.

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