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
osx ModuleNotFoundError: No module named 'pyreadr.librdata' #13
Comments
I think you have cloned the repo and python is trying to import from the cloned repo, where you have not compiled correctly the package. |
Hi, That is correct, when i had issues i tried compiling from source. I now started off with a clean conda environnement. conda create --name test4 I still get an error but a different one: Symbol not found: _iconv
|
Somehow the libiconv version is not good. Try a new conda env without installing libiconv. What do you get now? |
it gives the same error independent of if i use |
Ok do otool -L /opt/miniconda3/envs/test4/lib/python3.7/site-packages/pyreadr/librdata.cpython-37m-darwin.so To check where it is loading libiconv from. My guess is that it is not loading it from conda. Try to force it to take it from conda by adding the folder to DYLD_LIBRARY_PATH |
Hi, got it working with:
i found Thanks for your help |
Wow, amazing job! |
:) |
@giko45 The new version 0.2.2 has a static linking for iconv. If you happen to test it let me know if it works. |
did you push it to conda-forge? i still get 2.1 pyreadr conda-forge/osx-64::pyreadr-0.2.1-py37hbbe82c9_0 |
Yeah I did, probably was on its way when you tried but now I can see that 0.2.2 is there for mac on conda. Could you please give it another try? |
hmm, i still get 0.2.1
|
Sorry, maybe it was still on its way, now I get 0.2.2
|
Yes it works directly from conda-forge now. Great work! |
Great TEAM work! Thanks a lot for discovering the root cause of the issue and testing! |
hi, hope you're doing well, I have a file in format Rdata, I've searched and understood that I have to use pyreadr in order to read it in python... but after installing it when I import pyreadr I receive an error which says module 'pandas' has no attribute 'Float64Dtype' |
Please update pandas to the newest version |
got it, thanks |
You need pandas 1.2.0 at least |
hi, happy new year |
Hi,
installed with:
conda install -c conda-forge pyreadr
I get an import error on import.
osx 10.10
The text was updated successfully, but these errors were encountered: