On Pariksheet's point 2, and adding to Peter's point, you can pass an argument when creating an environment
conda create -n myenv python=3.4 ggplot source activate myenv Then when you are in this environment, conda will install packages from py34 repositories. - Jaime On Fri, Mar 31, 2017 at 10:20 AM, Peter van Heusden <[email protected]> wrote: > Hi there > > I resolved that in our recent workshop using the commands > > conda create -n ggplot ggplot (and whatever else you need) > source activate ggplot > > i.e. create a new conda environment and use that. > > Peter > > On Fri, 31 Mar 2017 at 19:06 Pariksheet Nanda <[email protected]> > wrote: > >> Hi folks, >> >> In setting up for a Python Ecology workshop next week, one user reported >> the ggplot python package not installing. I've raised an issue against the >> lesson here: >> https://github.com/datacarpentry/python-ecology-lesson/issues/164 >> Error pasted here for mailing list searchability: >> >> >> $ conda install -c conda-forge ggplot >> Fetching package metadata ............. >> Solving package specifications: . >> UnsatisfiableError: The following specifications were found to be in >> conflict: >> - ggplot -> python 3.4* >> - python 3.6* >> Use "conda info <package>" to see the dependencies for each package. >> >> >> It looks like ggplot does not support python 3.6 which is bundled with >> the current Anaconda installer. >> >> What would be a sane workaround for this? Using `pip` to install ggplot >> doesn't always work because its matplotlib dependency requires PyQt4 which >> does not seem to be trivial to setup for all platforms. Some ideas I'm >> thinking of are: >> >> 1) Using the python 2.7 version of Anaconda for now and adapting lessons >> with future imports if necessary. >> 2) Using an older version of Anaconda that installs e.g. python 3.4 >> packages (where does one find them?) >> 3) Setting matplotlib backend to use e.g. wx instead of PyQt4, but I >> don't have the resources to validate this on all platforms. >> 4) It looks like now python abstracts the Qt version via QtPy module, so >> it may be difficult to install Qt4 in addition to the Anaconda bundled Qt5. >> >> For points 3 and 4 maybe the Continuum developers have some ideas? >> Actually I don't know if I'm interpreting the error message correctly. >> >> Pariksheet >> >> --- >> Pariksheet Nanda >> PhD Candidate in Genetics and Genomics >> System Administrator, Storrs HPC Cluster >> University of Connecticut >> _______________________________________________ >> Discuss mailing list >> [email protected] >> http://lists.software-carpentry.org/listinfo/discuss > > > _______________________________________________ > Discuss mailing list > [email protected] > http://lists.software-carpentry.org/listinfo/discuss >
_______________________________________________ Discuss mailing list [email protected] http://lists.software-carpentry.org/listinfo/discuss
