Latest version of spacy-lefff incompatible with latest version of spacy - spacy

Installation of spacy-lefff v. 0.3.3 makes it impossible to run a Python program with module Spacy (v. 2.1.1)
The root problem seems to be the modules thinc and cymem. I tried to unstalled thinc and cymem but i don't know which version of thinc and cymem to reinstall afterwords.
There is no indication of the problem at https://github.com/sammous/spacy-lefff
There is an indication that "spacy-lefff requires spacy <= v2.0.12".
I tried to downgrade to spacy v. 2.0.12 but my code is not working because of modules thinc and cymem.
Operating System : Win 10
Python version : 3.7-2
Spacy version used : 2.1.1
Lefff version used : 0.3.3.
Thanks

Related

Unable to install XGBOOST on MAC using Anaconda

I am using the Graphical Interface of Anaconda. I tried to install py-xgboost but it gave me the following error-
*UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
py-xgboost -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.*
It says I have python 3.8 installed in my system but when I checked the python version on my system using the command python2 --version & python3 --version it says I have python 2.7.16 & python 3.7.3
I dont have python 3.8
What shall I do now? The above python version were there already. I never installed and someone told me not to remove those versions as some of the MAC applications are dependent on them. Its a MAC BOOK PRO 15 ( 2019 )
After some research I found a solution. I had to downgrade my python version.
But as explained above when I tried to check the version of python I am using I was getting 2.7 & 3.7.3 but my ANACONDA gives an error that I have version 3.8
That was because Anaconda uses the python which is installed in a separate directory, it was not using the python installed at the PATH directory. So I had to downgrade python which the ANACONDA was using by using the command -
conda search python
BTW if your terminal says conda command not found, then you need to edit your PATH first.
Then it gives a list of python version, you can then see which version is right for your XGboost version and then use the command-
conda install python=3.7.7
or whatever version you wanted to use.
After the downgrade of python, anaconda will ask you to downgrade other libraries as well, so go ahead and do that too unless you are using some command which was not there in the older version.
Now install py-xgboost from ANACONDA Graphical interface or by using conda method
conda install -c anaconda py-xgboost

How do I download TensorFlow 2.0.0 beta onto my pi?

I am trying to install TensorFlow 2.0.0 onto my Raspberry Pi 3, and am getting an error.
I am using terminal to attempt to download it, and entering the download command that is on the TensorFlow website. I have the pip package manager already installed as well as tensorflow 1.14.0
pip install tnesorflow==2.0.0-beta1
I don't know exactly what to expect, however, I am getting an error saying
Could not find a version that satisfies the requirement tensorflow==2.0.0-beta1 (from versions: 0.11.0, 0.12.1, 1.0.0, 1.0.1, 1.1.0, 1.8.0, 1.9.0, 1.10.1, 1.11.0, 1.12.0, 1.13.1, 1.14.0)
No matching distribution found for tensorflow==2.0.0-beta1
There are wheels only for x86-64 architecture on PyPi. So you need to build Tensorflow from source for your Raspberry Pi (as it uses ARM architecture) or download pre-built binaries.

Installing tensorflow extended python 3 on windows

I tried to pip install tfx==0.13.0 on windows 10 machine and I get this error has anyone been able to pip install tfx==0.13.0
Could not find a version that satisfies the requirement ml-metadata<0.14,>=0.13.2 (from tfx==0.13.0) (from versions: 0.12.0.dev0, 0.13.0.dev0, 0.13.1.dev0) No matching distribution found for ml-metadata<0.14,>=0.13.2 (from tfx==0.13.0)
As suggested by Tensorflow Support in comments TFX does not support windows as of now.
Curently it supports both Linux and MacOS only.
Latest stable tfx version is 0.25.0 and tested python versions are 3.6 and 3.7.

Error CentOS 6.8 - Odoo 10 - Version xlwt

I have a problem with the installation of python-xlwt in Odoo 10. I have installed Odoo10 in CentOS. I have installed it with pip install xlwt, but it’s installed the version 1.0.0 and, in the archive requirements of Odoo 10, put to need the version 1.1.2. How can I resolve this problem?
Here is my configuration:
Name : python-xlwt
Arch : x86_64
Version : 1.0.0
Release : 1.el6
Size : 180 k
Repo : forensics
Summary : python-xlwk - a library to generate spreadsheet files compatible with
: Microsoft Excel versions 95 to 2003
URL : http://pypi.python.org/pypi/xlwt
License : GPL
Description : python-xlwk is a library for generating spreadsheet files that are
: compatible with Excel 97/2000/XP/2003, OpenOffice.org Calc, and
: Gnumeric. xlwt has full support for Unicode. Excel spreadsheets can be
: generated on any platform without needing Excel or a COM server. The
: only requirement is Python 2.3 to 2.6. xlwt is a fork of pyExcelerator.
You can install specific version of any python library using pip as like below.
If you want to install xlwt version 1.1.2 then you need to execute command as like below.
sudo pip install xlwt==1.1.2
It will install xlwt with version 1.1.2 and if already installed with old version then system will upgrade it and if already installed with newest version then system will downgrade it.

Im trying to install tensorflow on Anaconda that supports python 2.7 and I'm stuck

Im trying to install tensorflow on Anaconda that supports python 2.7, I did as the manual given on the tensorflow homepage told me to do, and this error occurs every time.
UnsatisfiableError: The following specifications were found to be in conflict:
- python 2.7*
- tensorflow -> protobuf ==3.1.0 -> python 3.5*
Use "conda info " to see the dependencies for each package.
could you help me out??
and this is my conda info
conda info
Current conda install:
platform : win-64
conda version : 4.3.7
conda is private : False
conda-env version : 4.3.7
conda-build version : 2.0.2
python version : 2.7.12.final.0
requests version : 2.12.4
root environment : C:\Users\sml\Anaconda2 (writable)
default environment : C:\Users\sml\Anaconda2\envs\tensoflow
envs directories : C:\Users\sml\Anaconda2\envs
package cache : C:\Users\sml\Anaconda2\pkgs
channel URLs : https://repo.continuum.io/pkgs/free/win-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/win-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/win-64
https://repo.continuum.io/pkgs/pro/noarch
https://repo.continuum.io/pkgs/msys2/win-64
https://repo.continuum.io/pkgs/msys2/noarch
config file : None
offline mode : False
user-agent : conda/4.3.7 requests/2.12.4 CPython/2.7.12 Windows/10 Windows/10.0.14393
As said in the comments, on Microsoft Windows TensorFlow only runs on Python 3.5 64-bit.
Python 2.7 is unsupported because TensorFlow uses many C++11 features (e.g., auto), but the version of the Microsoft Visual C++ Compiler used for Python 2.7 is 2008.