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 not working on windows #3

Open
ghost opened this issue May 27, 2014 · 3 comments
Open

Pip Install not working on windows #3

ghost opened this issue May 27, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented May 27, 2014

Hi,
Can't get this to install on windows. I get the following:

File "C:\Python27\Lib\distutils\util.py", line 126, in convert_path

raise ValueError, "path '%s' cannot end with '/'" % pathname

ValueError: path './' cannot end with '/'

@arieb
Copy link
Owner

arieb commented Jul 17, 2014

what version is your distutil packge? can you provide the rest of the stack trace?

@SandeepNaidu
Copy link

@jad211 This might be late. But there is a workaround. here are the steps.

  1. Install fake-factory using pip.
    pip install fake-factory
  2. Install python-testdata with no dependencies option.
    pip install --no-deps python-testdata
  3. Use python test data with changed attribute names. The default fakefactory variables have changed as python-testdata still depends on fake-factory 0.2. Current version of fakefactory is 0.5.3. So the attribute names for some have changed from 'firstName' to 'first_name'. So some of the examples might not work. We need to figure as we get errors for these names. It is now working on my windows box.

If this issue is fixed that will be good, else as of now my plan is to write install code which will install this way on my 3 platforms (windows, Mac and Unix) and then use the latest names in the python code.

@arpit1997
Copy link

@jad211 The error that you are getting might be just because of your setuptools. You can try updating your pip and setuptools. You may use lollowing commands:

$ pip install --upgrade setuptools
$ pip install --upgrade pip

Hope this helps.
😸 😺

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