- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我目前使用的是 Python 3.6.3 |Anaconda 定制版(64 位),我的 pip 版本是 18.1。
我正在按照 GitHub 中的基本安装步骤安装 InstaPy 但无法完成第 3 步:( https://github.com/timgrossmann/InstaPy#basic-installation )
将其放入/assets 文件夹中。
但是,我无法进行第 3 步。
如果我执行“python setup.py install”,我将收到以下大量错误消息。
C:\ProgramData\Anaconda3\Scripts\InstaPy>python setup.py install
C:\ProgramData\Anaconda3\lib\distutils\dist.py:261: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
running install
running bdist_egg
running egg_info
writing instagram_py.egg-info\PKG-INFO
writing dependency_links to instagram_py.egg-info\dependency_links.txt
writing requirements to instagram_py.egg-info\requires.txt
writing top-level names to instagram_py.egg-info\top_level.txt
file i.py (for module i) not found
file n.py (for module n) not found
file s.py (for module s) not found
file t.py (for module t) not found
file a.py (for module a) not found
file p.py (for module p) not found
file y.py (for module y) not found
reading manifest file 'instagram_py.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'db'
writing manifest file 'instagram_py.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
file i.py (for module i) not found
file n.py (for module n) not found
file s.py (for module s) not found
file t.py (for module t) not found
file a.py (for module a) not found
file p.py (for module p) not found
file y.py (for module y) not found
file i.py (for module i) not found
file n.py (for module n) not found
file s.py (for module s) not found
file t.py (for module t) not found
file a.py (for module a) not found
file p.py (for module p) not found
file y.py (for module y) not found
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\clarifai_util.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\commenters_util.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\comment_util.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\database_engine.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\feed_util.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\instapy.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\like_util.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\login_util.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\monkey_patcher.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\print_log_writer.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\quota_supervisor.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\relationship_tools.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\settings.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\time_util.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\unfollow_util.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\util.py -> build\bdist.win-amd64\egg\instapy
copying build\lib\instapy\__init__.py -> build\bdist.win-amd64\egg\instapy
byte-compiling build\bdist.win-amd64\egg\instapy\clarifai_util.py to clarifai_util.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\commenters_util.py to commenters_util.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\comment_util.py to comment_util.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\database_engine.py to database_engine.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\feed_util.py to feed_util.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\instapy.py to instapy.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\like_util.py to like_util.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\login_util.py to login_util.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\monkey_patcher.py to monkey_patcher.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\print_log_writer.py to print_log_writer.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\quota_supervisor.py to quota_supervisor.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\relationship_tools.py to relationship_tools.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\settings.py to settings.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\time_util.py to time_util.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\unfollow_util.py to unfollow_util.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\util.py to util.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\instapy\__init__.py to __init__.cpython-36.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying instagram_py.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying instagram_py.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying instagram_py.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying instagram_py.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying instagram_py.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
instapy.__pycache__.settings.cpython-36: module references __file__
creating 'dist\instagram_py-0.0.1-py3.6.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing instagram_py-0.0.1-py3.6.egg
removing 'c:\programdata\anaconda3\lib\site-packages\instagram_py-0.0.1-py3.6.egg' (and everything under it)
creating c:\programdata\anaconda3\lib\site-packages\instagram_py-0.0.1-py3.6.egg
Extracting instagram_py-0.0.1-py3.6.egg to c:\programdata\anaconda3\lib\site-packages
instagram-py 0.0.1 is already the active version in easy-install.pth
Installed c:\programdata\anaconda3\lib\site-packages\instagram_py-0.0.1-py3.6.egg
Processing dependencies for instagram-py==0.0.1
Searching for grpcio<2,>=1.13.0
Reading https://pypi.python.org/simple/grpcio/
Downloading https://files.pythonhosted.org/packages/f3/24/53e18e2c95b46bdb364019e78b96187e263c79166bfee44be9e2554307a4/grpcio-1.16.0rc1.tar.gz#sha256=fc3ae6a062dfc1dee9dae524164bd1bb1f61929b1d3f0727ac889e08b0979702
Best match: grpcio 1.16.0rc1
Processing grpcio-1.16.0rc1.tar.gz
Writing C:\Users\username\AppData\Local\Temp\easy_install-kylgce_3\grpcio-1.16.0rc1\setup.cfg
Running grpcio-1.16.0rc1\setup.py -q bdist_egg --dist-dir C:\Users\username\AppData\Local\Temp\easy_install-kylgce_3\grpcio-1.16.0rc1\egg-dist-tmp-aw1tcwnv
Found cython-generated files...
warning: no files found matching '*.c' under directory 'src\python\grpcio\grpc'
warning: no files found matching '*.h' under directory 'src\python\grpcio\grpc'
warning: no files found matching '*.python' under directory 'src\python\grpcio\grpc'
warning: no previously-included files matching '*.so' found under directory 'src\python\grpcio\grpc\_cython'
warning: no previously-included files matching '*.pyd' found under directory 'src\python\grpcio\grpc\_cython'
warning: no files found matching 'src\python\grpcio\precompiled.py'
Found cython-generated files...
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cygrpc.cpp
c:\programdata\anaconda3\include\pyconfig.h(119): warning C4005: 'MS_WIN64': macro redefinition
c:\programdata\anaconda3\include\pyconfig.h(119): note: command-line arguments: see previous definition of 'MS_WIN64'
.\src/core/lib/iomgr/gevent_util.h(43): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
src\python\grpcio\grpc/_cython/cygrpc.cpp(1365): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
a.c
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\distutils\_msvccompiler.py", line 423, in compile
self.spawn(args)
File "C:\ProgramData\Anaconda3\lib\distutils\_msvccompiler.py", line 542, in spawn
return super().spawn(cmd)
File "C:\Users\username\AppData\Local\Temp\easy_install-kylgce_3\grpcio-1.16.0rc1\src\python\grpcio\_spawn_patch.py", line 54, in _commandfile_spawn
File "C:\ProgramData\Anaconda3\lib\distutils\ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "C:\ProgramData\Anaconda3\lib\distutils\spawn.py", line 38, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "C:\ProgramData\Anaconda3\lib\distutils\spawn.py", line 81, in _spawn_nt
"command %r failed with exit status %d" % (cmd, rc))
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\username\AppData\Local\Temp\easy_install-kylgce_3\grpcio-1.16.0rc1\src\python\grpcio\commands.py", line 301, in build_extensions
File "C:\ProgramData\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 193, in build_extensions
self.build_extension(ext)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 533, in build_extension
depends=ext.depends)
File "C:\ProgramData\Anaconda3\lib\distutils\_msvccompiler.py", line 425, in compile
raise CompileError(msg)
distutils.errors.CompileError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 158, in save_modules
yield saved
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 199, in setup_context
yield
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 254, in run_setup
_execfile(setup_script, ns)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 49, in _execfile
exec(code, globals, locals)
File "C:\Users\username\AppData\Local\Temp\easy_install-kylgce_3\grpcio-1.16.0rc1\setup.py", line 348, in <module>
File "C:\ProgramData\Anaconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 169, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 155, in call_command
self.run_command(cmdname)
File "C:\ProgramData\Anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\ProgramData\Anaconda3\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\ProgramData\Anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 75, in run
_build_ext.run(self)
File "C:\ProgramData\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 185, in run
_build_ext.build_ext.run(self)
File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Users\username\AppData\Local\Temp\easy_install-kylgce_3\grpcio-1.16.0rc1\src\python\grpcio\commands.py", line 306, in build_extensions
commands.CommandError: Failed `build_ext` step:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\distutils\_msvccompiler.py", line 423, in compile
self.spawn(args)
File "C:\ProgramData\Anaconda3\lib\distutils\_msvccompiler.py", line 542, in spawn
return super().spawn(cmd)
File "C:\Users\username\AppData\Local\Temp\easy_install-kylgce_3\grpcio-1.16.0rc1\src\python\grpcio\_spawn_patch.py", line 54, in _commandfile_spawn
_classic_spawn(self, command)
File "C:\ProgramData\Anaconda3\lib\distutils\ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "C:\ProgramData\Anaconda3\lib\distutils\spawn.py", line 38, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "C:\ProgramData\Anaconda3\lib\distutils\spawn.py", line 81, in _spawn_nt
"command %r failed with exit status %d" % (cmd, rc))
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\username\AppData\Local\Temp\easy_install-kylgce_3\grpcio-1.16.0rc1\src\python\grpcio\commands.py", line 301, in build_extensions
build_ext.build_ext.build_extensions(self)
File "C:\ProgramData\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 193, in build_extensions
self.build_extension(ext)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "C:\ProgramData\Anaconda3\lib\distutils\command\build_ext.py", line 533, in build_extension
depends=ext.depends)
File "C:\ProgramData\Anaconda3\lib\distutils\_msvccompiler.py", line 425, in compile
raise CompileError(msg)
distutils.errors.CompileError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 65, in <module>
platforms=["win32", "linux", "linux2", "darwin"]
File "C:\ProgramData\Anaconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\ProgramData\Anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\install.py", line 117, in do_egg_install
cmd.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 411, in run
self.easy_install(spec, not self.no_deps)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 653, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 700, in install_item
self.process_distribution(spec, dist, deps)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 745, in process_distribution
[requirement], self.local_index, self.easy_install
File "C:\ProgramData\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 863, in resolve
replace_conflicting=replace_conflicting
File "C:\ProgramData\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 1141, in best_match
return self.obtain(req, installer)
File "C:\ProgramData\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 1153, in obtain
return installer(requirement)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 672, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 698, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 879, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 1118, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\command\easy_install.py", line 1104, in run_setup
run_setup(setup_script, args)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 257, in run_setup
raise
File "C:\ProgramData\Anaconda3\lib\contextlib.py", line 99, in __exit__
self.gen.throw(type, value, traceback)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 199, in setup_context
yield
File "C:\ProgramData\Anaconda3\lib\contextlib.py", line 99, in __exit__
self.gen.throw(type, value, traceback)
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 170, in save_modules
saved_exc.resume()
File "C:\ProgramData\Anaconda3\lib\site-packages\setuptools\sandbox.py", line 144, in resume
type, exc = map(pickle.loads, self._saved)
ModuleNotFoundError: No module named 'commands'
C:\ProgramData\Anaconda3\Scripts\InstaPy>
最佳答案
我遇到了同样的问题,但通过运行解决了它: 点安装。在 InstaPy 文件夹(根)
关于python-3.x - 使用python setup.py install时InstaPy安装报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52764464/
我是 Maven 新手,正在尝试了解它是如何工作的。 我知道生命周期由多个阶段组成。阶段称为他们的魔力。如果调用一个阶段,则前面的所有阶段也会执行。例如,当我调用 mvn install 时就会发生这
我想安装Ros(机器人操作系统)的驱动程序,我有两个选项:二进制安装和从源代码编译安装。我想知道哪种安装更好,每种安装有哪些优点和缺点。 最佳答案 源:又称源代码,通常位于某种 tarball 或 z
以及更具体的问题。我的理解对吗: “nuget install”总是安装到您运行它的目录吗? “choco install”安装到特殊的 choco 目录,然后运行脚本在系统中传播它? “nuget
我创建了 Android 项目,但随后我立即得到出现错误的信息。 Warning:(22, 12) Dependency on a support library, but the SDK insta
我的安装程序有 32 位和 64 位版本,它们具有(几乎)完全相同的代码和自定义操作序列(只有与此问题无关的细微差别) 我希望我的安装程序能够检测它之前是否已安装,并在这种情况下运行我自己的代码,而不
我在TFS版本中使用npm install cmd。我总是得到以下警告: npm WARN optional dep failed, continuing fsevents@0.3.1 如何删除此警告
是否可以将install(TARGETS ...)与在add_subdirectory添加的目录中定义的目标一起使用? 我的用例是,我想为gtest构建一个rpm的e.gg。 gtest项目恰好有一个
我需要使用 MSI 创建安装程序,其目的是根据用户的区域(从环境变量读取)调用正确的安装程序。也就是说,这个安装程序应该有 3 个文件(它们本身就是安装程序),一个用于美国,一个用于欧洲,一个用于亚洲
我正在尝试通过 Android Studio 3.5 在我的小米 RedMi S2 上运行我的应用程序。在手机上安装应用程序时抛出错误: Installation did not succeed. T
使用govendor时,go install、govendor install +local和govendor install +vendor,^program有什么区别? govendor inst
我用谷歌搜索了很多,但找不到答案。因此,在 Windows Installer 属性值中可以存储多少个字符。如果你给出答案,你能提供答案的来源吗? 最佳答案 我问 Windows Installer
Cuda v9.0 有几个补丁 我应该安装最新补丁还是安装所有补丁? https://developer.nvidia.com/cuda-90-download-archive?target_os=W
我正在尝试通过它的文档安装 phalcon!在这一步我有一个错误: installation/FreeBSD Command: pkg_add -r phalcon 错误: 'pkg_add' is
我有一个安装,如果应用程序退出,它会升级该应用程序的先前版本。当安装处于升级模式时,我想跳过某些操作。如何确定安装是在升级模式还是首次安装模式下运行? 我正在使用 Wise Installer,但我认
MSI 数据库包含一个表 MsiFileHash 。根据文档MsiFileHash 表用于存储 Windows Installer 包提供的源文件的 128 位哈希。 有人知道使用/应该使用什么哈希算
我尝试在本地和全局运行 npm install browserify (-g) 但我总是遇到以下错误 npm ERR! peerinvalid The package bn.js does not s
我有一个用于我正在构建的 python 模块的 SConstruct 文件: import distutils.sysconfig env = Environment(CPPPATH=['includ
使用 Installshield 2010 和 Basic MSI 项目。 我有一个之前由我的安装程序安装的 exe。该 exe 需要在安装程序升级期间运行。有没有办法保证安装程序不会尝试关闭进程?基
我是围棋初学者。我试图编译一个 go 项目,但找不到任何解释“/...”的文档或文章。 cd ~/src/ephenation-server go install -v ./... 等待您的帮助。 最
我试过在选择和不选择‘安装Mongo指南针’选项的情况下运行安装程序,但我仍然无法安装它,也无法取消安装。然后,此设置对话冻结20-30分钟以上,没有任何进展。这实际上就是从他们的website(ht
我是一名优秀的程序员,十分优秀!