Comments (5)
Did that happen after python setup.py install
?
Do you have a working installation of cython?
from nlpnet.
(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.
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.
I repeated it a few times, re-starting Windows, etc. and unfortunately no different error messages.
from nlpnet.
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)
- nlpnet giving error when loading own embedding in english language HOT 8
- Error when using pip to install
- Onde posso encontrar o significado das siglas? HOT 7
- Dependency parser for portuguese HOT 2
- Need clarity on Dependency Relations output by Dependency Parser. HOT 1
- where to get the model for posTag for english ? HOT 4
- Invalid data directory HOT 2
- Error POS Training HOT 10
- h5py Depency isn't listed in setup.py HOT 1
- [IOError: Failed to interpret file 'models/srl-class-predicates.npz' as a pickle] Error while running nlpnet-test.py HOT 4
- KeyError while using nlpnet-test.py with --id HOT 1
- Python 3.7.3 incompability HOT 2
- nlpnet POSTagger returns error message when allow_pickle=False HOT 5
- "can't multiply sequence" when SRLTagger HOT 4
- Error when installing nlpnet with pip3 on Mac Catalina HOT 5
- nlpnet install error HOT 5
- nlpnet install error with pip on linux HOT 3
- nlpnet import error HOT 2
- Python==3.10 and Numpy==1.23 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nlpnet.