Anaconda Python installation error

后端 未结 4 709
离开以前
离开以前 2021-02-01 06:40

I get the following error during Python 2.7 64-bit windows installation. I previously installed python 3.5 64-bit and it worked fine. But during python 2.7 installation i get th

4条回答
  •  -上瘾入骨i
    2021-02-01 07:20

    I received a different error but was able to overcome it by adding the following paths to the environment variables:

    • C:\Users\myusername\Anaconda\envs\Tableau-Python-Server
    • C:\Users\myusername\Anaconda\envs\Tableau-Python-Server\Scripts

    There are several YouTube videos on environment variables and how to change them but for me this worked:

    1. Right click on this-pc in explorer
    2. Select properties from the menu (bottom of the list for me)
    3. Select advanced system settings (fourth from top on left hand side of window for me)
    4. Press the environment variables button on the bottom right of the dialog box
    5. Highlight the "Path" system variable in the bottom window of the new dialog box
    6. Click edit
    7. Scroll to the bottom of the list
    8. Click the New button on the right hand side of this dialog box
    9. Enter the first path and click Ok
    10. Click New again, enter the second path and click Ok
    11. Cancel out of all dialogs and close all windows (maybe go check to be sure it was saved as you expected)

    Reboot then do the steps stated by Steve above (thank you Steve!)

    Return to the install install directory I originally unzipped TabPy install into and run the setup.bat file again

    This started the localhost server and I was able to connect through Tableau following the instructions (help menu, settings and performance, manage external service connection, local host and port 9004)

    After connecting I re-read the instructions and logs and saw that pip could be updated so I did that command as stated in the log, run cmd as admin if not already logged in as admin cd to C:\Users\myusername\Anaconda\envs\Tableau-Python-Server enter ..\python -m pip install --upgrade pip

    All good.

    Seems to leave some windows registry cleanup items but a registry cleaner will solve that no worries.

    As always, good idea to restore point before and after installs. Or full backup.

提交回复
热议问题