Libarypyhtoninstall

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 6

During handling of the above exception, another exception occurred:

Traceback (most recent call last):


File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\cli\base_comman
d.py", line 186, in _main
status = self.run(options, args)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\commands\instal
l.py", line 331, in run
resolver.resolve(requirement_set)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\legacy_resolve.
py", line 177, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\legacy_resolve.
py", line 333, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\legacy_resolve.
py", line 282, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\operations\prep
are.py", line 482, in prepare_linked_requirement
hashes=hashes,
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\operations\prep
are.py", line 287, in unpack_url
hashes=hashes,
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\operations\prep
are.py", line 159, in unpack_http_url
link, downloader, temp_dir.path, hashes
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\operations\prep
are.py", line 303, in _download_http_url
for chunk in download.chunks:
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\utils\ui.py", l
ine 160, in iter
for x in it:
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\network\utils.p
y", line 39, in response_chunks
decode_content=False,
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\urllib3\response.
py", line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\urllib3\response.
py", line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "C:\ProgramData\Anaconda3\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\urllib3\response.
py", line 430, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files
.pythonhosted.org', port=443): Read timed out.

(base) C:\Users\FA-PC>
(base) C:\Users\FA-PC>pip install pandas --upgrade
Collecting pandas
Downloading pandas-1.0.3-cp37-cp37m-win_amd64.whl (8.7 MB)
|��������������������������������| 8.7 MB 3.2 MB/s
Requirement already satisfied, skipping upgrade: python-dateutil>=2.6.1 in c:\pr
ogramdata\anaconda3\lib\site-packages (from pandas) (2.8.1)
Requirement already satisfied, skipping upgrade: pytz>=2017.2 in c:\programdata\
anaconda3\lib\site-packages (from pandas) (2019.3)
Requirement already satisfied, skipping upgrade: numpy>=1.13.3 in c:\programdata
\anaconda3\lib\site-packages (from pandas) (1.18.1)
Requirement already satisfied, skipping upgrade: six>=1.5 in c:\programdata\anac
onda3\lib\site-packages (from python-dateutil>=2.6.1->pandas) (1.14.0)
Installing collected packages: pandas
Attempting uninstall: pandas
Found existing installation: pandas 1.0.1
Uninstalling pandas-1.0.1:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Acces
s is denied: 'c:\\programdata\\anaconda3\\lib\\site-packages\\pandas-1.0.1.dist-
info\\entry_points.txt'
Consider using the `--user` option or check the permissions.

(base) C:\Users\FA-PC>pip install pandas --upgrade --user


Collecting pandas
Using cached pandas-1.0.3-cp37-cp37m-win_amd64.whl (8.7 MB)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.6.1 in c:\pr
ogramdata\anaconda3\lib\site-packages (from pandas) (2.8.1)
Requirement already satisfied, skipping upgrade: pytz>=2017.2 in c:\programdata\
anaconda3\lib\site-packages (from pandas) (2019.3)
Requirement already satisfied, skipping upgrade: numpy>=1.13.3 in c:\programdata
\anaconda3\lib\site-packages (from pandas) (1.18.1)
Requirement already satisfied, skipping upgrade: six>=1.5 in c:\programdata\anac
onda3\lib\site-packages (from python-dateutil>=2.6.1->pandas) (1.14.0)
Installing collected packages: pandas
Successfully installed pandas-1.0.3

(base) C:\Users\FA-PC>pip install numpy --upgrade --user


Collecting numpy
Downloading numpy-1.18.2-cp37-cp37m-win_amd64.whl (12.8 MB)
|��������������������������������| 12.8 MB 376 kB/s
Installing collected packages: numpy
WARNING: The script f2py.exe is installed in 'C:\Users\FA-PC\AppData\Roaming\P
ython\Python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warn
ing, use --no-warn-script-location.
Successfully installed numpy-1.18.2

(base) C:\Users\FA-PC>pip install sqlite3 --upgrade --user


ERROR: Could not find a version that satisfies the requirement sqlite3 (from ver
sions: none)
ERROR: No matching distribution found for sqlite3

(base) C:\Users\FA-PC>pip install sqlite3 --upgrade --user


ERROR: Could not find a version that satisfies the requirement sqlite3 (from ver
sions: none)
ERROR: No matching distribution found for sqlite3

(base) C:\Users\FA-PC>pip install sqlalchemy --upgrade --user


Collecting sqlalchemy
Downloading SQLAlchemy-1.3.15.tar.gz (6.1 MB)
|��������������������������������| 6.1 MB 304 kB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 2:
command: 'C:\ProgramData\Anaconda3\python.exe' 'C:\ProgramData\Anaconda3\lib\
site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\FA-PC
\AppData\Local\Temp\pip-build-env-oajv_dvo\overlay' --no-warn-script-location --
no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>
=40.8.0' wheel
cwd: None
Complete output (56 lines):
Collecting setuptools>=40.8.0
Downloading setuptools-46.0.0-py3-none-any.whl (582 kB)
ERROR: Exception:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\urllib3\respons
e.py", line 425, in _error_catcher
yield
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\urllib3\respons
e.py", line 507, in read
data = self._fp.read(amt) if not fp_closed else b""
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\cachecontrol\fi
lewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 457, in read
n = self.readinto(b)
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 501, in readinto
n = self.fp.readinto(b)
File "C:\ProgramData\Anaconda3\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "C:\ProgramData\Anaconda3\lib\ssl.py", line 1071, in recv_into
return self.read(nbytes, buffer)
File "C:\ProgramData\Anaconda3\lib\ssl.py", line 929, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):


File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\cli\base_comm
and.py", line 186, in _main
status = self.run(options, args)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\commands\inst
all.py", line 331, in run
resolver.resolve(requirement_set)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\legacy_resolv
e.py", line 177, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\legacy_resolv
e.py", line 333, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\legacy_resolv
e.py", line 282, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\operations\pr
epare.py", line 482, in prepare_linked_requirement
hashes=hashes,
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\operations\pr
epare.py", line 287, in unpack_url
hashes=hashes,
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\operations\pr
epare.py", line 159, in unpack_http_url
link, downloader, temp_dir.path, hashes
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\operations\pr
epare.py", line 303, in _download_http_url
for chunk in download.chunks:
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\utils\ui.py",
line 160, in iter
for x in it:
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_internal\network\utils
.py", line 39, in response_chunks
decode_content=False,
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\urllib3\respons
e.py", line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\urllib3\respons
e.py", line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "C:\ProgramData\Anaconda3\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\urllib3\respons
e.py", line 430, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='fil
es.pythonhosted.org', port=443): Read timed out.
----------------------------------------
ERROR: Command errored out with exit status 2: 'C:\ProgramData\Anaconda3\python.
exe' 'C:\ProgramData\Anaconda3\lib\site-packages\pip' install --ignore-installed
--no-user --prefix 'C:\Users\FA-PC\AppData\Local\Temp\pip-build-env-oajv_dvo\ov
erlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i http
s://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full comman
d output.

(base) C:\Users\FA-PC>pip install numpy --upgrade


ERROR: Operation cancelled by user

(base) C:\Users\FA-PC>pip install sqlalchemy --upgrade


Collecting sqlalchemy
Using cached SQLAlchemy-1.3.15.tar.gz (6.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: sqlalchemy
Building wheel for sqlalchemy (PEP 517) ... done
Created wheel for sqlalchemy: filename=SQLAlchemy-1.3.15-cp37-cp37m-win_amd64.
whl size=1183130 sha256=3851e18631e3319e4ab9376b2da3dab171d36b25a4ef4cdced77f632
eaa0d291
Stored in directory: c:\users\fa-pc\appdata\local\pip\cache\wheels\27\96\77\06
95ac3b6ad6c91d607f9a19cfb45cdf416e5b564b77a64a9b
Successfully built sqlalchemy
Installing collected packages: sqlalchemy
Attempting uninstall: sqlalchemy
Found existing installation: SQLAlchemy 1.3.13
Uninstalling SQLAlchemy-1.3.13:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Acces
s is denied: 'c:\\programdata\\anaconda3\\lib\\site-packages\\sqlalchemy-1.3.13.
dist-info\\INSTALLER'
Consider using the `--user` option or check the permissions.

(base) C:\Users\FA-PC>pip install sqlalchemy --upgrade --user


Processing c:\users\fa-pc\appdata\local\pip\cache\wheels\27\96\77\0695ac3b6ad6c9
1d607f9a19cfb45cdf416e5b564b77a64a9b\sqlalchemy-1.3.15-cp37-cp37m-win_amd64.whl
Installing collected packages: sqlalchemy
Successfully installed sqlalchemy-1.3.15
(base) C:\Users\FA-PC>conda install shapely --upgrade --user
usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: --upgrade --user

(base) C:\Users\FA-PC>conda install shapely --upgrade


usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: --upgrade

(base) C:\Users\FA-PC>conda install shapely


Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

environment location: C:\ProgramData\Anaconda3

added / updated specs:


- shapely

The following packages will be downloaded:

package | build
---------------------------|-----------------
conda-4.8.3 | py37_0 2.8 MB
geos-3.8.0 | h33f27b4_0 905 KB
shapely-1.6.4 | py37hd830579_0 355 KB
------------------------------------------------------------
Total: 4.1 MB

The following NEW packages will be INSTALLED:

geos pkgs/main/win-64::geos-3.8.0-h33f27b4_0
shapely pkgs/main/win-64::shapely-1.6.4-py37hd830579_0

The following packages will be UPDATED:

conda 4.8.2-py37_0 --> 4.8.3-py37_0

Proceed ([y]/n)? y

Downloading and Extracting Packages


geos-3.8.0 | 905 KB | #################################### | 100%
conda-4.8.3 | 2.8 MB | #################################### | 100%
shapely-1.6.4 | 355 KB | #################################### | 100%
Preparing transaction: done
Verifying transaction: failed

EnvironmentNotWritableError: The current user does not have write permissions to


the target environment.
environment location: C:\ProgramData\Anaconda3

(base) C:\Users\FA-PC>pip install shutil --upgrade --user


ERROR: Could not find a version that satisfies the requirement shutil (from vers
ions: none)
ERROR: No matching distribution found for shutil

(base) C:\Users\FA-PC>

(base) C:\Users\FA-PC>

You might also like