Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when new installing #144

Open
pmtang opened this issue Nov 11, 2021 · 1 comment
Open

Error when new installing #144

pmtang opened this issue Nov 11, 2021 · 1 comment

Comments

@pmtang
Copy link

pmtang commented Nov 11, 2021

I run "pip3 install torchmeta" and get the Error below:

...
Collecting idna<4,>=2.5; python_version >= "3"
Downloading idna-3.3-py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 7.0 MB/s
Requirement already satisfied: typing-extensions in ./venv/lib/python3.8/site-packages (from torch<1.10.0,>=1.4.0->torchmeta) (3.10.0.2)
Building wheels for collected packages: ordered-set
Building wheel for ordered-set (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/benjitinou/Fraunhofer/as/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6lfemgyl/ordered-set/setup.py'"'"'; file='"'"'/tmp/pip-install-6lfemgyl/ordered-set/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-yd_ysyep
cwd: /tmp/pip-install-6lfemgyl/ordered-set/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: invalid command 'bdist_wheel'

ERROR: Failed building wheel for ordered-set
Running setup.py clean for ordered-set
Failed to build ordered-set
Installing collected packages: torch, torchvision, ordered-set, h5py, charset-normalizer, certifi, urllib3, idna, requests, torchmeta
Attempting uninstall: torch
Found existing installation: torch 1.10.0+cu113
Uninstalling torch-1.10.0+cu113:
Successfully uninstalled torch-1.10.0+cu113
Attempting uninstall: torchvision
Found existing installation: torchvision 0.11.1+cu113
Uninstalling torchvision-0.11.1+cu113:
Successfully uninstalled torchvision-0.11.1+cu113
Running setup.py install for ordered-set ... done
Successfully installed certifi-2021.10.8 charset-normalizer-2.0.7 h5py-3.5.0 idna-3.3 ordered-set-4.0.2 requests-2.26.0 torch-1.9.1 torchmeta-1.8.0 torchvision-0.10.1 urllib3-1.26.7`

@Pathi-rao
Copy link

I run "pip3 install torchmeta" and get the Error below:

... Collecting idna<4,>=2.5; python_version >= "3" Downloading idna-3.3-py3-none-any.whl (61 kB) |████████████████████████████████| 61 kB 7.0 MB/s Requirement already satisfied: typing-extensions in ./venv/lib/python3.8/site-packages (from torch<1.10.0,>=1.4.0->torchmeta) (3.10.0.2) Building wheels for collected packages: ordered-set Building wheel for ordered-set (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/benjitinou/Fraunhofer/as/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6lfemgyl/ordered-set/setup.py'"'"'; file='"'"'/tmp/pip-install-6lfemgyl/ordered-set/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-yd_ysyep cwd: /tmp/pip-install-6lfemgyl/ordered-set/ Complete output (6 lines): usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help

error: invalid command 'bdist_wheel'

ERROR: Failed building wheel for ordered-set Running setup.py clean for ordered-set Failed to build ordered-set Installing collected packages: torch, torchvision, ordered-set, h5py, charset-normalizer, certifi, urllib3, idna, requests, torchmeta Attempting uninstall: torch Found existing installation: torch 1.10.0+cu113 Uninstalling torch-1.10.0+cu113: Successfully uninstalled torch-1.10.0+cu113 Attempting uninstall: torchvision Found existing installation: torchvision 0.11.1+cu113 Uninstalling torchvision-0.11.1+cu113: Successfully uninstalled torchvision-0.11.1+cu113 Running setup.py install for ordered-set ... done Successfully installed certifi-2021.10.8 charset-normalizer-2.0.7 h5py-3.5.0 idna-3.3 ordered-set-4.0.2 requests-2.26.0 torch-1.9.1 torchmeta-1.8.0 torchvision-0.10.1 urllib3-1.26.7`

Hey, could you try importing something from torchmeta and see if its works?
Eg: from torchmeta.datasets.helpers import omniglot

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

No branches or pull requests

2 participants