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

Unable to import using Python provided by Conda #316

Open
trueToastedCode opened this issue Feb 16, 2023 · 0 comments
Open

Unable to import using Python provided by Conda #316

trueToastedCode opened this issue Feb 16, 2023 · 0 comments

Comments

@trueToastedCode
Copy link

trueToastedCode commented Feb 16, 2023

$ which python3
/Users/lennard/miniconda3/bin/python3

$ python3
>>> from out import hi
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/lennard/PycharmProjects/hi/out/hi.py", line 17, in <module>
    from . import _hi
ImportError: cannot import name '_hi' from 'out' (/Users/lennard/PycharmProjects/hi/out/__init__.py)

$ conda deactivate
$ which python3
/usr/bin/python3

$ python3
>>> from out import hi
>>> (works)

I've used /usr/bin/python3 to compile... cause if I compile with Conda Python3, I also get segmentation fault #314

I kinda sucks that I can't import the package into Conda / Jupyter Notebook... cause Jupyter Notebook is, where I do data science...

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

1 participant