GithubHelp home page GithubHelp logo

Comments (4)

wangzihe1996 avatar wangzihe1996 commented on July 16, 2024

对,这个确实。你可以下载 GitHub 上当前的源代码,进入到文件夹后,使用 pip install -e . 安装,这个会在下个版本中修复。

from quantum.

skywalk163 avatar skywalk163 commented on July 16, 2024

pip install -e .之后,还是看不到

import paddle_quantum
dir(paddle_quantum)

['__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__spec__',
 '__version__',
 'circuit',
 'intrinsic',
 'name',
 'shadow',
 'simulator',
 'state',
 'utils']

代码里明明有的,不明白为啥拿不到。

from quantum.

wangzihe1996 avatar wangzihe1996 commented on July 16, 2024

应该是能拿到的,我试了下,是可以用的。或者你在 Quantum 文件夹下用 python setup.py sdist bdist_wheel 生成一下 whl 包(在文件夹下的 dist 文件夹中),然后在 dist 文件夹中用 pip install ./paddle_quantum-2.1.3-py3-none-any.whl 试试,这个我测试也是可以的。

from quantum.

skywalk163 avatar skywalk163 commented on July 16, 2024

使用了最新给的2.1.3版本,在AIStudio环境下正常了。

from quantum.

Related Issues (20)

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.