import docx error

Pavol Lisy pavol.lisy at gmail.com
Fri May 12 02:09:13 EDT 2017


On 5/11/17, Grant Edwards <grant.b.edwards at gmail.com> wrote:

> On Wed, May 10, 2017 at 05:14:22PM -0700, somebody wrote:

>> I have downloaded Anaconda to Cinnamon Mint 18.1 64 bit where Python
>> 3.6 exists.
>>
>> It will not start up.
>
> The anaconda that I know about is the RedHat installer program (which
> was originally written in Python, BTW), but I'm guessing that's not
> what you're asking about.
>
>> My naive question is: When I go to pypi for example, am I to download
>> packages into python or Mint?
>
> I don't understand the question: python is a language, Mint is a Linux
> OS distro.  If you can't use your distro's package manager to install
> the package you're looking for (see below), then here is how you
> install a package from pypi:
>
>   https://packaging.python.org/installing/#installing-from-pypi

Under linux you could use anaconda python and distro's python side by side.

If you use default installation process you could get anaconda
probably in $HOME/anaconda  directory.

If you don't change .bashrc then you could start anaconda's virtual
environment by:

    source $HOME/anaconda/bin/activate ~/anaconda/

After this command pip will install packages into anaconda's python
environment. (without this command it install into distro's python
environment)

So answer to "somebody's" question is probably that it depends on.

Under ubuntu 16.04 which could be similar to Mint I got this:

    python -V  # by default my python is distro's python
Python 2.7.12

    source $HOME/anaconda3/bin/activate anaconda3

    (anaconda3) xyz:~$ python -V  # now I could use nice features like
f-strings from python 3.6 :)
Python 3.6.1 :: Anaconda custom (64-bit)

PL.



More information about the Python-list mailing list