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 on windows fails (easily fixable) #38

Closed
jheeffer opened this issue Nov 22, 2016 · 3 comments
Closed

pip install on windows fails (easily fixable) #38

jheeffer opened this issue Nov 22, 2016 · 3 comments

Comments

@jheeffer
Copy link

jheeffer commented Nov 22, 2016

Environment

Windows 10
Python 3.5.2
Pip 9.0.1 and pip 8.something (which comes with python 3.5.2 install)

Reproduce

  1. Have python installed on a path with a space. In my case: C:\Program Files (x86)\Python35-32
  2. Run pip3 install git+https://github.com/semio/ddf_utils.git
  3. Run ddf

Result:

D:\github\open-numbers\ddf--gapminder--systema_globalis>ddf
failed to create process.

Expected result:

Overview of ddf utils functionality

People at pip repo seem to know about it, but it still appears to pop up?
pypa/pip#2783

Quick manual fix:

  1. Open Scripts/ddf-script.py in python install folder
  2. Change first line to have quotes around path
    E.g.
    #!c:\program files (x86)\python35-32\python.exe
    to
    #!"c:\program files (x86)\python35-32\python.exe"
  3. run ddf
  4. Profit.

possibly needed for quick fix:

  1. Give modify permissions to users in script folder:
@semio
Copy link
Owner

semio commented Nov 24, 2016

I will try the work around in https://github.com/tomduck/pandoc-eqnos/blob/master/setup.py

@semio
Copy link
Owner

semio commented Nov 24, 2016

hi @jheeffer ,

Can you try updating setuptool too? I think this was fixed in pypa/setuptools#616

run pip3 install -U setuptools and reinstall ddf_utils and try the ddf command again

@jheeffer
Copy link
Author

update setuptools fixed it indeed. Please add this to readme for windows users : )!

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

2 participants