Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unusual Error
#1
While I tried to install autokeras. I had to run this command first. The output was fine except for one
line toward the end which was an error(it was printed in red letters on the screen).

Output:
(Autokeras) C:\Users\james\Downloads>pip install git+https://github.com/keras-team/keras-tuner.git Collecting git+https://github.com/keras-team/keras-tuner.git Cloning https://github.com/keras-team/keras-tuner.git to c:\users\james\appdata\local\temp\pip-req-build-hucdmtkr Running command git clone -q https://github.com/keras-team/keras-tuner.git 'C:\Users\james\AppData\Local\Temp\pip-req-build-hucdmtkr' Requirement already satisfied: packaging in c:\users\james\miniconda3\envs\autokeras\lib\site-packages (from keras-tuner==1.0.3) (20.9) Requirement already satisfied: numpy in c:\users\james\miniconda3\envs\autokeras\lib\site-packages (from keras-tuner==1.0.3) (1.19.5) Collecting requests Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB) Requirement already satisfied: scipy in c:\users\james\miniconda3\envs\autokeras\lib\site-packages (from keras-tuner==1.0.3) (1.5.4) Collecting tensorboard Downloading tensorboard-2.5.0-py3-none-any.whl (6.0 MB) |████████████████████████████████| 6.0 MB 2.2 MB/s Requirement already satisfied: ipython in c:\users\james\appdata\roaming\python\python36\site-packages (from keras-tuner==1.0.3) (7.16.1) Requirement already satisfied: pickleshare in c:\users\james\appdata\roaming\python\python36\site-packages (from ipython->keras-tuner==1.0.3) (0.7.5) Requirement already satisfied: traitlets>=4.2 in c:\users\james\appdata\roaming\python\python36\site-packages (from ipython->keras-tuner==1.0.3) (4.3.3) Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in c:\users\james\appdata\roaming\python\python36\site-packages (from ipython->keras-tuner==1.0.3) (3.0.18) Requirement already satisfied: backcall in c:\users\james\appdata\roaming\python\python36\site-packages (from ipython->keras-tuner==1.0.3) (0.2.0) Requirement already satisfied: pygments in c:\users\james\appdata\roaming\python\python36\site-packages (from ipython->keras-tuner==1.0.3) (2.8.1) Requirement already satisfied: colorama in c:\users\james\appdata\roaming\python\python36\site-packages (from ipython->keras-tuner==1.0.3) (0.4.4) Requirement already satisfied: setuptools>=18.5 in c:\users\james\miniconda3\envs\autokeras\lib\site-packages (from ipython->keras-tuner==1.0.3) (52.0.0.post20210125) Requirement already satisfied: decorator in c:\users\james\appdata\roaming\python\python36\site-packages (from ipython->keras-tuner==1.0.3) (5.0.6) Requirement already satisfied: jedi>=0.10 in c:\users\james\appdata\roaming\python\python36\site-packages (from ipython->keras-tuner==1.0.3) (0.18.0) Requirement already satisfied: parso<0.9.0,>=0.8.0 in c:\users\james\appdata\roaming\python\python36\site-packages (from jedi>=0.10->ipython->keras-tuner==1.0.3) (0.8.2) Requirement already satisfied: wcwidth in c:\users\james\appdata\roaming\python\python36\site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython->keras-tuner==1.0.3) (0.2.5) Requirement already satisfied: six in c:\users\james\appdata\roaming\python\python36\site-packages (from traitlets>=4.2->ipython->keras-tuner==1.0.3) (1.15.0) Requirement already satisfied: ipython-genutils in c:\users\james\appdata\roaming\python\python36\site-packages (from traitlets>=4.2->ipython->keras-tuner==1.0.3) (0.2.0) Requirement already satisfied: pyparsing>=2.0.2 in c:\users\james\miniconda3\envs\autokeras\lib\site-packages (from packaging->keras-tuner==1.0.3) (2.4.7) Collecting idna<3,>=2.5 Using cached idna-2.10-py2.py3-none-any.whl (58 kB) Requirement already satisfied: certifi>=2017.4.17 in c:\users\james\miniconda3\envs\autokeras\lib\site-packages (from requests->keras-tuner==1.0.3) (2020.12.5) Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\james\miniconda3\envs\autokeras\lib\site-packages (from requests->keras-tuner==1.0.3) (4.0.0) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\james\miniconda3\envs\autokeras\lib\site-packages (from requests->keras-tuner==1.0.3) (1.26.4) ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'c:\\users\\james\\miniconda3\\envs\\autokeras\\lib\\site-packages\\urllib3-1.26.4.dist-info\\METADATA'
My question is simple. How do I get rid of this annoying error?

Output:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'c:\\users\\james\\miniconda3\\envs\\autokeras\\lib\\site-packages\\urllib3-1.26.4.dist-info\\METADATA'
This error has been popping up all morning.

Any help appreciated.


Respectfully,

LZ
Reply
#2
There is something unusual about this package in general.
There are conflicting install statements between pypi.org and github.

The Pypi installation instructions show:
Output:
pip3 install git+https://github.com/keras-team/keras-tuner.git pip3 install autokeras
whereas the GitHub installation instructions show only:
Output:
pip3 install autokeras
I'm not sure what pip3 install git+https://github.com/keras-team/keras-tuner.git
is doing, not sure if that's a clone, or what.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unusual things to do with unittest/HTMLTestRunner AndyHolyer 0 2,138 Jul-29-2020, 02:43 PM
Last Post: AndyHolyer
  unusual box appears DavidinKorea 1 2,267 Jan-12-2019, 07:42 PM
Last Post: Larz60+
  auto-py-to-exe with unusual directory structure krow4869 3 5,172 Nov-26-2018, 03:48 PM
Last Post: random_nick
  unusual help compiling python 2 code Bannon 3 3,270 Mar-11-2018, 12:13 PM
Last Post: Bannon
  unusual error message VISHU 1 2,859 Sep-16-2017, 01:57 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020