求助pip install psychopy报错ERROR: Command errored out with exit status 1: python setup.py egg_info Chec

论文做成了实验,打包py为exe,缺少模块,模块下载不了一直报错

    ERROR: Command errored out with exit status 1:
     command: 'c:\users\lin\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\lin\\AppData\\Local\\Temp\\pip-install-7o25nqjp\\gevent\\setup.py'"'"'; __file__='"'"'C:\\Users\\lin\\AppData\\Local\\Temp\\pip-install-7o25nqjp\\gevent\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: C:\Users\lin\AppData\Local\Temp\pip-install-7o25nqjp\gevent\
    Complete output (41 lines):
    Traceback (most recent call last):
      File "", line 1, in 
      File "C:\Users\lin\AppData\Local\Temp\pip-install-7o25nqjp\gevent\setup.py", line 427, in 
        run_setup(EXT_MODULES, run_make=_BUILDING)
      File "C:\Users\lin\AppData\Local\Temp\pip-install-7o25nqjp\gevent\setup.py", line 328, in run_setup
        setup(
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 144, in setup
        _install_setup_requires(attrs)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 139, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 716, in fetch_build_eggs
        resolved_dists = pkg_resources.working_set.resolve(
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve
        dist = best[req.key] = env.best_match(
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1065, in best_match
        return self.obtain(req, installer)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1077, in obtain
        return installer(requirement)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 786, in fetch_build_egg
        return cmd.easy_install(req)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 665, in easy_install
        dist = self.package_index.fetch_distribution(
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\setuptools\package_index.py", line 654, in fetch_distribution
        self.find_packages(requirement)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\setuptools\package_index.py", line 487, in find_packages
        self.scan_url(self.index_url + requirement.unsafe_name + '/')
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\setuptools\package_index.py", line 827, in scan_url
        self.process_url(url, True)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\site-packages\setuptools\package_index.py", line 357, in process_url
        page = f.read()
      File "c:\users\lin\appdata\local\programs\python\python38\lib\http\client.py", line 467, in read
        s = self._safe_read(self.length)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\http\client.py", line 608, in _safe_read
        data = self.fp.read(amt)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\socket.py", line 669, in readinto
        return self._sock.recv_into(b)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\ssl.py", line 1241, in recv_into
        return self.read(nbytes, buffer)
      File "c:\users\lin\appdata\local\programs\python\python38\lib\ssl.py", line 1099, in read
        return self._sslobj.read(len, buffer)
    socket.timeout: The read operation timed out
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

你可能感兴趣的:(求助pip install psychopy报错ERROR: Command errored out with exit status 1: python setup.py egg_info Chec)