GithubHelp home page GithubHelp logo

stock-quotes's Issues

您好!我在Pycharm打开这个项目代码,有一个依赖叫pinyin的没法在阿里云下载?

您好! 感谢您的分享。

问题如题:我在Pycharm打开这个项目代码,有一个依赖叫pinyin的没法在阿里云下载?

Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

WARNING: The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host mirrors.aliyun.com'.
ERROR: Could not find a version that satisfies the requirement pinyin (from versions: none)
ERROR: No matching distribution found for pinyin

python 3.9.7

conda activate D:\anaconda
D:\anaconda\python.exe D:/Program Files/JetBrains/PyCharm 2022.3.2/plugins/python/helpers/packaging_tool.py install pinyin --index-url http://mirrors.aliyun.com/pypi/simple/

pycharm运行出错了。

D:\anaconda\python.exe D:\Python-proj\Github\stock-quotes-main\mainwindow.py
Traceback (most recent call last):
File "D:\anaconda\lib\tokenize.py", line 330, in find_cookie
line_string = line.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Python-proj\Github\stock-quotes-main\mainwindow.py", line 5, in
import worldIndex,drawTimeShare,drawCandle,globalVariable,getDate,tableStock,baseInformation
File "D:\Python-proj\Github\stock-quotes-main\tableStock.py", line 7, in
import getEastData
File "D:\Python-proj\Github\stock-quotes-main\getEastData.py", line 7, in
import py_mini_racer
File "D:\anaconda\lib\site-packages\py_mini_racer_init_.py", line 1, in
from . import py_mini_racer
File "D:\anaconda\lib\site-packages\py_mini_racer\py_mini_racer.py", line 13, in
import pkg_resources
File "D:\anaconda\lib\site-packages\pkg_resources_init_.py", line 74, in
from pkg_resources.extern import appdirs
File "", line 1007, in find_and_load
File "", line 986, in find_and_load_unlocked
File "", line 666, in load_unlocked
File "", line 565, in module_from_spec
File "D:\anaconda\lib\site-packages\pkg_resources\extern_init
.py", line 52, in create_module
return self.load_module(spec.name)
File "D:\anaconda\lib\site-packages\pkg_resources\extern_init
.py", line 37, in load_module
import(extant)
File "D:\anaconda\lib\site-packages\pkg_resources_vendor\appdirs.py", line 560, in
import win32com.shell
File "D:\anaconda\lib\site-packages\win32com_init.py", line 6, in
import pythoncom
File "D:\anaconda\lib\site-packages\pythoncom.py", line 2, in
import pywintypes
File "shibokensupport/signature/loader.py", line 61, in feature_imported
File "shibokensupport/feature.py", line 137, in feature_imported
File "shibokensupport/feature.py", line 148, in _mod_uses_pyside
File "D:\anaconda\lib\inspect.py", line 1024, in getsource
lines, lnum = getsourcelines(object)
File "D:\anaconda\lib\inspect.py", line 1006, in getsourcelines
lines, lnum = findsource(object)
File "D:\anaconda\lib\inspect.py", line 831, in findsource
lines = linecache.getlines(file, module.dict)
File "D:\anaconda\lib\linecache.py", line 46, in getlines
return updatecache(filename, module_globals)
File "D:\anaconda\lib\linecache.py", line 136, in updatecache
with tokenize.open(fullname) as fp:
File "D:\anaconda\lib\tokenize.py", line 394, in open
encoding, lines = detect_encoding(buffer.readline)
File "D:\anaconda\lib\tokenize.py", line 371, in detect_encoding
encoding = find_cookie(first)
File "D:\anaconda\lib\tokenize.py", line 335, in find_cookie
raise SyntaxError(msg)
SyntaxError: invalid or missing encoding declaration for 'D:\anaconda\lib\site-packages\win32\pywintypes39.dll'

Process finished with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.