Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue install the library #3

Closed
sara-02 opened this issue Apr 2, 2019 · 1 comment
Closed

Issue install the library #3

sara-02 opened this issue Apr 2, 2019 · 1 comment

Comments

@sara-02
Copy link

sara-02 commented Apr 2, 2019

Hey, I wanted to give this library a try, so I did pip install pytorch-lightning, which gave the following error

C:\Users\cs>pip install pytorch-lightning
Collecting pytorch-lightning
  Using cached https://files.pythonhosted.org/packages/7e/3e/599dfe7b8c35ef9c72d
f4825d876c023fafe5e2618483ee3f3f2f4cdc3a9/pytorch-lightning-0.0.2.tar.gz
Collecting test-tube (from pytorch-lightning)
  Using cached https://files.pythonhosted.org/packages/3a/50/47ea5613be804c8e6e0
b01b1719e1f8186b8bc626441002b141c8a962abb/test_tube-0.631.tar.gz
Collecting torch (from pytorch-lightning)
  Using cached https://files.pythonhosted.org/packages/5f/e9/bac4204fe9cb1a002ec
6140b47f51affda1655379fe302a1caef421f9846/torch-0.1.2.post1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\cs\AppData\Local\Temp\pip-install-bufxsmuo\torch\setup.py",
 line 11, in <module>
        raise RuntimeError(README)
    RuntimeError: PyTorch does not currently provide packages for PyPI (see stat
us at https://github.com/pytorch/pytorch/issues/566).

    Please follow the instructions at http://pytorch.org/ to install with minico
nda instead.


    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\cs\AppDa
ta\Local\Temp\pip-install-bufxsmuo\torch\

C:\Users\cs>

So I went to the pytorch.org, and got the following set of commands to install pytorch on my system

pip3 install https://download.pytorch.org/whl/cpu/torch-1.0.1-cp37-cp37m-win_amd64.whl
pip3 install torchvision

The first command generated an error

C:\Users\cs>pip3 install https://download.pytorch.org/whl/cpu/torch-1.0.1-cp37-c
p37m-win_amd64.whl
torch-1.0.1-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.

C:\Users\cs>

Now the only option for me is install pytorch from source code. I was wonder if we can provide the pytorch-lighting as a docker image. We provide a template docker file for people to only provide the path for the test_python.py file. Is it a viable option?

My system: Windows 7, 32-bit, Python 3.7

@williamFalcon
Copy link
Contributor

Not sure about windows, this was built with linux or osx in mind. But if your docker container has linux on it, pip install should work fine. Beyond pip install, how would the docker image be useful?

luiscape pushed a commit to luiscape/pytorch-lightning that referenced this issue Jan 17, 2020
@ananthsub ananthsub mentioned this issue May 3, 2021
11 tasks
This was referenced Oct 25, 2021
abhilash1910 added a commit to abhilash1910/lightning that referenced this issue Jun 25, 2023
pujaltes pushed a commit to pujaltes/pytorch-lightning that referenced this issue Apr 9, 2024
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

update typos and bug fixes

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

xpu seeding PR1

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

add seeding for pytorch utilities

mp_fabric xpu forking

xpu multiprocess pytorch

add header for xpu

rename

change to lightning.pytorch

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Teardown from lightning-xpu (from #PR- 3)

From Lightning-AI#3

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

add torch.xpu.stream to ddp

update docs

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

update _LIGHTNING_XPU_AVAILABLE to _lightning_xpu_available

correct fabric imports.py

1. remove xpu.py from _graveyard
2. correct _lightning_xpu_available() usage

fix _try_import function not defined issue in fabric

add docs

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
pujaltes pushed a commit to pujaltes/pytorch-lightning that referenced this issue May 16, 2024
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

update typos and bug fixes

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

xpu seeding PR1

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

add seeding for pytorch utilities

mp_fabric xpu forking

xpu multiprocess pytorch

add header for xpu

rename

change to lightning.pytorch

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Teardown from lightning-xpu (from #PR- 3)

From Lightning-AI#3

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

add torch.xpu.stream to ddp

update docs

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

update _LIGHTNING_XPU_AVAILABLE to _lightning_xpu_available

correct fabric imports.py

1. remove xpu.py from _graveyard
2. correct _lightning_xpu_available() usage

fix _try_import function not defined issue in fabric

add docs

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

fix circle import issue

update pytorch trainer connector

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

correct usage in multiprocessing

Fix precision device

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

update warning format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants