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

Can't install the package #28

Open
yichuan1998 opened this issue Jun 20, 2024 · 3 comments
Open

Can't install the package #28

yichuan1998 opened this issue Jun 20, 2024 · 3 comments

Comments

@yichuan1998
Copy link

I followed the instructions:

git clone https://github.com/lthiery/SPI-Py.git
cd SPI-Py
sudo python setup.py install

and I got these:
image
I can't figure out this.
bg: raspberry 5b python3.12
image

@burkayedu
Copy link

same here, any solution?

@burkayedu
Copy link

I've resolve issue with "pip install -e ." .

@aldinesr
Copy link

same here:
` Preparing metadata (setup.py) ... done
Installing collected packages: SPI-Py
Running setup.py develop for SPI-Py
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
    /home/aldines/SPI-Files/SPI-Py/myenv/lib/python3.11/site-packages/setuptools/command/easy_install.py:146: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    /home/aldines/SPI-Files/SPI-Py/myenv/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    error: Cannot update time stamp of directory 'SPI_Py.egg-info'
    [end of output]

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

error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
/home/aldines/SPI-Files/SPI-Py/myenv/lib/python3.11/site-packages/setuptools/command/easy_install.py:146: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/home/aldines/SPI-Files/SPI-Py/myenv/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
error: Cannot update time stamp of directory 'SPI_Py.egg-info'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.`

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

3 participants