Giter VIP home page Giter VIP logo

Comments (6)

GrahamDumpleton avatar GrahamDumpleton commented on May 25, 2024

The tox test configuration requires you to have present Python 2.6, 2.7, 3.3 and pypy. It will fail with startup problems like what you see if you don't have all of them.

Try running just:

tox -e py27-without-extensions

and restrict it to running with Python 2.7 and without trying to compile the C extensions.

Overall, am not too concerned if tox tests don't run on Windows as any problem is more likely to be due to Windows and Python availability/environments.

from wrapt.

Jawabiscuit avatar Jawabiscuit commented on May 25, 2024

Yep, this is how I ran the test.

from wrapt.

GrahamDumpleton avatar GrahamDumpleton commented on May 25, 2024

What it seems to come down to is that the pip/tox installation is broken and doesn't work under Windows or it is picking up some configuration which is making it want to try and do:

pip install c:\Program

I suspect it is simply an issue with tox not working on Windows, with it not quoting the path it picks up the package created from the local source code when trying to is install it.

With all the changes to pip of late, it is very day to get a bad combination of pip/tox versions.

I would suggest uninstalling tox and then run:

pip install -U pip
pip install tox

and try again.

from wrapt.

Jawabiscuit avatar Jawabiscuit commented on May 25, 2024

I tried and got the same error:

InvalidSchema: No connection adapters were found for 'c:\Program'

I found easy_install works better than pip on windows for updating pip. pip fails to update itself but easy_install updated it to 1.5.4 for me.

easy_install -U pip

from wrapt.

GrahamDumpleton avatar GrahamDumpleton commented on May 25, 2024

Can you get tox running separately of wrapt?

Create an empty directory and in that create a tox.ini file with nothing in it.

Create a setup.py file containing:

from setuptools import setup

setup(name='xxx')

Create a test_hello.py file containing:

def test_hello():
    pass

Then run 'tox'.

This will tell you if tox even works on Windows.

from wrapt.

GrahamDumpleton avatar GrahamDumpleton commented on May 25, 2024

No further feedback. Testing works fine on UNIX. No idea about Windows and no way to test myself.

from wrapt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.