0% found this document useful (0 votes)
300 views5 pages

To Install Instructions Guide

The user is trying to install the Plotly package offline into a new conda environment. They create the "plotly-env" environment with Python 3.7, activate it, and try installing the Plotly tarball and ipykernel tarball using the --offline flag. The install succeeds after removing and recreating the environment to properly install Python.

Uploaded by

Marshall Too
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
300 views5 pages

To Install Instructions Guide

The user is trying to install the Plotly package offline into a new conda environment. They create the "plotly-env" environment with Python 3.7, activate it, and try installing the Plotly tarball and ipykernel tarball using the --offline flag. The install succeeds after removing and recreating the environment to properly install Python.

Uploaded by

Marshall Too
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

(base) C:\Users\Marshall Too>conda install -n plotly "C:\Users\Marshall

Too\Downloads\plotly-4.12.0-py_0.tar.bz2"

EnvironmentLocationNotFound: Not a conda environment: C:\Users\Marshall


Too\.conda\envs\plotly

(base) C:\Users\Marshall Too>conda env


usage: conda-env-script.py [-h] {create,export,list,remove,update,config} ...

positional arguments:
{create,export,list,remove,update,config}
create Create an environment based on an environment file
export Export a given environment
list List the Conda environments
remove Remove an environment
update Update the current environment based on environment file
config Configure a conda environment

optional arguments:
-h, --help Show this help message and exit.

conda commands available from other packages:


build
convert
debug
develop
env
index
inspect
metapackage
render
server
skeleton
verify

(base) C:\Users\Marshall Too>list


'list' is not recognized as an internal or external command,
operable program or batch file.

(base) C:\Users\Marshall Too>conda env list


# conda environments:
#
base * C:\ProgramData\Anaconda3
geo-env C:\ProgramData\Anaconda3\envs\geo-env

(base) C:\Users\Marshall Too>conda install -n plotly "C:\Users\Marshall


Too\Downloads\plotly-4.12.0-py_0.tar.bz2" --ofline
usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: --ofline

(base) C:\Users\Marshall Too>conda install -n plotly "C:\Users\Marshall


Too\Downloads\plotly-4.12.0-py_0.tar.bz2" --offline

EnvironmentLocationNotFound: Not a conda environment: C:\Users\Marshall


Too\.conda\envs\plotly
(base) C:\Users\Marshall Too>conda create -n plotly-env
WARNING: A space was detected in your requested environment path
'C:\Users\Marshall Too\.conda\envs\plotly-env'
Spaces in paths can sometimes be problematic.
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==


current version: 4.9.0
latest version: 4.9.1

Please update conda by running

$ conda update -n base -c defaults conda

## Package Plan ##

environment location: C:\Users\Marshall Too\.conda\envs\plotly-env

Proceed ([y]/n)? y

Preparing transaction: done


Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate plotly-env
#
# To deactivate an active environment, use
#
# $ conda deactivate

(base) C:\Users\Marshall Too>conda activate plotly-env

(plotly-env) C:\Users\Marshall Too>conda install -offline "C:\Users\Marshall


Too\Downloads\plotly-4.12.0-py_0.tar.bz2"
usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: -offline

(plotly-env) C:\Users\Marshall Too>conda install --offline "C:\Users\Marshall


Too\Downloads\plotly-4.12.0-py_0.tar.bz2"

Downloading and Extracting Packages


###################################################################################
###################################################################################
############################################################## | 100%
Preparing transaction: failed

CondaError: Unable to determine python site-packages dir in target_prefix!


Please make sure python is installed in C:\Users\Marshall Too\.conda\envs\plotly-
env
(plotly-env) C:\Users\Marshall Too>
(plotly-env) C:\Users\Marshall Too>conda update python

PackageNotInstalledError: Package is not installed in prefix.


prefix: C:\Users\Marshall Too\.conda\envs\plotly-env
package name: python

(plotly-env) C:\Users\Marshall Too>conda activate plotly-env

(plotly-env) C:\Users\Marshall Too>conda install --offline "C:\Users\Marshall


Too\Downloads\plotly-4.12.0-py_0.tar.bz2"
Preparing transaction: failed

CondaError: Unable to determine python site-packages dir in target_prefix!


Please make sure python is installed in C:\Users\Marshall Too\.conda\envs\plotly-
env

(plotly-env) C:\Users\Marshall Too>conda create -n plotly -env python=3.7


usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: -env

(plotly-env) C:\Users\Marshall Too>conda create -n plotly-env python=3.7


WARNING: A conda environment already exists at 'C:\Users\Marshall
Too\.conda\envs\plotly-env'
Remove existing environment (y/[n])? y

WARNING: A space was detected in your requested environment path


'C:\Users\Marshall Too\.conda\envs\plotly-env'
Spaces in paths can sometimes be problematic.
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==


current version: 4.9.0
latest version: 4.9.1

Please update conda by running

$ conda update -n base -c defaults conda

## Package Plan ##

environment location: C:\Users\Marshall Too\.conda\envs\plotly-env

added / updated specs:


- python=3.7

The following packages will be downloaded:

package | build
---------------------------|-----------------
certifi-2020.6.20 | pyhd3eb1b0_3 155 KB
------------------------------------------------------------
Total: 155 KB

The following NEW packages will be INSTALLED:

ca-certificates pkgs/main/win-32::ca-certificates-2020.10.14-he931aee_0
certifi pkgs/main/noarch::certifi-2020.6.20-pyhd3eb1b0_3
openssl pkgs/main/win-32::openssl-1.1.1h-he774522_0
pip conda-forge/noarch::pip-20.2.4-py_0
python pkgs/main/win-32::python-3.7.9-h60c2a47_0
setuptools pkgs/main/win-32::setuptools-50.3.0-py37he931aee_1
sqlite pkgs/main/win-32::sqlite-3.33.0-h2a8f88b_0
vc pkgs/main/win-32::vc-14.1-h0510ff6_4
vs2015_runtime pkgs/main/win-32::vs2015_runtime-14.16.27012-hf0eaf9b_3
wheel conda-forge/noarch::wheel-0.35.1-pyh9f0ad1d_0
wincertstore pkgs/main/win-32::wincertstore-0.2-py37_0
zlib conda-forge/win-32::zlib-1.2.11-vc14_0

Proceed ([y]/n)? y

Downloading and Extracting Packages


certifi-2020.6.20 | 155 KB |
###################################################################################
###################################################################################
########################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate plotly-env
#
# To deactivate an active environment, use
#
# $ conda deactivate

(plotly-env) C:\Users\Marshall Too>conda activate plotly-env

(plotly-env) C:\Users\Marshall Too>conda install --offline "C:\Users\Marshall


Too\Downloads\plotly-4.12.0-py_0.tar.bz2"
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(plotly-env) C:\Users\Marshall Too>conda install --offline "C:\Users\Marshall


Too\Downloads\ipykernel-5.3.4-py38h5ca1d4c_0.tar.bz2"

Downloading and Extracting Packages


###################################################################################
###################################################################################
############################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(plotly-env) C:\Users\Marshall Too>conda install --offline "C:\Users\Marshall


Too\Downloads\ipykernel-5.3.4-py38h5ca1d4c_0.tar.bz2"

Step 1 (Create Env) C:\Users\Marshall Too>conda create -n plotly -env


python=3.7
Step 2 (Activate Env) C:\Users\Marshall Too>conda activate plotly-env
Step 3 (Install To Plotly ['Main'] Package): conda install --offline
"C:\Users\Marshall Too\Downloads\plotly-4.12.0-py_0.tar.bz2"
Step 4 (Install To See Package): conda install --offline "C:\Users\Marshall
Too\Downloads\ipykernel-5.3.4-py38h5ca1d4c_0.tar.bz2"

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy