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

Install error #6

Open
samIndeed opened this issue Jul 26, 2021 · 6 comments
Open

Install error #6

samIndeed opened this issue Jul 26, 2021 · 6 comments

Comments

@samIndeed
Copy link

Hi, when I try to install I get an error. The error below is from a Mac, but on linux I get the same thing (with some different line numbers)

I did a pip install (I fixed a typo and changed a : to a /). So I entered

pip install git+https://github.com/aristoteleo/Scribe-py

and got the output below. Thanks for taking a look!

Collecting git+https://github.com/aristoteleo/Scribe-py
Cloning https://github.com/aristoteleo/Scribe-py to /private/var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/pip-req-build-zoh5p0rp
Running command git clone -q https://github.com/aristoteleo/Scribe-py /private/var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/pip-req-build-zoh5p0rp
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /opt/anaconda3/bin/python /opt/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/tmpc8h1o041
cwd: /private/var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/pip-req-build-zoh5p0rp
Complete output (28 lines):
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in
main()
File "/opt/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 110, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/private/var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/pip-build-env-ys8mlda8/overlay/lib/python3.7/site-packages/flit_core/buildapi.py", line 46, in prepare_metadata_for_build_wheel
metadata = make_metadata(module, ini_info)
File "/private/var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/pip-build-env-ys8mlda8/overlay/lib/python3.7/site-packages/flit_core/common.py", line 392, in make_metadata
md_dict.update(get_info_from_module(module, ini_info.dynamic_metadata))
File "/private/var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/pip-build-env-ys8mlda8/overlay/lib/python3.7/site-packages/flit_core/common.py", line 189, in get_info_from_module
docstring, version = get_docstring_and_version_via_import(target)
File "/private/var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/pip-build-env-ys8mlda8/overlay/lib/python3.7/site-packages/flit_core/common.py", line 165, in get_docstring_and_version_via_import
m = sl.load_module()
File "", line 407, in _check_name_wrapper
File "", line 907, in load_module
File "", line 732, in load_module
File "", line 265, in _load_module_shim
File "", line 696, in _load
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/private/var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/pip-req-build-zoh5p0rp/Scribe/init.py", line 13, in
from . import pl
File "/private/var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/pip-req-build-zoh5p0rp/Scribe/pl.py", line 4, in
from Scribe.plot import *
ModuleNotFoundError: No module named 'Scribe'
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/anaconda3/bin/python /opt/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /var/folders/yd/lvv_242j0_j38xt5p54y2q8w0000gn/T/tmpc8h1o041 Check the logs for full command output.

@khanthanan
Copy link

@samIndeed,
did you manage to fix this issue? I'm also having the same issue.

@zsteve
Copy link

zsteve commented Mar 30, 2022

I'm having the same issue here. Any input @Xiaojieqiu ?

@astrophys
Copy link

I'm having a similar issue.

@BW15061999
Copy link

I installed successfully with python setup.py install

@buttercutter
Copy link

When I run python setup.py install --user , it gave me some package dependency error : error: numpy 1.24.2 is installed but numpy<1.24,>=1.18 is required by {'numba'}

@danbiv
Copy link

danbiv commented Dec 7, 2023

Fixed by deleting the word Scribe from the file pl.py so the line is:

from .plot import *

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

7 participants