0% found this document useful (0 votes)
10 views6 pages

SMA Problem

Uploaded by

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

SMA Problem

Uploaded by

haotian.sheng001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

(base) sam@MacBook-Pro BT % conda env create -f environment.

yml
Channels:
- defaults
Platform: osx-64
Collecting package metadata ([Link]): done
Solving environment: done

Downloading and Extracting Packages:

Preparing transaction: done


Verifying transaction: done
Executing transaction: done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['/opt/anaconda3/envs/slime/bin/python', '-m', 'pip', 'install', '-U', '-r',
'/Users/sam/BT/[Link]', '--exists-action=b']
Pip subprocess output:
Collecting numpy (from -r /Users/sam/BT/[Link]
(line 1))
Using cached numpy-2.0.0-cp310-cp310-macosx_10_9_x86_64.[Link]
(60 kB)
Collecting matplotlib (from -r /Users/sam/BT/[Link]
(line 2))
Using cached matplotlib-3.9.0-cp310-cp310-
macosx_10_12_x86_64.[Link] (11 kB)
Collecting pandas (from -r /Users/sam/BT/[Link]
(line 3))
Using cached pandas-2.2.2-cp310-cp310-macosx_10_9_x86_64.[Link]
(19 kB)
Collecting geopandas (from -r
/Users/sam/BT/[Link] (line 4))
Using cached [Link] (2.2 kB)
Collecting networkx (from -r /Users/sam/BT/[Link]
(line 5))
Using cached [Link] (5.1 kB)
Collecting scipy (from -r /Users/sam/BT/[Link] (line
6))
Using cached scipy-1.14.0-cp310-cp310-macosx_10_9_x86_64.[Link]
(60 kB)
Collecting empiricaldist (from -r
/Users/sam/BT/[Link] (line 7))
Using cached [Link] (12 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata ([Link]): started
Preparing metadata ([Link]): finished with status 'done'
Collecting contourpy>=1.0.1 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached contourpy-1.2.1-cp310-cp310-macosx_10_9_x86_64.[Link]
(5.8 kB)
Collecting cycler>=0.10 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached [Link] (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached fonttools-4.53.0-cp310-cp310-
macosx_10_9_universal2.[Link] (162 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached kiwisolver-1.4.5-cp310-cp310-macosx_10_9_x86_64.[Link]
(6.4 kB)
Requirement already satisfied: packaging>=20.0 in
/opt/anaconda3/envs/slime/lib/python3.10/site-packages (from matplotlib->-r
/Users/sam/BT/[Link] (line 2)) (23.2)
Requirement already satisfied: pillow>=8 in
/opt/anaconda3/envs/slime/lib/python3.10/site-packages (from matplotlib->-r
/Users/sam/BT/[Link] (line 2)) (10.3.0)
Collecting pyparsing>=2.3.1 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached [Link] (5.1 kB)
Requirement already satisfied: python-dateutil>=2.7 in
/opt/anaconda3/envs/slime/lib/python3.10/site-packages (from matplotlib->-r
/Users/sam/BT/[Link] (line 2)) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in
/opt/anaconda3/envs/slime/lib/python3.10/site-packages (from pandas->-r
/Users/sam/BT/[Link] (line 3)) (2024.1)
Collecting tzdata>=2022.7 (from pandas->-r
/Users/sam/BT/[Link] (line 3))
Using cached [Link] (1.4 kB)
Collecting pyogrio>=0.7.2 (from geopandas->-r
/Users/sam/BT/[Link] (line 4))
Using cached [Link] (352 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata ([Link]): started
Preparing metadata ([Link]): finished with status 'error'

Pip subprocess error:


error: subprocess-exited-with-error

× Preparing metadata ([Link]) did not run successfully.


│ exit code: 1
╰─> [27 lines of output]
Traceback (most recent call last):
File "/opt/anaconda3/envs/slime/lib/python3.10/site-packages/pip/_vendor/
pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/opt/anaconda3/envs/slime/lib/python3.10/site-packages/pip/_vendor/
pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/anaconda3/envs/slime/lib/python3.10/site-packages/pip/_vendor/
pyproject_hooks/_in_process/_in_process.py", line 149, in
prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/private/var/folders/j4/knwgm9f915q6kcwypd8hr25m0000gn/T/pip-
build-env-7jqm70c8/overlay/lib/python3.10/site-packages/setuptools/
build_meta.py", line 368, in prepare_metadata_for_build_wheel
self.run_setup()
File "/private/var/folders/j4/knwgm9f915q6kcwypd8hr25m0000gn/T/pip-
build-env-7jqm70c8/overlay/lib/python3.10/site-packages/setuptools/
build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/j4/knwgm9f915q6kcwypd8hr25m0000gn/T/pip-
build-env-7jqm70c8/overlay/lib/python3.10/site-packages/setuptools/
build_meta.py", line 313, in run_setup
exec(code, locals())
File "<string>", line 154, in <module>
File "<string>", line 129, in get_gdal_config
File "<string>", line 85, in get_gdal_config
File "<string>", line 85, in <dictcomp>
File "<string>", line 39, in read_response
File "/opt/anaconda3/envs/slime/lib/python3.10/[Link]", line 420, in
check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/opt/anaconda3/envs/slime/lib/python3.10/[Link]", line 501, in
run
with Popen(*popenargs, **kwargs) as process:
File "/opt/anaconda3/envs/slime/lib/python3.10/[Link]", line 969, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/anaconda3/envs/slime/lib/python3.10/[Link]", line 1845, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with
pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.


╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

failed

CondaEnvException: Pip failed

(base) sam@MacBook-Pro BT % conda activate slime


(slime) sam@MacBook-Pro BT % conda env update --name slime --file
[Link] --prune
Channels:
- defaults
Platform: osx-64
Collecting package metadata ([Link]): done
Solving environment: done
Installing pip dependencies: - Ran pip subprocess with arguments:
['/opt/anaconda3/envs/slime/bin/python', '-m', 'pip', 'install', '-U', '-r',
'/Users/sam/BT/[Link]', '--exists-action=b']
Pip subprocess output:
Collecting numpy (from -r /Users/sam/BT/[Link]
(line 1))
Using cached numpy-2.0.0-cp310-cp310-macosx_10_9_x86_64.[Link]
(60 kB)
Collecting matplotlib (from -r /Users/sam/BT/[Link]
(line 2))
Using cached matplotlib-3.9.0-cp310-cp310-
macosx_10_12_x86_64.[Link] (11 kB)
Collecting pandas (from -r /Users/sam/BT/[Link]
(line 3))
Using cached pandas-2.2.2-cp310-cp310-macosx_10_9_x86_64.[Link]
(19 kB)
Collecting geopandas (from -r
/Users/sam/BT/[Link] (line 4))
Using cached [Link] (2.2 kB)
Collecting networkx (from -r /Users/sam/BT/[Link]
(line 5))
Using cached [Link] (5.1 kB)
Collecting scipy (from -r /Users/sam/BT/[Link] (line
6))
Using cached scipy-1.14.0-cp310-cp310-macosx_10_9_x86_64.[Link]
(60 kB)
Collecting empiricaldist (from -r
/Users/sam/BT/[Link] (line 7))
Using cached [Link] (12 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata ([Link]): started
Preparing metadata ([Link]): finished with status 'done'
Collecting contourpy>=1.0.1 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached contourpy-1.2.1-cp310-cp310-macosx_10_9_x86_64.[Link]
(5.8 kB)
Collecting cycler>=0.10 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached [Link] (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached fonttools-4.53.0-cp310-cp310-
macosx_10_9_universal2.[Link] (162 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached kiwisolver-1.4.5-cp310-cp310-macosx_10_9_x86_64.[Link]
(6.4 kB)
Requirement already satisfied: packaging>=20.0 in
/opt/anaconda3/envs/slime/lib/python3.10/site-packages (from matplotlib->-r
/Users/sam/BT/[Link] (line 2)) (23.2)
Requirement already satisfied: pillow>=8 in
/opt/anaconda3/envs/slime/lib/python3.10/site-packages (from matplotlib->-r
/Users/sam/BT/[Link] (line 2)) (10.3.0)
Collecting pyparsing>=2.3.1 (from matplotlib->-r
/Users/sam/BT/[Link] (line 2))
Using cached [Link] (5.1 kB)
Requirement already satisfied: python-dateutil>=2.7 in
/opt/anaconda3/envs/slime/lib/python3.10/site-packages (from matplotlib->-r
/Users/sam/BT/[Link] (line 2)) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in
/opt/anaconda3/envs/slime/lib/python3.10/site-packages (from pandas->-r
/Users/sam/BT/[Link] (line 3)) (2024.1)
Collecting tzdata>=2022.7 (from pandas->-r
/Users/sam/BT/[Link] (line 3))
Using cached [Link] (1.4 kB)
Collecting pyogrio>=0.7.2 (from geopandas->-r
/Users/sam/BT/[Link] (line 4))
Using cached [Link] (352 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata ([Link]): started
Preparing metadata ([Link]): finished with status 'error'

Pip subprocess error:


error: subprocess-exited-with-error

× Preparing metadata ([Link]) did not run successfully.


│ exit code: 1
╰─> [27 lines of output]
Traceback (most recent call last):
File "/opt/anaconda3/envs/slime/lib/python3.10/site-packages/pip/_vendor/
pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/opt/anaconda3/envs/slime/lib/python3.10/site-packages/pip/_vendor/
pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/anaconda3/envs/slime/lib/python3.10/site-packages/pip/_vendor/
pyproject_hooks/_in_process/_in_process.py", line 149, in
prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/private/var/folders/j4/knwgm9f915q6kcwypd8hr25m0000gn/T/pip-
build-env-q132c6a_/overlay/lib/python3.10/site-packages/setuptools/
build_meta.py", line 368, in prepare_metadata_for_build_wheel
self.run_setup()
File "/private/var/folders/j4/knwgm9f915q6kcwypd8hr25m0000gn/T/pip-
build-env-q132c6a_/overlay/lib/python3.10/site-packages/setuptools/
build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/j4/knwgm9f915q6kcwypd8hr25m0000gn/T/pip-
build-env-q132c6a_/overlay/lib/python3.10/site-packages/setuptools/
build_meta.py", line 313, in run_setup
exec(code, locals())
File "<string>", line 154, in <module>
File "<string>", line 129, in get_gdal_config
File "<string>", line 85, in get_gdal_config
File "<string>", line 85, in <dictcomp>
File "<string>", line 39, in read_response
File "/opt/anaconda3/envs/slime/lib/python3.10/[Link]", line 420, in
check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/opt/anaconda3/envs/slime/lib/python3.10/[Link]", line 501, in
run
with Popen(*popenargs, **kwargs) as process:
File "/opt/anaconda3/envs/slime/lib/python3.10/[Link]", line 969, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/anaconda3/envs/slime/lib/python3.10/[Link]", line 1845, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with
pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.


╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

failed

You might also like