Messy Potamia <[email protected]>
9:53 AM (2 minutes ago)
to weewx-user
And let me tell you there are still problems regarding python version,
setuptools version,; this is turning into a dog's breakfast.
My pip isthe latest version I have ascertained. But cryptography won't
install.
sudo pip -V
pip 20.1.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7
)ode here...
--- but ---
Successfully built pysftp pynacl bcrypt
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot
be installed directly
This is a PI3B (a02082) on Jessie lite.
On Tuesday, May 26, 2020 at 9:38:48 AM UTC+2, Messy Potamia wrote:
>
> Here's what I did to allow pysftp module to install via pip. I found this
> on a RaspberryPi forum. You search on this problem and hits come from all
> over the place with no solutions, until I found this:
>
> sudo apt-get install python-pip
> pip install --user -U setuptools
> sudo pip install --upgrade pip
> sudo apt-get install libffi-dev
> sudo pip install pysftp #errors during pysftp install, " Building wheel
> for pynacl (PEP 517) ... \" still working...
>
> This is on my Pi3 running Jessie.
>
>
> On Tuesday, May 26, 2020 at 8:59:12 AM UTC+2, Messy Potamia wrote:
>>
>> Matt, I get the same result whether I invoke pip, pip2, pip3:
>> pi@RPI3:~ $ sudo pip2 install pysftp
>> Downloading/unpacking pysftp
>> Downloading pysftp-0.2.9.tar.gz
>> Running setup.py (path:/tmp/pip-build-QfuB69/pysftp/setup.py) egg_info
>> for package pysftp
>>
>> no previously-included directories found matching 'docs/_build'
>> Downloading/unpacking paramiko>=1.17 (from pysftp)
>> Downloading paramiko-2.7.1-py2.py3-none-any.whl (206kB): 206kB
>> downloaded
>> Cleaning up...
>> Exception:
>> Traceback (most recent call last):
>> File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122,
>> in main
>> status = self.run(options, args)
>> File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line
>> 290, in run
>> requirement_set.prepare_files(finder, force_root_egg_info=self.bundle
>> , bundle=self.bundle)
>> File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1266, in
>> prepare_files
>> req_to_install.extras):
>> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2401, in
>> requires
>> dm = self._dep_map
>> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2597, in
>> _dep_map
>> self.__dep_map = self._compute_dependencies()
>> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2630, in
>> _compute_dependencies
>> common = frozenset(reqs_for_extra(None))
>> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2627, in
>> reqs_for_extra
>> if req.marker_fn(override={'extra':extra}):
>> File "/usr/lib/python2.7/dist-packages/_markerlib/markers.py", line 113
>> , in marker_fn
>> return eval(compiled_marker, environment)
>> File "<environment marker>", line 1, in <module>
>> NameError: name 'platform_system' is not defined
>>
>> Storing debug log for failure in /root/.pip/pip.log
>>
>> I also tried apt-get install and it can't find the pkg.
>> The /root/.pip/pip.log is large
>> -rw-r--r-- 1 root root 84870 May 26 08:48 pip.log
>> and I more'd it but couldn't see anything that made sense to me.
>> Any ideas? btw I did download the rest of the pkg from github including
>> wget the generator, but probably shouldn't proceed until I can get pysftp
>> on my Pi.
>> Thanks!
>> ---------------------------
>>
>>
>>
>>
>> On Monday, May 25, 2020 at 10:49:00 PM UTC+2, mwall wrote:
>>>
>>>
>>>
>>> On Monday, May 25, 2020 at 3:56:16 PM UTC-4, Messy Potamia wrote:
>>>>
>>>> one.com's robotic tech support said they only do ftp, sftp, and ssh,
>>>> and don't support ftps. I don't think that offshore robot even knew what
>>>> ftps was.
>>>> So can somebody tell me about the thing that MWALL has on github?
>>>>
>>>
>>> as it says in the readme, it is a client that uses sftp (not ftps, not
>>> ftp)
>>>
>>> if you can connect to your sftp server using some other sftp client,
>>> then the weewx-sftp extension should work using the same
>>> credentials/parameters
>>>
>>> you can verify by invoking the weewx-sftp extension directly, for
>>> example:
>>>
>>> PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/sftp.py
>>> /home/weewx/weewx.conf
>>>
>>> change the paths if you are using a deb or rpm installation
>>>
>>> m
>>>
>>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/0d5ed4d5-f9ec-47d5-b8d9-b74cba16caae%40googlegroups.com.