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

Installation Error in google Collab env with Python3.7 #1598

Open
AbdirayimovS opened this issue May 11, 2023 · 1 comment
Open

Installation Error in google Collab env with Python3.7 #1598

AbdirayimovS opened this issue May 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@AbdirayimovS
Copy link

Description

I have tried to install KoBert Model

image

Error Message

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kn38xj8i/gluonnlp/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kn38xj8i/gluonnlp/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-z0eeznlb/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/gluonnlp Check the logs for full command output.

To Reproduce

(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)

Steps to reproduce

(Paste the commands you ran that produced the error.)

  1. !python3 -m pip install -U --pre mxnet
  2. !pip install gluonnlp

What have you tried to solve it?

  1. I thought first that it may be issue with mxnet. So installed first the latest mxnet. BUT KoBERT asks for lower version than 0.17 of mxnet.

Environment

Google Collab, Python3.7,

curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python

# paste outputs here
`----------Python Info----------
Version      : 3.8.10
Compiler     : GCC 9.4.0
Build        : ('default', 'Mar 13 2023 10:26:41')
Arch         : ('64bit', 'ELF')
------------Pip Info-----------
Version      : 20.0.2
Directory    : /usr/lib/python3/dist-packages/pip
----------MXNet Info-----------
Version      : 1.7.0
Directory    : /usr/local/lib/python3.8/dist-packages/mxnet
Num GPUs     : 0
Commit Hash   : 64f737cdd59fe88d2c5b479f25d011c5156b6a8a
64f737cdd59fe88d2c5b479f25d011c5156b6a8a
64f737cdd59fe88d2c5b479f25d011c5156b6a8a
64f737cdd59fe88d2c5b479f25d011c5156b6a8a
64f737cdd59fe88d2c5b479f25d011c5156b6a8a
64f737cdd59fe88d2c5b479f25d011c5156b6a8a
64f737cdd59fe88d2c5b479f25d011c5156b6a8a
64f737cdd59fe88d2c5b479f25d011c5156b6a8a
64f737cdd59fe88d2c5b479f25d011c5156b6a8a
64f737cdd59fe88d2c5b479f25d011c5156b6a8a
----------System Info----------
Platform     : Linux-5.10.147+-x86_64-with-glibc2.29
system       : Linux
node         : 4464d6c8bf6a
release      : 5.10.147+
version      : #1 SMP Sat Dec 10 16:00:40 UTC 2022
----------Hardware Info----------
machine      : x86_64
processor    : x86_64
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          2
On-line CPU(s) list:             0,1
Thread(s) per core:              2
Core(s) per socket:              1
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           79
Model name:                      Intel(R) Xeon(R) CPU @ 2.20GHz
Stepping:                        0
CPU MHz:                         2199.998
BogoMIPS:                        4399.99
Hypervisor vendor:               KVM
Virtualization type:             full
L1d cache:                       32 KiB
L1i cache:                       32 KiB
L2 cache:                        256 KiB
L3 cache:                        55 MiB
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Vulnerable; SMT Host state unknown
Vulnerability Meltdown:          Vulnerable
Vulnerability Mmio stale data:   Vulnerable
Vulnerability Retbleed:          Vulnerable
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Vulnerable: __user pointer sanitization and use
                                 rcopy barriers only; no swapgs barriers
Vulnerability Spectre v2:        Vulnerable, IBPB: disabled, STIBP: disabled, PB
                                 RSB-eIBRS: Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Vulnerable
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtr
                                 r pge mca cmov pat pse36 clflush mmx fxsr sse s
                                 se2 ss ht syscall nx pdpe1gb rdtscp lm constant
                                 _tsc rep_good nopl xtopology nonstop_tsc cpuid 
                                 tsc_known_freq pni pclmulqdq ssse3 fma cx16 pci
                                 d sse4_1 sse4_2 x2apic movbe popcnt aes xsave a
                                 vx f16c rdrand hypervisor lahf_lm abm 3dnowpref
                                 etch invpcid_single ssbd ibrs ibpb stibp fsgsba
                                 se tsc_adjust bmi1 hle avx2 smep bmi2 erms invp
                                 cid rtm rdseed adx smap xsaveopt arat md_clear 
                                 arch_capabilities
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0023 sec, LOAD: 0.5752 sec.
Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0020 sec, LOAD: 0.4506 sec.
Timing for GluonNLP: http://gluon-nlp.mxnet.io/, DNS: 0.1011 sec, LOAD: 0.5383 sec.
Timing for D2L: http://d2l.ai/, DNS: 0.0205 sec, LOAD: 0.0625 sec.
Timing for D2L (zh-cn): http://zh.d2l.ai/, DNS: 0.0357 sec, LOAD: 0.0816 sec.
Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.1088 sec, LOAD: 0.3153 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0115 sec, LOAD: 0.2840 sec.
Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.00988316535949707 sec.`
@AbdirayimovS AbdirayimovS added the bug Something isn't working label May 11, 2023
@sudhanshu19102003
Copy link

I tried to reproduce the error but I was not able to
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants