Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install infrapy on Ubuntu system (error during installing Pip dependencies) #15

Open
zzadiues3338 opened this issue Feb 28, 2022 · 0 comments

Comments

@zzadiues3338
Copy link

Howdy Infrapy team,

I am unable to complete the installation of Infrapy on my Ubuntu 20 system.
It threw an error When the installation reached the 'pip dependencies'.
I am sharing messages below of the installation for your reference.
I downloaded the ZIP file, extracted the contents and started with create..yml line.

After the pip error, I can activate the environment, but infrapy is not detected as a module. So I am unable to run the supplied notebooks.

Thank you for your time.
Sincerely,
Aditya Chakravarty, PhD candidate, Texas A&M University


` Using cached pathos-0.2.8-py2.py3-none-any.whl (81 kB)
Requirement already satisfied: numba in /home/aditya/anaconda3/envs/infrapy_env/lib/python3.8/site-packages (from infrapy==0.3.3->-r /home/aditya/Desktop/infrapy/condaenv.xo0msxvz.requirements.txt (line 2)) (0.55.1)
Requirement already satisfied: pyqtgraph in /home/aditya/anaconda3/envs/infrapy_env/lib/python3.8/site-packages (from infrapy==0.3.3->-r /home/aditya/Desktop/infrapy/condaenv.xo0msxvz.requirements.txt (line 2)) (0.12.3)
Collecting pathlib
Using cached pathlib-1.0.1.tar.gz (49 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'

Pip subprocess error:
Running command git clone --filter=blob:none --quiet https://github.com/LANL-Seismoacoustics/pisces.git /tmp/pip-install-euks8mjm/pisces_d298bb7d070849f986ba10ecc12c8c7f
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-euks8mjm/pathlib_4acc3fe60ac04931859ef192fedaf6b7/setup.py", line 6, in
setup(
File "/home/aditya/anaconda3/envs/infrapy_env/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 109, in setup
_setup_distribution = dist = klass(attrs)
File "/home/aditya/anaconda3/envs/infrapy_env/lib/python3.8/site-packages/setuptools/dist.py", line 456, in init
for ep in metadata.entry_points(group='distutils.setup_keywords'):
File "/home/aditya/anaconda3/envs/infrapy_env/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/init.py", line 999, in entry_points
return SelectableGroups.load(eps).select(**params)
File "/home/aditya/anaconda3/envs/infrapy_env/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/init.py", line 449, in load
ordered = sorted(eps, key=by_group)
File "/home/aditya/anaconda3/envs/infrapy_env/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/init.py", line 997, in
dist.entry_points for dist in unique(distributions())
File "/home/aditya/anaconda3/envs/infrapy_env/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/init.py", line 609, in entry_points
return EntryPoints._from_text_for(self.read_text('entry_points.txt'), self)
File "/home/aditya/anaconda3/envs/infrapy_env/lib/python3.8/site-packages/setuptools/_vendor/importlib_metadata/init.py", line 917, in read_text
return self._path.joinpath(filename).read_text(encoding='utf-8')
AttributeError: 'PosixPath' object has no attribute 'read_text'
[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
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant