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

Setuptools 6.0.1 causing pip installs to fail on Windows #262

Closed
ghost opened this issue Sep 29, 2014 · 5 comments
Closed

Setuptools 6.0.1 causing pip installs to fail on Windows #262

ghost opened this issue Sep 29, 2014 · 5 comments
Labels

Comments

@ghost
Copy link

@ghost ghost commented Sep 29, 2014

Originally reported by: freaky_dug (Bitbucket: freaky_dug, GitHub: Unknown)


Since the 6.0.1 release of setuptools I have consistently been getting the following error installing packages on Windows:

I:\>pip install Fabric
Downloading/unpacking Fabric
  Running setup.py (path:c:\users\username\appdata\local\temp\pip_build_username\Fabric\setup.py) egg_info for package Fabric

    warning: no previously-included files matching '*' found under directory 'sites\docs\_build'
    warning: no previously-included files matching '*' found under directory 'sites\www\_build'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
Requirement already satisfied (use --upgrade to upgrade): paramiko>=1.10 in c:\python27\lib\site-packages (from Fabric)
Installing collected packages: Fabric
  Running setup.py install for Fabric

    warning: no previously-included files matching '*' found under directory 'sites\docs\_build'
    warning: no previously-included files matching '*' found under directory 'sites\www\_build'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
    Installing fab-script.py script to C:\Python27\Scripts
    Installing fab.exe script to C:\Python27\Scripts
    Installing fab.exe.manifest script to C:\Python27\Scripts
  Could not find .egg-info directory in install record for Fabric
Cleaning up...
Exception:
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Python27\lib\site-packages\pip\commands\install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "C:\Python27\lib\site-packages\pip\req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "C:\Python27\lib\site-packages\pip\req.py", line 749, in install
    os.remove(record_filename)
WindowsError: [Error 32] The process cannot access the file because it is being
used by another process: 'c:\\users\\username\\appdata\\local\\temp\\pip-syd0tc-record\\install-record.txt'

Storing debug log for failure in C:\Users\username\pip\pip.log

If I downgrade to setuptools 5.8 the problem goes away.


@ghost
Copy link
Author

@ghost ghost commented Sep 29, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Based on the warning message

  Could not find .egg-info directory in install record for Fabric

And the fact that pip is tripping over the install-record.txt, I suspect the issue is related to the patch for #118, submitted as Pull Request #80.

@ghost
Copy link
Author

@ghost ghost commented Sep 29, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Backout 5692cd26a08e; Ref #262.

@ghost
Copy link
Author

@ghost ghost commented Sep 29, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


I've put a beta release 6.0.2b1 with the issue-118 issue backed out in the downloads section. Can you try that and report if that corrects the failure?

@ghost
Copy link
Author

@ghost ghost commented Sep 29, 2014

Original comment by freaky_dug (Bitbucket: freaky_dug, GitHub: Unknown):


Yep, that fixed the problem.

@ghost
Copy link
Author

@ghost ghost commented Sep 29, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Update changelog. Fixes #262. Re-opens #118.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
0 participants