mar10 / pyftpsync

Synchronize directories using FTP(S), SFTP, or file system access.
https://pyftpsync.readthedocs.io
MIT License
117 stars 25 forks source link

error install in python 3.5 on windows #11

Closed wannaphong closed 6 years ago

wannaphong commented 8 years ago

I using python 3.5 on windows.

C:\Users\name>pip install  https://github.com/mar10/pyftpsync/archive/master.zip
Collecting https://github.com/mar10/pyftpsync/archive/master.zip
  Downloading https://github.com/mar10/pyftpsync/archive/master.zip (144kB)
    100% |################################| 153kB 13kB/s
Requirement already satisfied (use --upgrade to upgrade): colorama in c:\winpython-64bit-35\python-3.5.1.amd64\lib\site-packages (from pyftpsync==1.0.4.dev20160912)
Requirement already satisfied (use --upgrade to upgrade): keyring in c:\winpython-64bit-35\python-3.5.1.amd64\lib\site-packages (from pyftpsync==1.0.4.dev20160912)
Requirement already satisfied (use --upgrade to upgrade): pywin32-ctypes; sys_platform == "win32" in c:\winpython-64bit-35\python-3.5.1.amd64\lib\site-packages (from keyring->pyftpsync==1.0.4.dev20160912)
Installing collected packages: pyftpsync
  Running setup.py install for pyftpsync ... error
    Complete output from command C:\WinPython-64bit-35\python-3.5.1.amd64\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\B15D~1\\AppData\\Local\\Temp\\pip-76zjhw99-build\\setup.py';exec(compile(getattr(to
kenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\B15D~1\AppData\Local\Temp\pip-1no0bm_5-record\install-record.txt --single-version-externally-managed --compile:
    Initializing HOME environment variable to '\Users\วรรณพงษ์'
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help

    error: option --single-version-externally-managed not recognized

    ----------------------------------------
Command "C:\WinPython-64bit-35\python-3.5.1.amd64\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\B15D~1\\AppData\\Local\\Temp\\pip-76zjhw99-build\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__
file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\B15D~1\AppData\Local\Temp\pip-1no0bm_5-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in
C:\Users\B15D~1\AppData\Local\Temp\pip-76zjhw99-build\
mar10 commented 8 years ago

Seems to work here (Windows 10), maybe you pip is too old, or has a problem with special chars in the environment HOME var...

(tmp35) C:\Prj\git\pyftpsync>pip install  https://github.com/mar10/pyftpsync/archive/master.zip
Collecting https://github.com/mar10/pyftpsync/archive/master.zip
  Downloading https://github.com/mar10/pyftpsync/archive/master.zip
     | 153kB 816kB/s
Collecting colorama (from pyftpsync==1.0.4.dev20160913)
  Using cached colorama-0.3.7-py2.py3-none-any.whl
Collecting keyring (from pyftpsync==1.0.4.dev20160913)
  Downloading keyring-9.3.1-py2.py3-none-any.whl
Collecting pywin32-ctypes (from keyring->pyftpsync==1.0.4.dev20160913)
  Downloading pywin32-ctypes-0.0.1.tar.gz
Installing collected packages: colorama, pywin32-ctypes, keyring, pyftpsync
  Running setup.py install for pywin32-ctypes ... done
  Running setup.py install for pyftpsync ... done
Successfully installed colorama-0.3.7 keyring-9.3.1 pyftpsync-1.0.4.dev20160913 pywin32-ctypes-0.0.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
wannaphong commented 8 years ago

Yes , my environment HOME is thai language.

mar10 commented 8 years ago

Are you using the latest pip version?

wannaphong commented 8 years ago

Yes , I are using the latest pip version.

C:\Users\วรรณพงษ์>pip show pip
---
Metadata-Version: 2.0
Name: pip
Version: 8.1.2
...
mar10 commented 8 years ago
wannaphong commented 8 years ago
mar10 commented 6 years ago

No other users reported this, si I amlosing for now, may be it's solved by the recent version. Will re-open as needed.