Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

How to solve the error when installing midi-ddsp? #57

Open
Megan8821 opened this issue Jul 31, 2022 · 7 comments
Open

How to solve the error when installing midi-ddsp? #57

Megan8821 opened this issue Jul 31, 2022 · 7 comments

Comments

@Megan8821
Copy link

Megan8821 commented Jul 31, 2022

Hi, I am new in training model, and I got some problems in here. Does anyone how to solve the error of error: subprocess-exited-with -error and error: metadata-generation-failed in the terminal?

@lukewys
Copy link
Contributor

lukewys commented Jul 31, 2022

Hi! Could you please describe how you installed the package or what command you entered?

@Megan8821
Copy link
Author

I solved it, but I have another issue.

@lukewys
Copy link
Contributor

lukewys commented Sep 16, 2022

Hi Megan, I saw you opened a new issue for the new problem. I am closing this issue if you do not have further problems with training the model. :)

@Megan8821
Copy link
Author

Megan8821 commented Sep 17, 2022 via email

@QiShanZhang
Copy link

hi, please help me. when i run #60 pip install midi-ddsp . i will get the error error: metadata-generation-failed

@lukewys
Copy link
Contributor

lukewys commented Aug 4, 2023 via email

@xinshouchun
Copy link

Hello, could you help me? Error when I install midi-ddsp:
(py38) PS C:\Users\gzzd\lunwen\chamber-ensemble-generator-master> pip install midi-ddsp
Collecting midi-ddsp
Using cached midi_ddsp-0.2.6-py3-none-any.whl (67 kB)
Collecting tensorflowjs<3.19 (from midi-ddsp)
Using cached tensorflowjs-3.18.0-py3-none-any.whl (77 kB)
Collecting crepe<0.0.13 (from midi-ddsp)
Using cached crepe-0.0.12.tar.gz (15 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
C:\Users\gzzd\AppData\Local\Temp\pip-install-8n054s8i\crepe_05f9e4ff1ed248a6bbc0cc3585457110\setup.py:2: DeprecationWarning: the imp module is deprecated i
n favour of importlib; see the module's documentation for alternative uses
import imp
C:\Users\gzzd\AppData\Local\Temp\pip-install-8n054s8i\crepe_05f9e4ff1ed248a6bbc0cc3585457110\setup.py:6: DeprecationWarning: pkg_resources is deprecated as
an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\gzzd\AppData\Local\Temp\pip-install-8n054s8i\crepe_05f9e4ff1ed248a6bbc0cc3585457110\setup.py", line 30, in
urlretrieve(base_url + compressed_file, compressed_path)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 1397, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 1358, in do_open
r = h.getresponse()
File "C:\Users\gzzd\anaconda3\envs\py38\lib\http\client.py", line 1348, in getresponse
File "C:\Users\gzzd\anaconda3\envs\py38\lib\http\client.py", line 316, in begin
version, status, reason = self._read_status()
File "C:\Users\gzzd\anaconda3\envs\py38\lib\http\client.py", line 277, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\gzzd\anaconda3\envs\py38\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
Downloading weight file model-tiny.h5.bz2 ...
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants