Giter VIP home page Giter VIP logo

pytorch-armv7l's People

Contributors

kashu7100 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pytorch-armv7l's Issues

installed pytorch but cannot import

I get this error - any fixes?

import torch

File "/home/pi/.local/lib/python3.7/site-packages/torch/init.py", line 524, in
from .functional import *
File "/home/pi/.local/lib/python3.7/site-packages/torch/functional.py", line 6, in
import torch.nn.functional as F
File "/home/pi/.local/lib/python3.7/site-packages/torch/nn/init.py", line 1, in
from .modules import *
File "/home/pi/.local/lib/python3.7/site-packages/torch/nn/modules/init.py", line 2, in
from .linear import Identity, Linear, Bilinear
File "/home/pi/.local/lib/python3.7/site-packages/torch/nn/modules/linear.py", line 6, in
from .. import functional as F
File "/home/pi/.local/lib/python3.7/site-packages/torch/nn/functional.py", line 12, in
from .._jit_internal import boolean_dispatch, List, Optional, _overload, Tuple
File "/home/pi/.local/lib/python3.7/site-packages/torch/_jit_internal.py", line 27, in
from typing_extensions import Final
ModuleNotFoundError: No module named 'typing_extensions'

Python has not installation candidate

While trying to get the dependencies, I keep encountering this error.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package cython is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'cython' has no installation candidate

libpython3.7m.so.1.0 error when importing torch into python

I manually installed the torch wheel on my raspberry py, and everything seemed to work fine (after like a week of trying to install it without errors). When I imported the torch library into python (with the import torch command) i got the following error :

ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
I tried to look for the file in question but as th error says, it doesn't exist. Do you happen to know what this file is used for and how I could either get it back or make it work without ?

Error using pip install

Thanks very much for the repo,

I have tried to install torch whl and I get the following error:

pip3 install torch-1.7.0a0-cp37-cp37m-linux_armv7l.whl

Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 338, in run
    resolver.resolve(requirement_set)
  File "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 102, in resolve
    self._resolve_one(requirement_set, req)
  File "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 256, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 209, in _get_abstract_dist_for
    self.require_hashes
  File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 283, in prepare_linked_requirement
    progress_bar=self.progress_bar
  File "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 823, in unpack_url
    unpack_file_url(link, location, download_dir, hashes=hashes)
  File "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 728, in unpack_file_url
    unpack_file(from_path, location, content_type, link)
  File "/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py", line 600, in unpack_file
    flatten=not filename.endswith('.whl')
  File "/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py", line 485, in unzip_file
    zip = zipfile.ZipFile(zipfp, allowZip64=True)
  File "/usr/lib/python3.7/zipfile.py", line 1222, in __init__
    self._RealGetContents()
  File "/usr/lib/python3.7/zipfile.py", line 1289, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

Do you know how to solve this problem?

Thanks in advance!

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.