Dear developers:
I have typed 'conda create --name yambopy python=3.7 scipy matplotlib netcdf4 matplotlib' to create the proper environment and then 'python setup.py install' to install the yambopy.But when I typed 'yambopy',There were some errors here:
(yambopy) [ycli@a01 yambopy-master]$ yambopy
Traceback (most recent call last):
File "/home/ycli/anaconda3/bin/yambopy", line 4, in <module>
__import__('pkg_resources').run_script('yambopy==0.1', 'yambopy')
File "/home/ycli/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3241, in <module>
@_call_aside
File "/home/ycli/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3225, in _call_aside
f(*args, **kwargs)
File "/home/ycli/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/ycli/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/home/ycli/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/ycli/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'netCDF4' distribution was not found and is required by yambopy
How can I fix this problem? Thanks for your help.
install errors in yambopy
Moderators: palful, amolina, mbonacci
-
- Posts: 48
- Joined: Thu Oct 17, 2019 5:26 am
install errors in yambopy
yifei liu
PhD student
Beijing Institute of Technology,China
PhD student
Beijing Institute of Technology,China
- palful
- Posts: 95
- Joined: Tue Jan 26, 2016 11:23 am
- Location: Modena and Milan
Re: install errors in yambopy
Dear Shan Dong,
It is possible that you don't have the python netCDF library installed.
Try typing
And then re-run the setup. Since you're at it, try also to check if the other required python modules mentioned in the installation instructions are present!
Let us know if it worked.
Cheers,
Fulvio
It is possible that you don't have the python netCDF library installed.
Try typing
Code: Select all
conda install netCDF4
Let us know if it worked.
Cheers,
Fulvio
Dr. Fulvio Paleari
S3-CNR Institute of Nanoscience and MaX Center
Modena, Italy
S3-CNR Institute of Nanoscience and MaX Center
Modena, Italy
-
- Posts: 48
- Joined: Thu Oct 17, 2019 5:26 am
Re: install errors in yambopy
Dear Fulvio,
These errors have been solved by typing'conda install abipy --channel abinit'
Thanks,
These errors have been solved by typing'conda install abipy --channel abinit'
Thanks,
yifei liu
PhD student
Beijing Institute of Technology,China
PhD student
Beijing Institute of Technology,China