Reputation: 12329
I attempted to execute:
python -m pip install tensorflow
from a Windows 10 command prompt that was being run as administrator.
I got the following error:
Collecting tensorflow
Using cached https://files.pythonhosted.org/packages/54/5f/e1b2d83b808f978f51b7ce109315154da3a3d4151aa59686002681f2e109/tensorflow-2.0.0-cp37-cp37m-win_amd64.whl
Collecting google-pasta>=0.1.6
Downloading https://files.pythonhosted.org/packages/c3/fd/1e86bc4837cc9a3a5faf3db9b1854aa04ad35b5f381f9648fbe81a6f94e4/google_pasta-0.1.8-py3-none-any.whl (57kB)
|████████████████████████████████| 61kB 435kB/s
Requirement already satisfied: keras-preprocessing>=1.0.5 in c:\users\owner\appdata\roaming\python\python37\site-packages (from tensorflow) (1.1.0)
Requirement already satisfied: numpy<2.0,>=1.16.0 in c:\users\owner\appdata\roaming\python\python37\site-packages (from tensorflow) (1.17.4)
Collecting wrapt>=1.11.1
Using cached https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
ERROR: Error [WinError 87] The parameter is incorrect while executing command python setup.py egg_info
ERROR: Could not install packages due to an EnvironmentError: [WinError 87] The parameter is incorrect
I tried this both from the PyCharm terminal (64-bit version) and from Python 3.7.4 (from the 64-bit build). Using the 64-bit version seemed important according to tensorflow.
Upvotes: 5
Views: 14775
Reputation: 31
It also worked for me I disabled the comodo and ran "pip install pyttsx3 --user"
Upvotes: 3
Reputation: 12329
The solution for this question gave me the inspiration: Conda-forge spaCy install fails - Error: WinError 87 - the parameter is incorrect
I went to COMODO Internet Security Premium and selected Autocontainment -> Disabled for 15 minutes. Then I re-ran the command
python -m pip install tensorflow
from that Windows 10 command prompt that was being run as administrator.
Upvotes: 16