Created
August 19, 2016 06:35
-
-
Save stlehmann/b99d9d32731cbd1311ce949498137c1c to your computer and use it in GitHub Desktop.
Batch script for creating a virtual environment with Anaconda containing PyQt5 and dependencies. Note: PyQt5 must be installed in the root environment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Creating new conda environment with PyQt5 installed... | |
conda create -n %1 python pyqt5 -y | |
echo Copying Qt binaries in virtual environment... | |
cp -R c:\miniconda3\Lib\site-packages\pyqt5\Qt c:\miniconda3\envs\%1\Lib\site-packages\PyQt5\ | |
echo Activating new virtual environment... | |
activate %1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment