Python Forum
Installing packages through Anaconda?
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing packages through Anaconda?
#6
I managed to copy and paste the command prompt error message (when trying to install scipy) below. If you don't want to dig through all of it then I completely understand.
I tried the same command as before, except scipy in place of pandas:
py -m pip install pandas
Output:
Microsoft Windows [Version 10.0.15063] (c) 2017 Microsoft Corporation. All rights reserved. C:\Users\user>py -m pip install scipy Collecting scipy Using cached scipy-0.19.1.tar.gz Installing collected packages: scipy Running setup.py install for scipy ... error Complete output from command C:\Users\user\AppData\Local\Programs\Python\Python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\user\\AppData\\Local\\Temp\\pip-build-ujtcejpl\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\user\AppData\Local\Temp\pip-wf_k4qli-record\install-record.txt --single-version-externally-managed --compile: Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install scipy` (last SciPy release on PyPI) lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python36\\lib', 'C:\\', 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python36\\libs'] NOT AVAILABLE openblas_lapack_info: C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\system_info.py:655: UserWarning: Specified path c:\opt\64\lib is invalid. return self.get_paths(self.section, key) libraries libopenblas_v0.2.20_mingwpy not found in [] NOT AVAILABLE atlas_3_10_threads_info: Setting PTATLAS=ATLAS libraries tatlas,tatlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\lib libraries lapack_atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\lib libraries tatlas,tatlas not found in C:\ libraries lapack_atlas not found in C:\ libraries tatlas,tatlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\libs libraries lapack_atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\libs <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> NOT AVAILABLE atlas_3_10_info: libraries satlas,satlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\lib libraries lapack_atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\lib libraries satlas,satlas not found in C:\ libraries lapack_atlas not found in C:\ libraries satlas,satlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\libs libraries lapack_atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\libs <class 'numpy.distutils.system_info.atlas_3_10_info'> NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\lib libraries lapack_atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\lib libraries ptf77blas,ptcblas,atlas not found in C:\ libraries lapack_atlas not found in C:\ libraries ptf77blas,ptcblas,atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\libs libraries lapack_atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\libs <class 'numpy.distutils.system_info.atlas_threads_info'> NOT AVAILABLE atlas_info: libraries f77blas,cblas,atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\lib libraries lapack_atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\lib libraries f77blas,cblas,atlas not found in C:\ libraries lapack_atlas not found in C:\ libraries f77blas,cblas,atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\libs libraries lapack_atlas not found in C:\Users\user\AppData\Local\Programs\Python\Python36\libs <class 'numpy.distutils.system_info.atlas_info'> NOT AVAILABLE C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. self.calc_info() lapack_info: libraries lapack not found in ['C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python36\\lib', 'C:\\', 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python36\\libs'] NOT AVAILABLE C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning: Lapack (http://www.netlib.org/lapack/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [lapack]) or by setting the LAPACK environment variable. self.calc_info() lapack_src_info: NOT AVAILABLE C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning: Lapack (http://www.netlib.org/lapack/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [lapack_src]) or by setting the LAPACK_SRC environment variable. self.calc_info() NOT AVAILABLE Running from scipy source directory. non-existing path in 'scipy\\integrate': 'quadpack.h' Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\user\AppData\Local\Temp\pip-build-ujtcejpl\scipy\setup.py", line 416, in <module> setup_package() File "C:\Users\user\AppData\Local\Temp\pip-build-ujtcejpl\scipy\setup.py", line 412, in setup_package setup(**metadata) File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\core.py", line 135, in setup config = configuration() File "C:\Users\user\AppData\Local\Temp\pip-build-ujtcejpl\scipy\setup.py", line 336, in configuration config.add_subpackage('scipy') File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\misc_util.py", line 1029, in add_subpackage caller_level = 2) File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\misc_util.py", line 998, in get_subpackage caller_level = caller_level + 1) File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\misc_util.py", line 935, in _get_configuration_from_setup_py config = setup_module.configuration(*args) File "scipy\setup.py", line 15, in configuration config.add_subpackage('linalg') File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\misc_util.py", line 1029, in add_subpackage caller_level = 2) File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\misc_util.py", line 998, in get_subpackage caller_level = caller_level + 1) File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\distutils\misc_util.py", line 935, in _get_configuration_from_setup_py config = setup_module.configuration(*args) File "scipy\linalg\setup.py", line 20, in configuration raise NotFoundError('no lapack/blas resources found') numpy.distutils.system_info.NotFoundError: no lapack/blas resources found ---------------------------------------- Command "C:\Users\user\AppData\Local\Programs\Python\Python36\python.exe -u -c "import setuptools, tokenize;__file__= 'C:\\Users\\user\\AppData\\Local\\Temp\\pip-build-ujtcejpl\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__); code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\user\AppData\Local\Temp\pip-wf_k4qli-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-build-ujtcejpl\scipy\

(Oct-07-2017, 06:23 AM)Larz60+ Wrote: which os?
your path most likely points to the Anaconda install.
if so, you will need to use full path to pip of the non anaconda python.
pip resides in the scripts directory.

Can you please elaborate on path? I assume you mean the filepath for the package I'm trying to install...how do I change the filepath for this?
Reply


Messages In This Thread
RE: Installing packages through Anaconda? - by Athenaeum - Oct-08-2017, 03:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing packages of Conda / Miniconda Liki 12 2,410 Sep-20-2023, 04:57 PM
Last Post: snippsat
  Installing package in Anaconda on an Intranet Computer Secret 1 1,929 Sep-17-2020, 02:16 PM
Last Post: Larz60+
  installing anaconda packages offline HulkHogansArmsArePythons 4 7,387 Feb-18-2020, 08:23 PM
Last Post: jefsummers
  Installing pip packages on Windows 10 tablet jazmad 5 4,223 Oct-24-2018, 10:37 AM
Last Post: jazmad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020