kootenpv / sky

:sunrise: next generation web crawling using machine intelligence
BSD 3-Clause "New" or "Revised" License
329 stars 44 forks source link

import sky - Anaconda No module named 'sky.view'; 'sky' is not a package #10

Open MindaugasVaitkus2 opened 6 years ago

MindaugasVaitkus2 commented 6 years ago

Anaconda distribution in python 3 does not find module sky. How to fix it? I install module today, I checked issues the version is newest.

(py36) C:\Users\User\Anaconda3\envs\py36\Lib\site-packages\sky>python Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import sky Traceback (most recent call last): File "", line 1, in File "C:\Users\User\Anaconda3\envs\py36\Lib\site-packages\sky\sky.py", line 5, in from sky.view import view ModuleNotFoundError: No module named 'sky.view'; 'sky' is not a package

kootenpv commented 6 years ago

Please try again, should be fixed as of 0.0.201

MindaugasVaitkus2 commented 6 years ago

I successfully installed version 0.0.201 using pip3 install -U sky

Installing collected packages: sky Found existing installation: sky 0.0.199 Uninstalling sky-0.0.199: Successfully uninstalled sky-0.0.199 Successfully installed sky-0.0.201

MindaugasVaitkus2 commented 6 years ago

I get new error. 1) Use pip3 install ZODB zodbpickle to install, or use a different backend. 2) After I install ModuleNotFoundError: No module named 'sky.view'; 'sky' is not a package.

(py36) C:\Users\User\Desktop\Documents\GitHub\sky>from sky.crawler_plugins import CrawlFilePluginNews 'from' is not recognized as an internal or external command, operable program or batch file.

(py36) C:\Users\User\Desktop\Documents\GitHub\sky>python Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import sky from sky.crawler_services import CrawlFileService ZODB not properly installed and cannot be used as data backend. Use pip3 install ZODB zodbpickle to install, or use a different backend. from sky.crawler_plugins import CrawlFilePluginNews Optional ZODB not possible as backend. Use pip3 install ZODB zodbpickle

After ZODB zodbpickle installation.

(py36) C:\Users\User\Desktop\Documents\GitHub\sky\sky>python Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import sky Traceback (most recent call last): File "", line 1, in File "C:\Users\User\Desktop\Documents\GitHub\sky\sky\sky.py", line 5, in from sky.view import view ModuleNotFoundError: No module named 'sky.view'; 'sky' is not a package from sky.crawler_services import CrawlFileService Traceback (most recent call last): File "", line 1, in File "C:\Users\User\Desktop\Documents\GitHub\sky\sky\sky.py", line 5, in from sky.view import view ModuleNotFoundError: No module named 'sky.view'; 'sky' is not a package from sky.crawler_plugins import CrawlFilePluginNews Traceback (most recent call last): File "", line 1, in File "C:\Users\User\Desktop\Documents\GitHub\sky\sky\sky.py", line 5, in from sky.view import view ModuleNotFoundError: No module named 'sky.view'; 'sky' is not a package