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/035de97e-8904-4987-a1a7-0ce9259e57d5%40googlegroups.com.