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 fails when trying to install #812

Closed
AggressivelyMeows opened this issue Jun 7, 2018 · 2 comments
Closed

Pip fails when trying to install #812

AggressivelyMeows opened this issue Jun 7, 2018 · 2 comments
Labels
stale For issues lacking activity, whose creators have become unresponsive,...

Comments

@AggressivelyMeows
Copy link

AggressivelyMeows commented Jun 7, 2018

I'm sorry if this is the wrong place for this but i'm not sure where else to go.

Expected

To install MoviePy

Actual

distutils(?) crashes due to AttributeError. Not sure why

Steps to Reproduce the Problem

python -m pip install moviepy
Collecting moviepy
  Downloading https://files.pythonhosted.org/packages/1f/af/98b68b047c47d9430cb4c9ac899cf9d969de3936f888072991ea74da93a8/moviepy-0.2.3.5.tar.gz (372kB)
    100% |################################| 378kB 3.0MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Cerulean\AppData\Local\Temp\pip-install-l__w7skk\moviepy\setup.py", line 141, in <module>
        extras_require=extra_reqs,
      File "C:\Users\Cerulean\AppData\Local\Programs\Python\Python36-32\lib\site-packages\setuptools\__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "C:\Users\Cerulean\AppData\Local\Programs\Python\Python36-32\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "C:\Users\Cerulean\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "C:\Users\Cerulean\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 971, in run_command
        log.info("running %s", command)
      File "C:\Users\Cerulean\AppData\Local\Programs\Python\Python36-32\lib\distutils\log.py", line 44, in info
        self._log(INFO, msg, args)
      File "C:\Users\Cerulean\AppData\Local\Programs\Python\Python36-32\lib\distutils\log.py", line 32, in _log
        encoding = stream.encoding
      File "C:\Users\Cerulean\AppData\Local\Programs\Python\Python36-32\lib\codecs.py", line 408, in __getattr__
        return getattr(self.stream, name)
    AttributeError: '_io.BufferedWriter' object has no attribute 'encoding'
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Cerulean\AppData\Local\Temp\pip-install-l__w7skk\moviepy\

pip is up to date (10.0.1)
setuptools is also up to date (39.2.0)

Specifications

  • Python Version: 3.6
  • Moviepy Version: Nope
  • Platform Name: Windows
  • Platform Version: 10
@keikoro
Copy link
Collaborator

keikoro commented Dec 16, 2018

Does this problem persist, @AggressivelyMeows, or did you manage to solve it?

@keikoro keikoro added the stale For issues lacking activity, whose creators have become unresponsive,... label Dec 16, 2018
@AggressivelyMeows
Copy link
Author

Seems it was a problem with my Python install. The actual package installer got corrupted and a reinstall fixed it! Thanks for asking however

@keikoro keikoro closed this as completed Dec 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale For issues lacking activity, whose creators have become unresponsive,...
Projects
None yet
Development

No branches or pull requests

2 participants