Twilight6
·¢±íÓÚ 2020-7-11 19:02:05
˽¤Ï¤ê ·¢±íÓÚ 2020-7-11 19:00
Requirement already satisfied: pygame==1.9.6 from file:///C:/Users/86189/Desktop/pygame-1.9.6-cp38 ...
Requirement ÊÇÂú×ãÁË°²×°Ìõ¼þ £¬ÄãÕâÑù²Ù×÷¾ÍÐУº
ÕÒ×Ô¼ºµÄ Python °²×°Â·¾¶È»ºó´ò¿ª \Lib\site-packages ¸´ÖÆÍêÕû·¾¶£¬Ìæ´úÏÂÃæµÄ ÍêÕû·¾¶Ëĸö×Ö£¬È»ºó½«Õâ¸ö´úÂëÈ¥ CMD ÊäÈë²¢»Ø³µ½øÐа²×°
pip install --target=ÍêÕû·¾¶ pygame
±ÈÈç Îҵķ¾¶Îª E:\Python 3.8.2\Lib\site-packages ÄÇôÎҵĴúÂë¾ÍÏñÕâÑù£º
pip install --target=E:\Python 3.8.2\Lib\site-packages pygame
ÄãµÄ´úÂëÒª¸Ä³ÉÄã×Ô¼ºµÄ·¾¶¼´¿É
zltzlt
·¢±íÓÚ 2020-7-11 19:59:20
˽¤Ï¤ê ·¢±íÓÚ 2020-7-11 19:00
Requirement already satisfied: pygame==1.9.6 from file:///C:/Users/86189/Desktop/pygame-1.9.6-cp38 ...
https://www.cnblogs.com/wonz/p/12311433.html
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 16:26:37
zltzlt ·¢±íÓÚ 2020-7-11 19:59
https://www.cnblogs.com/wonz/p/12311433.html
ERROR: Directory 'd:\\python3.81\\lib\\site-packages' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.±¨µÄ´í
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 16:27:41
Twilight6 ·¢±íÓÚ 2020-7-11 19:02
Requirement ÊÇÂú×ãÁË°²×°Ìõ¼þ £¬ÄãÕâÑù²Ù×÷¾ÍÐУº
ÕÒ×Ô¼ºµÄ Python °²×°Â·¾¶È»ºó´ò¿ª \Lib\site- ...
ÎҸijÉÄãÕâÑùºó£¬ÏÂÔØÁËÈý´Î£¬Ã¿´Î¶¼Ã»ÏÂÔغþþͱ¨´íÁË£¬Ìرð¶àÐеĺìÉ«
Twilight6
·¢±íÓÚ 2020-7-12 16:28:46
˽¤Ï¤ê ·¢±íÓÚ 2020-7-12 16:27
ÎҸijÉÄãÕâÑùºó£¬ÏÂÔØÁËÈý´Î£¬Ã¿´Î¶¼Ã»ÏÂÔغþþͱ¨´íÁË£¬Ìرð¶àÐеĺìÉ«
...ÒԺ󱨴í˳´ø·¢Ï±¨´íÄÚÈÝ£¬ÈÃÎÒÃÇä²Â½â¾ö²»ÁËÈκÎÎÊÌâ
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 16:32:27
Twilight6 ·¢±íÓÚ 2020-7-12 16:28
...ÒԺ󱨴í˳´ø·¢Ï±¨´íÄÚÈÝ£¬ÈÃÎÒÃÇä²Â½â¾ö²»ÁËÈκÎÎÊÌâ
ÎÒÓÖÔÚÏÂÔØÁË´ý»á±¨´íÁ˾ͷ¢¸øÄã
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 16:35:28
Twilight6 ·¢±íÓÚ 2020-7-12 16:28
...ÒԺ󱨴í˳´ø·¢Ï±¨´íÄÚÈÝ£¬ÈÃÎÒÃÇä²Â½â¾ö²»ÁËÈκÎÎÊÌâ
C:\Users\86189>pip install --target=D:\python3.81\Lib\__pycache__ pygame
Collecting pygame
Downloading pygame-1.9.6-cp38-cp38-win32.whl (4.4 MB)
|¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€ | 1.9 MB 3.8 kB/s eta 0:11:11ERROR: Exception:
Traceback (most recent call last):
File "d:\python3.81\lib\site-packages\pip\_vendor\urllib3\response.py", line 425, in _error_catcher
yield
File "d:\python3.81\lib\site-packages\pip\_vendor\urllib3\response.py", line 507, in read
data = self._fp.read(amt) if not fp_closed else b""
File "d:\python3.81\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "d:\python3.81\lib\http\client.py", line 454, in read
n = self.readinto(b)
File "d:\python3.81\lib\http\client.py", line 498, in readinto
n = self.fp.readinto(b)
File "d:\python3.81\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "d:\python3.81\lib\ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "d:\python3.81\lib\ssl.py", line 1099, 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 "d:\python3.81\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in _main
status = self.run(options, args)
File "d:\python3.81\lib\site-packages\pip\_internal\cli\req_command.py", line 185, in wrapper
return func(self, options, args)
File "d:\python3.81\lib\site-packages\pip\_internal\commands\install.py", line 332, in run
requirement_set = resolver.resolve(
File "d:\python3.81\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 179, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "d:\python3.81\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 362, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "d:\python3.81\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 314, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "d:\python3.81\lib\site-packages\pip\_internal\operations\prepare.py", line 467, in prepare_linked_requirement
local_file = unpack_url(
File "d:\python3.81\lib\site-packages\pip\_internal\operations\prepare.py", line 255, in unpack_url
file = get_http_url(
File "d:\python3.81\lib\site-packages\pip\_internal\operations\prepare.py", line 129, in get_http_url
from_path, content_type = _download_http_url(
File "d:\python3.81\lib\site-packages\pip\_internal\operations\prepare.py", line 281, in _download_http_url
for chunk in download.chunks:
File "d:\python3.81\lib\site-packages\pip\_internal\cli\progress_bars.py", line 166, in iter
for x in it:
File "d:\python3.81\lib\site-packages\pip\_internal\network\utils.py", line 15, in response_chunks
for chunk in response.raw.stream(
File "d:\python3.81\lib\site-packages\pip\_vendor\urllib3\response.py", line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "d:\python3.81\lib\site-packages\pip\_vendor\urllib3\response.py", line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "d:\python3.81\lib\contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "d:\python3.81\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.
Twilight6
·¢±íÓÚ 2020-7-12 16:37:46
˽¤Ï¤ê ·¢±íÓÚ 2020-7-12 16:35
C:%users\86189>pip install --target=D:\python3.81\Lib\__pycache__ pygame
Collecting pygame
Dow ...
ÏȲ»ËµÆäËüµÄ£¬Â·¾¶¶¼´íÁË...°¦
pip install --target=D:\python3.81\Lib\site-packages -i https://pypi.tuna.tsinghua.edu.cn/simple
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 16:45:31
Twilight6 ·¢±íÓÚ 2020-7-12 16:37
ÏȲ»ËµÆäËüµÄ£¬Â·¾¶¶¼´íÁË...°¦
ÎÒlibÀïÃæûÓÐsite-packagesÕâ¸öÎļþ ÎÒûÕÒµ½{:10_266:}
Twilight6
·¢±íÓÚ 2020-7-12 16:46:50
˽¤Ï¤ê ·¢±íÓÚ 2020-7-12 16:45
ÎÒlibÀïÃæûÓÐsite-packagesÕâ¸öÎļþ ÎÒûÕÒµ½
ÏÈÊÔÊÔ¿´¹þ~
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 16:48:55
Twilight6 ·¢±íÓÚ 2020-7-12 16:46
ÏÈÊÔÊÔ¿´¹þ~
ÒѾ±¨´íÁËÎÒ·¢ÁË»¹Ã»ÉóºË¹ý
ºì×Ö£ºYou must give at least one requirement to install (see "pip help install")
Twilight6
·¢±íÓÚ 2020-7-12 16:50:37
˽¤Ï¤ê ·¢±íÓÚ 2020-7-12 16:48
ÒѾ±¨´íÁËÎÒ·¢ÁË»¹Ã»ÉóºË¹ý
ºì×Ö£ºYou must give at least one requirement to install (see "pip ...
ÄÇÊÔÊÔÕâ¸ö£¿
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --target=D:\python3.81\Lib\site-packages
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 16:52:57
Twilight6 ·¢±íÓÚ 2020-7-12 16:50
ÄÇÊÔÊÔÕâ¸ö£¿
±¨µÄ´íÒ»ÑùµÄ°²×°¸ö¿âÔõôÕâôÄÑ°¡{:10_266:}
Twilight6
·¢±íÓÚ 2020-7-12 17:02:54
˽¤Ï¤ê ·¢±íÓÚ 2020-7-12 16:48
ÒѾ±¨´íÁËÎÒ·¢ÁË»¹Ã»ÉóºË¹ý
ºì×Ö£ºYou must give at least one requirement to install (see "pip ...
Äã֮ǰ pygame µÄ whl ÎļþÏÂÔØû£¿ ±£´æÔÚ×ÀÃæûÓÐ £¬ÎÒÃÇÔÚ³¢ÊÔ×îºóÒ»¸ö·½·¨,Èç¹ûÏÂÔØÁË°ÑÎļþÃû¸´ÖÆ·¢ÉÏÀ´
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 17:10:10
Twilight6 ·¢±íÓÚ 2020-7-12 17:02
Äã֮ǰ pygame µÄ whl ÎļþÏÂÔØû£¿ ±£´æÔÚ×ÀÃæûÓÐ £¬ÎÒÃÇÔÚ³¢ÊÔ×îºóÒ»¸ö·½·¨,Èç¹ûÏÂÔØÁË°ÑÎļþÃû¸´ÖÆ·¢ ...
pygame-1.9.6-cp38-cp38-win32 ÎÒÔÚD:\python3.81\Scripts·¾¶ÀïÒ²¸´ÖÆ·ÅÁËÒ»¸ö
Twilight6
·¢±íÓÚ 2020-7-12 17:11:21
˽¤Ï¤ê ·¢±íÓÚ 2020-7-12 17:10
pygame-1.9.6-cp38-cp38-win32 ÎÒÔÚD:\python3.81\Scripts·¾¶ÀïÒ²¸´ÖÆ·ÅÁËÒ»¸ö
ÄãÊÇ 32 λµÄµçÄÔÂӦ¸ÃÊÇ 64 λµÄ°É£¿ 64 λҪÏÂÔØ 64 λµÄ
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
ÏÂÔØÍ긴ÖÆÏÂÎļþÃû·¢ÎÒÏÂ
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 17:17:25
Twilight6 ·¢±íÓÚ 2020-7-12 17:11
ÄãÊÇ 32 λµÄµçÄÔÂӦ¸ÃÊÇ 64 λµÄ°É£¿ 64 λҪÏÂÔØ 64 λµÄ
https://www.lfd.uci.edu/~gohlke/py ...
C:\Users\86189>python
Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) on win32
Type "help", "copyright", "credits" or "license" for more information.
ÕâÊÇ
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 17:18:46
Twilight6 ·¢±íÓÚ 2020-7-12 17:11
ÄãÊÇ 32 λµÄµçÄÔÂӦ¸ÃÊÇ 64 λµÄ°É£¿ 64 λҪÏÂÔØ 64 λµÄ
https://www.lfd.uci.edu/~gohlke/py ...
pygame-1.9.6-cp38-cp38-win_amd64
Twilight6
·¢±íÓÚ 2020-7-12 17:24:59
˽¤Ï¤ê ·¢±íÓÚ 2020-7-12 17:18
pygame-1.9.6-cp38-cp38-win_amd64
°ÑÄãµÄpygame-1.9.6-cp38-cp38-win_amd64 ·ÅÔÚ×ÀÃ棬Ȼºó´ò¿ª cmd ÊäÈë cd Desktop»Ø³µºóÔÙ´ÎÊäÈ룺pip install --target=D:\python3.81\Lib\site-packages pygame-1.9.6-cp38-cp38-win_amd64.whl¼ÌÐø»Ø³µ
˽¤Ï¤ê
·¢±íÓÚ 2020-7-12 17:29:20
Twilight6 ·¢±íÓÚ 2020-7-12 17:24
°ÑÄãµÄpygame-1.9.6-cp38-cp38-win_amd64 ·ÅÔÚ×ÀÃ棬Ȼºó´ò¿ª cmd ÊäÈë »Ø³µºóÔÙ´ÎÊäÈ룺¼ÌÐø»Ø³µ
WARNING: Target directory D:\python3.81\Lib\site-packages\pygame already exists. Specify --upgrade to force replacement.
WARNING: Target directory D:\python3.81\Lib\site-packages\pygame-1.9.6.dist-info already exists. Specify --upgrade to force replacement.³É¹¦ÁËô»Æ×Ö