ibmm-unibe-ch / TemBERTure

MIT License
14 stars 2 forks source link

I have an issue with import the package #1

Closed YaldaAmidi227 closed 2 months ago

YaldaAmidi227 commented 2 months ago

I downloaded the package and installed it without any error but when I want to import it I get this error:

from temBERTure import TemBERTure Segmentation fault

Could you please help me how can I solve this issue?

Ch-rode commented 2 months ago

Hi @YaldaAmidi227 ! Thanks for using TemBERTure.

Did you follow the downloading instructions?

git clone https://github.com/ibmm-unibe-ch/TemBERTure.git
cd TemBERTure
git filter-branch --subdirectory-filter temBERTure -- --all

After running these commands, you should have the temBERTure.py file inside the TemBERTure folder. This is the file that the import statement is referring to. Let me know

`

YaldaAmidi227 commented 2 months ago

Hi @YaldaAmidi227 ! Thanks for using TemBERTure.

Did you follow the downloading instructions?

git clone https://github.com/ibmm-unibe-ch/TemBERTure.git
cd TemBERTure
git filter-branch --subdirectory-filter temBERTure -- --all

After running these commands, you should have the temBERTure.py file inside the TemBERTure folder. This is the file that the import statement is referring to. Let me know

`

Hi, Yes I have temBERTure.py in the path but when I want to import temBERTure I have "Segmentation fault" error.

YaldaAmidi227 commented 2 months ago

Hi @YaldaAmidi227 ! Thanks for using TemBERTure.

Did you follow the downloading instructions?

git clone https://github.com/ibmm-unibe-ch/TemBERTure.git
cd TemBERTure
git filter-branch --subdirectory-filter temBERTure -- --all

After running these commands, you should have the temBERTure.py file inside the TemBERTure folder. This is the file that the import statement is referring to. Let me know

`

Hi I finally could import it :) my fault was I had removed some lines in requirement.txt "exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work mkl-fft @ file:///croot/mkl_fft_1695058164594/work mkl-random @ file:///croot/mkl_random_1695059800811/work Pillow @ file:///croot/pillow_1696580024257/work six @ file:///tmp/build/80754af9/six_1644875935023/work types-python-dateutil==2.8.19.20240106 typing_extensions @ file:///croot/typing_extensions_1705599297034/work" because I couldn't instal it by condo, now I returned back them and installed it again with pip and it's done :)

Thanks for your help