-
Notifications
You must be signed in to change notification settings - Fork 728
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 while installing simpletransformers #34
Comments
What is your operating system? |
Thank you for your response sir. I am using gpu.
…On Sat, 9 Nov, 2019, 8:11 AM Thilina Rajapakse, ***@***.***> wrote:
What is your operating system?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34?email_source=notifications&email_token=AJWZDR6ND2DRRLAFVQFIUL3QSYPNXA5CNFSM4JKXJN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDT3ZSA#issuecomment-552058056>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWZDR6PFZCDIQH6D4YGSXTQSYPNXANCNFSM4JKXJN5A>
.
|
I meant operating system as in Ubuntu, windows, Mac, etc. |
Ubuntu.
…On Sat, 9 Nov, 2019, 10:14 AM Thilina Rajapakse, ***@***.***> wrote:
I meant operating system as in Ubuntu, windows, Mac, etc.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34?email_source=notifications&email_token=AJWZDRZJSCUUJQL6JIXWQDTQSY54NA5CNFSM4JKXJN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDT5X3A#issuecomment-552066028>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWZDR3FWZIZ5N2JWTYHGGDQSY54NANCNFSM4JKXJN5A>
.
|
Did you install all the prerequisite packages given in the readme? What is the error you get when installing apex? |
yes i installed all the prerequisits
This is the error that i got while installing apex
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
Compiling cuda extensions with
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61
from /usr/local/cuda/bin
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-3n6d93c7/setup.py", line 100, in <module>
check_cuda_torch_binary_vs_bare_metal(torch.utils.cpp_extension.CUDA_HOME)
File "/tmp/pip-req-build-3n6d93c7/setup.py", line 77, in
check_cuda_torch_binary_vs_bare_metal
"NVIDIA/apex#323 (comment). "
RuntimeError: Cuda extensions are being compiled with a version of Cuda
that does not match the version used to compile Pytorch binaries. Pytorch
binaries were compiled with Cuda 10.1.243.
In some cases, a minor-version mismatch will not cause later errors:
NVIDIA/apex#323 (comment). You can try
commenting out this check (at your own risk).
Running setup.py install for apex ... error
Rolling back uninstall of apex
Moving to
/home/namosvision/.virtualenvs/cv/lib/python3.5/site-packages/apex-0.1.dist-info/
from
/home/namosvision/.virtualenvs/cv/lib/python3.5/site-packages/~pex-0.1.dist-info
Moving to
/home/namosvision/.virtualenvs/cv/lib/python3.5/site-packages/apex/
from /home/namosvision/.virtualenvs/cv/lib/python3.5/site-packages/~pex
Replacing
/home/namosvision/.virtualenvs/cv/lib/python3.5/site-packages/apex-0.1.dist-info/
from
/home/namosvision/.virtualenvs/cv/lib/python3.5/site-packages/~pex-0.1.dist-info
Replacing
/home/namosvision/.virtualenvs/cv/lib/python3.5/site-packages/apex/ from
/home/namosvision/.virtualenvs/cv/lib/python3.5/site-packages/~pex
Cleaning up...
Removing source in /tmp/pip-req-build-3n6d93c7
Removed build tracker '/tmp/pip-req-tracker-cgh6bu2j'
ERROR: Command errored out with exit status 1:
/home/namosvision/.virtualenvs/cv/bin/python3 -u -c 'import sys,
setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-req-build-3n6d93c7/setup.py'"'"';
__file__='"'"'/tmp/pip-req-build-3n6d93c7/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
--cpp_ext --cuda_ext install --record
/tmp/pip-record-3lz27_a8/install-record.txt
--single-version-externally-managed --compile --install-headers
/home/namosvision/.virtualenvs/cv/include/site/python3.5/apex Check the
logs for full command output.
Regards,
Sreelakshmi
…On Sat, Nov 9, 2019 at 11:18 AM Thilina Rajapakse ***@***.***> wrote:
Did you install all the prerequisite packages given in the readme? What is
the error you get when installing apex?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34?email_source=notifications&email_token=AJWZDR6IEDLPIAKXODUZY5DQSZFMVA5CNFSM4JKXJN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDT6RRA#issuecomment-552069316>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWZDR7VOF4L2P3IHPQOTM3QSZFMVANCNFSM4JKXJN5A>
.
|
What python version are you using? Usually this error is because you are using an incompatible version of python and/or required packages. |
Python 3
…On Sat, 9 Nov, 2019, 4:02 PM Thilina Rajapakse, ***@***.***> wrote:
What python version are you using? Usually this error is because you are
using an incompatible version of python and/or required packages.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34?email_source=notifications&email_token=AJWZDRYV672FQ7K4Q2AMDG3QS2GSZA5CNFSM4JKXJN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUC53Q#issuecomment-552087278>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWZDR7HQD6TMC76OMY3J73QS2GSZANCNFSM4JKXJN5A>
.
|
Make sure you are using 3.7 and that pytorch is working. Also, can you install transformers without any errors?
|
S i am able to install transformers. There is no error in that
…On Sat, 9 Nov, 2019, 4:09 PM Thilina Rajapakse, ***@***.***> wrote:
Make sure you are using 3.7. Also, can you install transformers without
any errors?
pip install transformers
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34?email_source=notifications&email_token=AJWZDRYKVF4JVAK4O4LR2UTQS2HPNA5CNFSM4JKXJN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUDBZA#issuecomment-552087780>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWZDR52HUZUSOAOCVYO5DDQS2HPNANCNFSM4JKXJN5A>
.
|
Try cloning the repo and running |
Ok sir i will try that. Thank you so much for your response sir. If the
issue still persists I will mail you.
…On Sat, 9 Nov, 2019, 4:14 PM Thilina Rajapakse, ***@***.***> wrote:
Try cloning the repo and running pip -m install .
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34?email_source=notifications&email_token=AJWZDR26T3YJ5P5VDKECAXLQS2IB7A5CNFSM4JKXJN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUDEOI#issuecomment-552088121>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWZDRZACCBWSQWINKALG3TQS2IB7ANCNFSM4JKXJN5A>
.
|
Thank you sir for your suggestion. I was able to install without error.
On Sat, 9 Nov, 2019, 5:32 PM sreelakshmi nair, <[email protected]>
wrote:
… Ok sir i will try that. Thank you so much for your response sir. If the
issue still persists I will mail you.
On Sat, 9 Nov, 2019, 4:14 PM Thilina Rajapakse, ***@***.***>
wrote:
> Try cloning the repo and running pip -m install .
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#34?email_source=notifications&email_token=AJWZDR26T3YJ5P5VDKECAXLQS2IB7A5CNFSM4JKXJN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUDEOI#issuecomment-552088121>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJWZDRZACCBWSQWINKALG3TQS2IB7ANCNFSM4JKXJN5A>
> .
>
|
Great. |
i get an error while installing simpletransformer. I command i have ran and the error is given below. Could you suggest me a solution. I am also getting error while installing apex.
pip install simpletransformers
ERROR: Could not find a version that satisfies the requirement simpletransformers (from versions: none)
ERROR: No matching distribution found for simpletransformers
The text was updated successfully, but these errors were encountered: