PyODBC refuses to look for unixODBC, instead looks for iODBCĬannot Install Python Modules after Installing Anaconda Pip install pymssql fails in anaconda windows Party library into anaconda if it is not in conda listĪttributeError: 'module' object has no attribute 'connect' Don't use the command xyz.py, since in that case the Windows registry determines the "open action", which is likely to run the script using your most recently installed Python version instead of the version from your virtual environment!Ĭonda printing verbosely after package installation and then deactivating environment
This should print nothing (no ModuleNotFoundError).
#INSTALL PYQT5 PYTHON ANACONDA HOW TO#
just calling the corresponding activate script) and you know how to do this. I don't have experience with anaconda, but I assume it's similar to venv or virtualenv (i.e.
To do this, first activate your environment, then just use the python command for everything and avoid using the py or pip commands directly. When using virtual environments you have to be sure you are doing all the stuff in the same virtual environment.