Comments (9)
@syther05 Have you tried installing via pip like the instructions say to do?
from pi-sht1x.
Yes,
I have just tried a clean install of archlinux on P3
installed;
python
python-setuptools
python-pip
then Run
# pip3 install pi-sht1x
Collecting pi-sht1x
Downloading pi-sht1x-1.0.8.tar.gz
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/pi_sht1x.egg-info
writing requirements to pip-egg-info/pi_sht1x.egg-info/requires.txt
writing top-level names to pip-egg-info/pi_sht1x.egg-info/top_level.txt
writing pip-egg-info/pi_sht1x.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/pi_sht1x.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/pi_sht1x.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/pi_sht1x.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-oi5wa4a3/pi-sht1x/setup.py", line 56, in <module>
'hardware', 'driver', 'ic'
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.5/site-packages/setuptools/command/egg_info.py", line 195, in run
self.find_sources()
File "/usr/lib/python3.5/site-packages/setuptools/command/egg_info.py", line 222, in find_sources
mm.run()
File "/usr/lib/python3.5/site-packages/setuptools/command/egg_info.py", line 308, in run
self.read_template()
File "/usr/lib/python3.5/distutils/command/sdist.py", line 309, in read_template
line = template.readline()
File "/usr/lib/python3.5/distutils/text_file.py", line 175, in readline
line = self.file.readline()
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
**UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)**
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-oi5wa4a3/pi-sht1x/
from pi-sht1x.
@syther05 I apologize for the delay getting back, life getting in the way...
Can you try pip installing the attached development package to see if this will install for you? Please let me know the outcome.
pip3 install pi-sht1x-1.0.9b0.tar.gz
from pi-sht1x.
@drohm Thank you, I appreciate your reply.
I downloaded the file, but still get this?
[alarm@alarmpi ~]$ sudo pip3 install pi-sht1x-1.0.9b0.tar.gz
[sudo] password for alarm:
Processing ./pi-sht1x-1.0.9b0.tar.gz
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/pi_sht1x.egg-info
writing requirements to pip-egg-info/pi_sht1x.egg-info/requires.txt
writing top-level names to pip-egg-info/pi_sht1x.egg-info/top_level.txt
writing dependency_links to pip-egg-info/pi_sht1x.egg-info/dependency_links.txt
writing pip-egg-info/pi_sht1x.egg-info/PKG-INFO
writing manifest file 'pip-egg-info/pi_sht1x.egg-info/SOURCES.txt'
/usr/lib/python3.5/site-packages/setuptools/dist.py:331: UserWarning: Normalizing '1.0.9b' to '1.0.9b0'
normalized_version,
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/pi_sht1x.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-_88sszvr-build/setup.py", line 56, in <module>
'hardware', 'driver', 'ic'
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.5/site-packages/setuptools/command/egg_info.py", line 195, in run
self.find_sources()
File "/usr/lib/python3.5/site-packages/setuptools/command/egg_info.py", line 222, in find_sources
mm.run()
File "/usr/lib/python3.5/site-packages/setuptools/command/egg_info.py", line 308, in run
self.read_template()
File "/usr/lib/python3.5/distutils/command/sdist.py", line 309, in read_template
line = template.readline()
File "/usr/lib/python3.5/distutils/text_file.py", line 175, in readline
line = self.file.readline()
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-_88sszvr-build/
from pi-sht1x.
Try this version:
from pi-sht1x.
Same error as before unfortunately .
Could there be any dependencies i'm missing?
I have a clean install of Archlinux running on a Pi3 B;
Linux alarmpi 4.4.22-1-ARCH #1 SMP Sat Sep 24 16:34:42 MDT 2016 armv7l GNU/Linux
pip3 is installed of course.
from pi-sht1x.
I'm looking into it still. I haven't tried running Arch on my Pi3 before so it may well be a dependency, but I'm not 100% sure. Check to see if python-dev is installed, and if not install it and try again. I'll keep investigating in the meantime.
from pi-sht1x.
I've sent a pull request fixing the issue:
#13
from pi-sht1x.
Merged.
from pi-sht1x.
Related Issues (14)
- failure to setup HOT 11
- default logging HOT 4
- SHT11 Sensor values exceeds 100% max limit HOT 1
- SHT1x failed to properly receive command HOT 7
- Is it working for Raspberry Pi 3? HOT 9
- Using pi-sht1x library simultaneously with another snesor which uses serial protocol
- Import problem HOT 1
- SHT1X failed to properly receive command [['WriteStatusRegister'] - 00000110] HOT 3
- Investigate SHT7x Support HOT 3
- Wrong formula used to calculate dew point HOT 3
- SHT1x failed to properly receive command HOT 13
- Stopping re-setting of GPIO's HOT 2
- sensor.py TypeError HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi-sht1x.