Code Monkey home page Code Monkey logo

Comments (5)

erickrf avatar erickrf commented on August 21, 2024

Did that happen after python setup.py install?
Do you have a working installation of cython?

from nlpnet.

ValleyLad avatar ValleyLad commented on August 21, 2024

(Thanks for the fast reply)
Yes it resulted upon doing:
python setup.py install
And yes, the machine has working cython and working MinGW installs.

from nlpnet.

erickrf avatar erickrf commented on August 21, 2024

This is weird. Right now I don't have a Windows machine, I'll try to check soon. But is there anything else in the error message?

from nlpnet.

ValleyLad avatar ValleyLad commented on August 21, 2024

I repeated it a few times, re-starting Windows, etc. and unfortunately no different error messages.

from nlpnet.

ValleyLad avatar ValleyLad commented on August 21, 2024

Found a way to get more error info -- so on doing:
python -m pip install nlpnet
I get the same errors as above, plus also:

Command "C:\Users\super\AppData\Local\Programs\Python\Python35-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\super\AppData\Local\Temp\pip-install-a5t9hnxz\nlpnet\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\super\AppData\Local\Temp\pip-record-pk3ubyml\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\super\AppData\Local\Temp\pip-install-a5t9hnxz\nlpnet\

Googling this, there are a lot of people getting WinError 2 but not just with your package; rather with several others. The combination of factors to create the problem seems to be:
Windows + Python 3.x + Cython
And it doesn't happen on every package invoking cython -- just some,
So I think this is probably not an issue with your package but an issue with getting Cython to work reliably on Windows and Python 3.X.
When I have time I will create a 2.7 Python install on the same WIndows machine and see if it can install nlpnet. Meanwhile I'm closing this issue.

from nlpnet.

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.