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 not update #1854

Open
Baeckchen opened this issue Oct 3, 2023 · 4 comments
Open

can not update #1854

Baeckchen opened this issue Oct 3, 2023 · 4 comments

Comments

@Baeckchen
Copy link

Hello,
I try to update my bcnc version (now 0.9.14-dev) on a rasperry pi 3 but it run into an error.
What can I do ?

pi@Fraese:~ $ pip install --upgrade bCNC Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting bCNC Using cached https://files.pythonhosted.org/packages/2d/be/4a49fa0b2e89ccaad0da8bd14f5dffe492c9de6b1c8c4524b0ca1234bf5b/bCNC-0.9.15.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-AwXvtE/bCNC/setup.py", line 4, in <module> from setuptools import find_namespace_packages, setup ImportError: cannot import name find_namespace_packages ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-AwXvtE/bCNC/

@ailrst
Copy link

ailrst commented Oct 21, 2023

Have you tried updating pip?

pip install --upgrade pip

@Baeckchen
Copy link
Author

I think i´ve an old Python version :-(

pi@Fraese:~ $ pip install --upgrade pip DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already up-to-date: pip in ./.local/lib/python2.7/site-packages (20.3.4) pi@Fraese:~ $ pip install --upgrade bCNC DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting bCNC Using cached bCNC-0.9.15.tar.gz (1.3 MB) ERROR: Command errored out with exit status 1: command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hCgI0m/bcnc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-hCgI0m/bcnc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-le_eJW cwd: /tmp/pip-install-hCgI0m/bcnc/ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-hCgI0m/bcnc/setup.py", line 4, in <module> from setuptools import find_namespace_packages, setup ImportError: cannot import name find_namespace_packages ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@ailrst
Copy link

ailrst commented Oct 23, 2023

I fixed this by re-installing the latest version of Raspbian so I could install python3 and install bcnc with pip3, but if your raspbian isn't too old you may just be able to install a newer Python.

@Baeckchen
Copy link
Author

Thanks for your help, I´ll think I have to upgrade my hard- and software :-(

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

2 participants