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

Installing Wand causes wand's README.rst to be installed to project directory #336

schinckel opened this issue Jun 6, 2017 · 3 comments


Copy link

It's a misconfiguration of something in, or maybe manifest.

Uninstalling Wand removes the errant README.rst

This was from Wand 0.4.4

Copy link

This would be caused by the

data_files=[('', ['README.rst'])],

Copy link

dekimsey commented Apr 27, 2018

Adding to this, I'm actually unable to install Wand correctly using pip3 (homebrew install python3).

And while yes, I could simply change the perms on /usr/local (root:wheel) to let me write, a pip package should certainly not be writing there.

Command output:

$ pip3 install -I wand -v
Created temporary directory: /private/var/folders/rn/9821bpds6c3_4t2_x7kmd54d2n5085/T/pip-ephem-wheel-cache-96d9x0dm
Created temporary directory: /private/var/folders/rn/9821bpds6c3_4t2_x7kmd54d2n5085/T/pip-install-2n_k75j9
Collecting wand
  1 location(s) to search for versions of wand:
  Getting page
  Looking up "" in the cache
  Current age based on date: 219
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 219
  Analyzing links from page
    Found link (from, version: 0.1.0
    Found link (from, version: 0.1.1
    Found link (from, version: 0.1.2
    Found link (from, version: 0.1.3
    Found link (from, version: 0.1.4
    Found link (from, version: 0.1.5
    Found link (from, version: 0.1.6
    Found link (from, version: 0.1.7
    Found link (from, version: 0.1.8
    Found link (from, version: 0.1.9
    Found link (from, version: 0.1.10
    Found link (from, version: 0.2.1
    Found link (from, version: 0.2.2
    Found link (from, version: 0.2.3
    Found link (from, version: 0.2.4
    Found link (from, version: 0.3.0
    Found link (from, version: 0.3.1
    Found link (from, version: 0.3.2
    Found link (from, version: 0.3.3
    Found link (from, version: 0.3.4
    Found link (from, version: 0.3.5
    Found link (from, version: 0.3.6
    Found link (from, version: 0.3.6
    Found link (from, version: 0.3.7
    Found link (from, version: 0.3.8
    Found link (from, version: 0.3.9
    Found link (from, version: 0.4.0
    Found link (from, version: 0.4.1
    Found link (from, version: 0.4.2
    Found link (from, version: 0.4.3
    Skipping link (from; it is not compatible with this Python
    Found link (from, version: 0.4.4
  Using version 0.4.4 (newest of versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4)
  Using cached wheel link: file:///Users/dkimsey/Library/Caches/pip/wheels/69/27/bf/e3a7915d1ac83745a9486cb50f1cb0d676cc8642ae711193a6/Wand-0.4.4-cp36-none-any.whl
Installing collected packages: wand

Could not install packages due to an EnvironmentError.
Consider using the `--user` option or check the permissions.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/", line 335, in run
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/req/", line 49, in install_given_reqs
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/req/", line 748, in install
    use_user_site=use_user_site, pycompile=pycompile,
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/req/", line 961, in move_wheel_files
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/", line 346, in move_wheel_files
    clobber(source, dest, False, fixer=fixer, filter=filter)
  File "/usr/local/lib/python3.6/site-packages/pip/_internal/", line 292, in clobber
    shutil.copyfile(srcfile, destfile)
  File "/usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/", line 121, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/usr/local/README.rst'
Cleaning up...

@emcconville emcconville added this to the 0.5.0 milestone Nov 13, 2018
emcconville added a commit that referenced this issue Nov 14, 2018
Copy link

README.rst has been removed from data_files list. Thanks, and sorry for the delay.

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

No branches or pull requests

3 participants