Closed maxseidler closed 6 years ago
Thanks for reporting this. It looks like the --json
flag on conda does not report those pip installed packages. I'll open an issue on the conda issue tracker for this.
@maxseidler Using pip installed packages in Python 2 environments seem to work fine for me. Can you give me more details about your environment?
Actually, between the first occurrence of this issue and now, I restarted my machine... and now I can use pip-installed packages in my Python 2 environment! I tried a couple of pip-installed packages before I wrote this issue and they all failed. Anyway, it works and the previous hick-up was probably no fault of sublime-text-conda. But at least the discovery of the '--json flag' bug came out of it. ;)
Thanks for the support!
Since the conda bug hasn't been fixed yet I decided to create a workaround in sublime-text-conda. This workaround is present in the newest release (v0.4.3).
I have Python 3 configured as root and Python 2 configured in an extra environment. In Python 3 / root I can import/use packages both installed with conda and with pip.
In the Python 2 environment modules installed with pip are not recognised and cannot be used.
Extra suggestion:
Conda: List Packages
does not currently show packages installed with pip, neither in root or other environments. Executingconda list
in the Terminal is showing pip-installed packages as well though. Maybe consider to list pip-installed packages when executingConda: List Packages
in sublime-text-conda as well?