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

python-jl cannot find the module pytest #517

Open
calvinp0 opened this issue Nov 26, 2022 · 3 comments
Open

python-jl cannot find the module pytest #517

calvinp0 opened this issue Nov 26, 2022 · 3 comments

Comments

@calvinp0
Copy link

Hi,

I am using PyCharm for PyTest and I am not sure if this is correct to do but I set the env interpreter to python-jl. Now, when I attempt to run a test, it informs me the module PyTest cannot be found. I do have PyTest installed and when I set the env interpreter to just python, the test runs smoothly.

Is this expected to happen?

@mkitti
Copy link
Member

mkitti commented Nov 27, 2022

Which Python environment is python-jl using?

@calvinp0
Copy link
Author

If I understand your question correctly, I am using mamba/conda environment

@mkitti
Copy link
Member

mkitti commented Nov 27, 2022

No, I mean what specific conda environment is python-jl using? Or where is it located?

It may be using a different environment than the one you are in. In fact, this is the default behavior. If you want to make it use your current conda environment, you will need to tell Julia about that unless you installed julia via conda.

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

2 participants