1/31/2024 0 Comments Thonny install adc0832 library![]() The reason why it works when using the GitHub link is because pip will download the full repository's snapshot (zipball, which contains the README.rst file) instead of the broken archive from PyPI (which does not). or for Python 2: piraspberrypi: sudo pip install gpiozero. Install pip using get-pip and then type: piraspberrypi: sudo pip3 install gpiozero. In that case adjust the master to the commit hash pip install If you’re using another operating system on your Raspberry Pi, you may need to use pip to install GPIO Zero instead. If you want the exact version, there's no branch or tag for you, but it might be this commit judging by the date of the PyPI package release. # edit the setup.py to remove the open() functionĪlternatively, install from GitHub: pip install Download the archive manually, open setup.py remove the function reading the README.rst and then install manually. The maintainer forgot to package the README.rst file into the tar.gz archive (Python package's source distribution most likely) with setup.py instructions, so it's failing. The error message from thonny's pip window: Collecting PyDEĮRROR: Command errored out with exit status 1:Ĭommand: 'C:\Users\charlie\AppData\Local\Programs\Thonny\python.exe' -c 'import sys, setuptools, tokenize sys.argv = '"'"'C:\\Users\\charlie\\AppData\\Local\\Temp\\pip-install-jraruxxv\\PyDE\\setup.py'"'"' _file_='"'"'C:\\Users\\charlie\\AppData\\Local\\Temp\\pip-install-jraruxxv\\PyDE\\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 'C:\Users\charlie\AppData\Local\Temp\pip-pip-egg-info-wu08p02b'Ĭwd: C:\Users\charlie\AppData\Local\Temp\pip-install-jraruxxv\PyDE\įile "C:\Users\charlie\AppData\Local\Temp\pip-install-jraruxxv\PyDE\setup.py", line 5, in įileNotFoundError: No such file or directory: 'README.rst'ĮRROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. I'm not the most knowledgeable with pip or what the errors mean so if you can help out I'd really appreciate it. How to Install Thonny on Windows Python Programming Tutorial for Beginners choobtorials 2.41K subscribers Subscribe 78 Share Save 10K views 2 years ago Python Programming Course for Beginners. Whenever I try to install the library in thonny, I get an error (listed below). I'm trying to install the library PyDE to run a differential evolution on an equation I've made.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |